joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000cac3
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword fs:[0x2c]
push ebx
push esi
mov esi, dword [0x100139e8]
mov ebx, ecx
push edi
mov edi, edx
mov dword [ebp - 8], edi
mov esi, dword [eax + esi*4]
mov eax, dword [0x10013e80]
cmp eax, dword [esi + 4]
jg 0x1000cb78
lea eax, [ebx + edi]
cmp eax, ebx
ja 0x1000cb01
mov eax, 0x10dd
jmp 0x1000cb71
mov eax, dword [0x10013e7c]
cmp edi, eax
jbe 0x1000cb0f
push 0x32
pop eax
jmp 0x1000cb71
mov edi, dword [ebp + 8]
lea ecx, [ebp - 4]
and dword [ebp - 4], 0
lea esi, [eax - 1]
push ecx
not esi
push dword [edi]
and esi, ebx
push eax
push esi
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
jne 0x1000cb37
call dword [sym.imp.kernel32.dll_GetLastError]
jmp 0x1000cb71
mov ecx, dword [0x10013e7c]
mov eax, dword [ebp - 8]
dec ecx
mov edx, dword [ebp - 4]
dec eax
add eax, ebx
mov dword [edi], edx
not ecx
and ecx, eax
cmp ecx, esi
je 0x1000cb6c
lea eax, [ebp - 4]
push eax
push dword [edi + 4]
push dword [0x10013e7c]
push ecx
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
je 0x1000cb2f
mov edx, dword [ebp - 4]
mov dword [edi + 4], edx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
mov esi, 0x10013e80
push esi
call fcn.1000cd54
cmp dword [0x10013e80], 0xffffffff
pop ecx
jne 0x1000caf3
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x28]
push esi
mov dword [0x10013e7c], eax
call fcn.1000cd54
mov edi, dword [ebp - 8]
pop ecx
jmp 0x1000caf3

Function at 0x1000cd54
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x1000cd63
pop dword [ebp - 0x44]
mov eax, 0x32118808
add eax, 0xddef455b
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x38f13
push 0
mov eax, 0x9e2c31c2
add eax, 0x71d50ea2
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x687cfa50
sub ecx, 0x687cb295
xor ebx, ebx
add ebx, eax
mov edi, 0xc26f0daf
sub edi, 0xb26d87af
add edi, dword [ebp - 0x44]
mov edx, 0xfc5d6cb1
sub edx, 0xc74bd84a
add dword [ebp - 0x40], edx
mov esi, dword [edi]
xor dword [ebp - 0x1c], 0xfd382b7f
sub esi, edx
xor dword [ebp - 0x34], edx
mov dword [ebx], esi
xor dword [ebp - 0x28], 0x17fc6bfc
add ebx, 0x43286f7d
add ebx, 0xbcd79087
add edi, 0x44ff3955
sub edi, 0x44ff3951
loop 0x1000cdc4
add eax, 0x1460971b
sub eax, 0x145f855c
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x402f90
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x402ff2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret

Function at 0x403200
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
mov ebx, dword [esp + 0x214]
push ebp
mov ebp, dword [esp + 0x214]
push esi
push edi
push ebx
push 0
push 0
push ebp
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4032e9
lea eax, [esp + 0x10]
push eax
push 0x443514
push 0x80000000
call fcn.00402f90
add esp, 0xc
test eax, eax
jne 0x4032e9
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x10]
push str._shellopencommand
push ecx
call edi
lea edx, [esp + 0x10]
lea eax, [esp + 0x10]
push edx
push eax
push 0x80000000
call fcn.00402f90
add esp, 0xc
test eax, eax
jne 0x4032e9
lea ecx, [esp + 0x10]
push str.__1_
push ecx
call fcn.0041e228
mov esi, eax
add esp, 8
test esi, esi
jne 0x4032c3
lea edx, [esp + 0x10]
push 0x4434f4
push edx
call fcn.0041e228
mov esi, eax
add esp, 8
test esi, esi
jne 0x4032c3
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x4032c6
mov byte [esi], 0
push 0x4434f0
push esi
call edi
push ebp
push esi
call edi
lea ecx, [esp + 0x10]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x402a5c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404944
test esi, esi
jne 0x402a92
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404a34
jmp 0x402ab0
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402970
mov edi, eax
test esi, esi
je 0x402ab0
cmp dword [ebx], 0
je 0x402ab0
dec esi
jmp 0x402a99
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403260
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4ab008], 0x8088405
inc edx
mov dword [ebx + 0x4ab008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403a50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4ab010]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403ae8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403ac8
xor eax, eax
push ebp
push 0x403ac1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403b04
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403ac8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4ab010]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4ab010], ax
mov esp, ebp
pop ebp
ret

Function at 0x4047c8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ad048], 0
je 0x404829
cmp word [0x4ad21c], 0xd7b2
jne 0x4047f1
cmp dword [0x4ad224], 0
jbe 0x4047f1
mov eax, 0x4ad218
call dword [0x4ad234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4ab058
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404850
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4ab020], 0
jne 0x404845
push 0
push 0x4ab078
push 0x4ab058
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40bc70
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bca9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404a34
jmp 0x40bcb2
mov eax, ebx
mov edx, esi
call fcn.00404998
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bcbc
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bcdd
mov al, byte [esp]
jmp 0x40bcdf
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c364
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c1dc
mov eax, dword [0x4ac24c]
cmp byte [eax], 0
je 0x40c3cc
mov eax, dword [0x4ac034]
call fcn.00402ef4
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004093ac
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c414
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c402
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4abfcc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4ad714]
call fcn.00406080
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40d084
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d0e8
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404bac
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408dc0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d0ef
lea eax, [ebp - 0xc]
call fcn.00404944
ret
Function at 0x41f9b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4ada20
cmp dword [edi], 0
jne 0x41fa2c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4ada1c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4ab584
mov ecx, 2
call fcn.00402930
mov edx, 0x41f988
lea eax, [esi + 5]
call fcn.0041f9a8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041f9a8
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41fa01
mov dword [0x4ada1c], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x420c58
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x420c5e
ret

