joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b487
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00433967
xor ebx, ebx
cmp dword [0x45d724], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x43b55d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43b63d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x43b63d
push eax
call fcn.004338f9
mov dword [esp], 0x44bc18
push edi
mov dword [0x45d724], eax
call esi
push eax
call fcn.004338f9
mov dword [esp], 0x44bc04
push edi
mov dword [0x45d728], eax
call esi
push eax
call fcn.004338f9
mov dword [0x45d72c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00431c32
test eax, eax
pop ecx
pop ecx
je 0x43b52b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043413d
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x43b55d
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004338f9
cmp eax, ebx
pop ecx
mov dword [0x45d734], eax
je 0x43b55d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004338f9
pop ecx
mov dword [0x45d730], eax
mov eax, dword [0x45d730]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x43b5e2
cmp dword [0x45d734], ecx
je 0x43b5e2
push eax
call fcn.00433970
push dword [0x45d734]
mov esi, eax
call fcn.00433970
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x43b5e2
cmp edi, ebx
je 0x43b5e2
call esi
cmp eax, ebx
je 0x43b5af
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43b5af
test byte [ebp - 0x18], 1
jne 0x43b5e2
lea eax, [ebp - 0x10]
push eax
call fcn.00431c69
test eax, eax
pop ecx
je 0x43b5ca
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043413d
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x43b5d9
or dword [ebp + 0x10], 0x200000
jmp 0x43b61d
or dword [ebp + 0x10], 0x40000
jmp 0x43b61d
mov eax, dword [0x45d728]
cmp eax, dword [ebp - 8]
je 0x43b61d
push eax
call fcn.00433970
cmp eax, ebx
pop ecx
je 0x43b61d
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43b61d
mov eax, dword [0x45d72c]
cmp eax, dword [ebp - 8]
je 0x43b61d
push eax
call fcn.00433970
cmp eax, ebx
pop ecx
je 0x43b61d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45d724]
call fcn.00433970
cmp eax, ebx
pop ecx
je 0x43b63d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43b63f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x443114
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x459668]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004430a9
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0042f0f0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x443163
cmp dword [ebp - 0x1c], 5
jb 0x44317b
jmp 0x443177
cmp dword [ebp - 0x10], 1
jne 0x44317b
cmp dword [ebp - 0x1c], 4
ja 0x443177
jne 0x44317b
cmp dword [ebp - 0x18], 0
jbe 0x44317b
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x44d5f8
call fcn.00442f7d
test eax, eax
jge 0x44319c
mov byte [0x45d9e8], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042e4db
add ebp, 0x78
leave
ret
Function at 0x402c50
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x402c8d
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.KERNEL32.DLL_GetCurrentDirectoryA
push esp
call sub.KERNEL32.DLL_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.KERNEL32.DLL_GetCurrentDirectoryA
test bl, bl
je 0x402cad
lea eax, [esp + 0x109]
push eax
call sub.KERNEL32.DLL_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.004046f4
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402e8c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404484
test esi, esi
jne 0x402ec3
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA_1
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404574
jmp 0x402ee4
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402d28
mov dword [esp], eax
test esi, esi
je 0x402ee4
cmp dword [ebx], 0
je 0x402ee4
dec esi
jmp 0x402ecb
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x40356c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x45d020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403604
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4035e4
xor eax, eax
push ebp
push 0x4035dd
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 0x403620
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4035e4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov ax, word [0x45d020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x45d020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404300
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45f048], 0
je 0x404361
cmp word [0x45f21c], 0xd7b2
jne 0x404329
cmp dword [0x45f224], 0
jbe 0x404329
mov eax, 0x45f218
call dword [0x45f234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45d06c
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 0x404388
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
pop edx
ret
cmp byte [0x45d030], 0
jne 0x40437d
push 0
push 0x45d064
push 0x45d06c
push 0
call sub.user32.dll_MessageBoxA_1
pop edx
ret
Function at 0x406120
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406186
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA_1
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004046f4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403130
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406170
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40618d
lea eax, [ebp - 0x10]
call fcn.00404484
ret

Function at 0x40b4e8
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
test eax, eax
jle 0x40b521
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404574
jmp 0x40b52a
mov eax, ebx
mov edx, esi
call fcn.004044d8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b534
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
test eax, eax
jle 0x40b555
mov al, byte [esp]
jmp 0x40b557
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c50c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c5e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040451c
lea eax, [ebp - 8]
call fcn.00404994
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404944
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c5cc
mov eax, ebx
call fcn.00402a50
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c5c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404944
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c5af
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c5f4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c5af
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c5cc
mov eax, dword [ebp - 0x10]
call fcn.00402a80
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c5e9
lea eax, [ebp - 8]
call fcn.00404484
ret
Function at 0x40cbc0
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 0x40cc24
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
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004046f4
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.00408774
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cc2b
lea eax, [ebp - 0xc]
call fcn.00404484
ret

Function at 0x41ae64
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45f884
cmp dword [edi], 0
jne 0x41aee0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x45f880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45d3ec
mov ecx, 2
call fcn.00402ce8
mov edx, 0x41ae3c
lea eax, [esi + 5]
call fcn.0041ae5c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041ae5c
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 0x41aeb5
mov dword [0x45f880], 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 0x41c46c
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 0x41c472
ret

Function at 0x41e970
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 0x41e9c1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41e9a8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41e998
jmp 0x41e9c1
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 0x41e9a9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a5d4
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42a73d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.0040451c
mov eax, dword [ebp - 0x10]
call fcn.0042a33c
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x42a626
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.004049e4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0042a9ac
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x42a6fb
xor eax, eax
push ebp
push 0x42a6f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0042a4ac
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0042a74c
test al, al
je 0x42a6d2
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404574
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x42a6d2
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404944
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x42a6cc
mov eax, dword [ebp - 0x14]
call fcn.00404944
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040467c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0042a5d4
dec ebx
cmp ebx, 0xffffffff
jne 0x42a685
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a6fb
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0042a4ac
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 0x10]
call fcn.00404944
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0042a498
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a744
lea eax, [ebp - 0x3c]
call fcn.00404484
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004044a8
ret