Function at 0x4235a4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4235f5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4235dc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4235cc
jmp 0x4235f5
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4235dd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4329cc
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x432918
call sub.user32.dll_EnumWindows
ret

Function at 0x432af0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x432b6d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0043253c
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x432b15
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00432194
cmp dword [ebp - 4], 0
je 0x432b57
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404df4
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432b74
lea eax, [ebp - 4]
call fcn.00404944
ret

Function at 0x435c04
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4adba8], 0
je 0x435d53
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4ac1e4]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x435d53
mov eax, dword [0x4adbac]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4adba8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x435d22
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4adba8]
call fcn.004165cc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x435d1a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x435d1a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x435d1a
mov eax, dword [ebp - 0x14]
call fcn.0043e71c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x435d1a
push ebp
call fcn.00435bc0
pop ecx
test al, al
jne 0x435d1a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x435cd6
mov eax, dword [ebp - 0x14]
call fcn.0043d2b0
dec eax
jle 0x435d1a
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403dd4
cmp byte [ebp - 1], 0
je 0x435d1a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x435d1a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4adbac]
call fcn.00435388
inc edi
dec ebx
jne 0x435c69
mov eax, dword [0x4adbac]
cmp dword [eax + 8], 0
jle 0x435d3a
mov eax, dword [0x4adbac]
call fcn.00435418
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x435d53
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00435a28
pop ecx
test al, al
jne 0x435d53
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43931c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x439368
mov eax, esi
call fcn.0044ed68
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x439368
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x439368
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x4394ac
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4393a8
cmp eax, 0x108
ja 0x4393a8
mov eax, esi
call fcn.0044ed68
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4394a3
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x4394ac
jmp 0x4394a3
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43948a
cmp eax, 0x20a
ja 0x43948a
test byte [esi + 0x50], 0x80
jne 0x4393da
sub eax, 0x203
je 0x4393d7
sub eax, 3
je 0x4393d7
sub eax, 3
jne 0x4393da
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4393ee
dec eax
je 0x439403
dec eax
je 0x439423
dec eax
je 0x439403
jmp 0x43942a
mov ecx, ebx
mov eax, dword [0x4ac1e4]
mov eax, dword [eax]
mov edx, esi
call fcn.0045842c
jmp 0x4394a3
cmp byte [esi + 0x5d], 1
jne 0x439419
mov eax, esi
mov si, 0xffed
call fcn.00403dd4
jmp 0x4394ac
or word [esi + 0x54], 1
jmp 0x4394a3
and word [esi + 0x54], 0xfffe
jmp 0x4394a3
mov eax, dword [0x4adb64]
cmp byte [eax + 0x20], 0
je 0x4394a3
mov eax, dword [0x4adb64]
cmp dword [eax + 0x1c], 0
je 0x4394a3
mov eax, dword [ebx]
mov edx, dword [0x4adb64]
cmp eax, dword [edx + 0x1c]
jne 0x4394a3
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0044ecac
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403dd4
jmp 0x4394ac
mov eax, dword [ebx]
cmp eax, 0xb00b
jne 0x4394a3
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00437c3c
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43c94c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x43c968
cmp dword [esi + 4], 0
je 0x43c995
test byte [ebx + 0x55], 1
jne 0x43c987
mov eax, ebx
call fcn.0043b5a4
test eax, eax
jne 0x43c987
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43caa5
mov edx, esi
mov eax, ebx
call fcn.0043c46c
jmp 0x43caa5
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43ca9e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043e71c
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00439250
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043c94c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043e71c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43caa5
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43fc68
Capabilities:
Check for time delay via gettickcount
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
mov esi, dword [0x4ac358]
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
xor eax, eax
push ebp
push 0x43fe2f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004380cc
add dword [ebp - 0xc], 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004392f4
mov eax, dword [esi]
call fcn.004554fc
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jge 0x43fcda
mov eax, dword [esi]
call fcn.004554fc
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.00455508
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
add edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x43fcfe
mov eax, dword [esi]
call fcn.00455508
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.004554f0
cmp eax, dword [ebp - 0x18]
jle 0x43fd14
mov eax, dword [esi]
call fcn.004554f0
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.004554e4
cmp eax, dword [ebp - 0xc]
jle 0x43fd2a
mov eax, dword [esi]
call fcn.004554e4
mov dword [ebp - 0xc], eax
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.0043e71c
push eax
call sub.user32.dll_SetWindowPos
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x214]
cmp eax, 0xfa
jbe 0x43fdf1
mov eax, ebx
call fcn.00404bfc
cmp eax, 0x64
jge 0x43fdf1
cmp dword [0x4ab9cc], 0
je 0x43fdf1
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call sub.user32.dll_SystemParametersInfoA
cmp dword [ebp - 8], 0
je 0x43fdf1
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call sub.user32.dll_SystemParametersInfoA
cmp dword [ebp - 8], 0
je 0x43fdb4
mov bl, 2
jmp 0x43fdcf
lea edx, [ebp - 0x20]
mov eax, dword [0x4adb64]
call fcn.00442e78
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x43fdcd
xor ebx, ebx
jmp 0x43fdcf
mov bl, 1
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x4abad4]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.0043e71c
push eax
call dword [0x4ab9cc]
push 4
mov eax, dword [ebp - 4]
call fcn.0043e71c
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x7c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43fe36
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x214], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 0
ret