Function at 0x42a74c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00403110
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x45e2a0]
cmp byte [edx + 0xc], 0
je 0x42a7b0
mov edx, dword [0x45e294]
cmp dword [edx], 2
jne 0x42a7b0
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x42a8d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0042a350
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404944
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x42a92e
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x45e0b0]
mov dl, 1
mov eax, dword [0x42a248]
call fcn.0040bdac
call fcn.00403e98
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42a938
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404944
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x42a990
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x45e2ac]
mov dl, 1
mov eax, dword [0x42a248]
call fcn.0040bdac
call fcn.00403e98
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042a380
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x434e7c
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 0x434dc8
call sub.user32.dll_EnumWindows
ret

Function at 0x434f9c
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 0x435019
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004349fc
call sub.KERNEL32.DLL_GetTickCount
mov ebx, eax
push 0
call sub.KERNEL32.DLL_Sleep_1
call sub.KERNEL32.DLL_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x434fc1
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004345fc
cmp dword [ebp - 4], 0
je 0x435003
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404944
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 0x435020
lea eax, [ebp - 4]
call fcn.00404484
ret
Function at 0x437fe4
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 [0x45fb5c], 0
je 0x438133
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45e12c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x438133
mov eax, dword [0x45fb60]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45fb5c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x438102
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x45fb5c]
call fcn.004143dc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4380fa
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4380fa
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4380fa
mov eax, dword [ebp - 0x14]
call fcn.00440c7c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4380fa
push ebp
call fcn.00437fa0
pop ecx
test al, al
jne 0x4380fa
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x4380b6
mov eax, dword [ebp - 0x14]
call fcn.0043f7ac
dec eax
jle 0x4380fa
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.00403900
cmp byte [ebp - 1], 0
je 0x4380fa
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4380fa
mov edx, dword [ebp - 0x14]
mov eax, dword [0x45fb60]
call fcn.0043776c
inc edi
dec ebx
jne 0x438049
mov eax, dword [0x45fb60]
cmp dword [eax + 8], 0
jle 0x43811a
mov eax, dword [0x45fb60]
call fcn.004377fc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x438133
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00437e08
pop ecx
test al, al
jne 0x438133
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 0x43b714
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 0x43b760
mov eax, esi
call fcn.00450f9c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43b760
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43b760
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 0x43b89f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43b7a0
cmp eax, 0x108
ja 0x43b7a0
mov eax, esi
call fcn.00450f9c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43b896
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x43b89f
jmp 0x43b896
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43b87f
cmp eax, 0x20a
ja 0x43b87f
test byte [esi + 0x50], 0x80
jne 0x43b7d2
sub eax, 0x203
je 0x43b7cf
sub eax, 3
je 0x43b7cf
sub eax, 3
jne 0x43b7d2
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43b7e6
dec eax
je 0x43b7fb
dec eax
je 0x43b818
dec eax
je 0x43b7fb
jmp 0x43b81f
mov ecx, ebx
mov eax, dword [0x45e12c]
mov eax, dword [eax]
mov edx, esi
call fcn.0045a8f4
jmp 0x43b896
cmp byte [esi + 0x5d], 1
jne 0x43b811
mov eax, esi
mov si, 0xffed
call fcn.00403900
jmp 0x43b89f
or word [esi + 0x54], 1
jmp 0x43b896
and word [esi + 0x54], 0xfffe
jmp 0x43b896
mov eax, dword [0x45fb18]
cmp byte [eax + 0x20], 0
je 0x43b896
mov eax, dword [0x45fb18]
cmp dword [eax + 0x1c], 0
je 0x43b896
mov eax, dword [ebx]
mov edx, dword [0x45fb18]
cmp eax, dword [edx + 0x1c]
jne 0x43b896
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.00450ee0
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.00403900
jmp 0x43b89f
cmp eax, 0xb00b
jne 0x43b896
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043a034
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 0x43ee0c
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 0x43ee28
cmp dword [esi + 4], 0
je 0x43ee55
test byte [ebx + 0x55], 1
jne 0x43ee47
mov eax, ebx
call fcn.0043d9ac
test eax, eax
jne 0x43ee47
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43ef65
mov edx, esi
mov eax, ebx
call fcn.0043e930
jmp 0x43ef65
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 0x43ef5e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00440c7c
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.0043b648
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043ee0c
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.00440c7c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ef65
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