joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411340
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x290
mov eax, dword [0x41d084]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
lea eax, [esp + 8]
push eax
push 8
mov ebx, ecx
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0x80000002
mov dword [esp + 0x24], 0x4f0053
mov dword [esp + 0x28], 0x540046
mov dword [esp + 0x2c], 0x410057
mov dword [esp + 0x30], 0x450052
mov dword [esp + 0x34], 0x4d005c
mov dword [esp + 0x38], 0x630069
mov dword [esp + 0x3c], 0x6f0072
mov dword [esp + 0x40], 0x6f0073
mov dword [esp + 0x44], 0x740066
mov dword [esp + 0x48], 0x57005c
mov dword [esp + 0x4c], 0x6e0069
mov dword [esp + 0x50], 0x6f0064
mov dword [esp + 0x54], 0x730077
mov dword [esp + 0x58], 0x4e0020
mov dword [esp + 0x5c], 0x5c0054
mov dword [esp + 0x60], 0x750043
mov dword [esp + 0x64], 0x720072
mov dword [esp + 0x68], 0x6e0065
mov dword [esp + 0x6c], 0x560074
mov dword [esp + 0x70], 0x720065
mov dword [esp + 0x74], 0x690073
mov dword [esp + 0x78], 0x6e006f
mov dword [esp + 0x7c], 0x4e005c
mov dword [esp + 0x80], 0x740065
mov dword [esp + 0x84], 0x6f0077
mov dword [esp + 0x88], 0x6b0072
mov dword [esp + 0x8c], 0x610043
mov dword [esp + 0x90], 0x640072
mov dword [esp + 0x94], 0x73
call fcn.004102e0
add esp, 0x14
test eax, eax
jne 0x41159e
mov ecx, dword [esp + 8]
push esi
xor esi, esi
push esi
push esi
push esi
push esi
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0xa8]
push eax
push esi
push ecx
mov dword [esp + 0x28], pe_nt_image_headers32
call fcn.004102a0
add esp, 0x20
test eax, eax
jne 0x411590
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
push 1
push 0
lea eax, [esp + 0xa0]
push eax
push ecx
call fcn.004102e0
add esp, 0x14
test eax, eax
jne 0x41155a
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xa0]
push eax
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
push edx
mov dword [esp + 0x20], 0x200
mov dword [esp + 0x2c], 0x650053
mov dword [esp + 0x30], 0x760072
mov dword [esp + 0x34], 0x630069
mov dword [esp + 0x38], 0x4e0065
mov dword [esp + 0x3c], 0x6d0061
mov dword [esp + 0x40], 0x65
call fcn.00410310
add esp, 0x18
test eax, eax
jne 0x41154d
lea ecx, [esp + 0x94]
mov dword [esp + 0x94], 0x5c005c
mov dword [esp + 0x98], 0x5c002e
call fcn.00411130
mov eax, dword [esp + 0x10]
push eax
call fcn.00410280
add esp, 4
mov eax, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0xa8]
push edx
add esi, 1
push esi
push eax
mov dword [esp + 0x28], pe_nt_image_headers32
call fcn.004102a0
add esp, 0x20
test eax, eax
je 0x4114a6
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00410280
add esp, 4
pop esi
mov ecx, dword [esp + 0x290]
pop ebx
xor ecx, esp
call fcn.0040905b
add esp, 0x290
ret
Function at 0x413aa0
Capabilities:
Encode data using xor

Disassembly:
mov dword [esp + 0x14], edi
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
mov esi, dword [edi + 0xf0]
lea esi, [esi + esi - 2]
lea esi, [edi + esi*8]
mov dword [esp + 0x18], esi
mov esi, eax
and esi, 0xff
mov esi, dword [ebp + esi*8]
movzx edi, bh
xor esi, dword [ebp + edi*8 + 3]
mov edi, ecx
shr edi, 0x10
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
mov edi, edx
shr edi, 0x18
xor esi, dword [ebp + edi*8 + 1]
mov dword [esp + 4], esi
mov esi, ebx
and esi, 0xff
shr ebx, 0x10
mov esi, dword [ebp + esi*8]
movzx edi, ch
xor esi, dword [ebp + edi*8 + 3]
mov edi, edx
shr edi, 0x10
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
mov edi, eax
shr edi, 0x18
xor esi, dword [ebp + edi*8 + 1]
mov dword [esp + 8], esi
mov esi, ecx
and esi, 0xff
shr ecx, 0x18
mov esi, dword [ebp + esi*8]
movzx edi, dh
xor esi, dword [ebp + edi*8 + 3]
mov edi, eax
shr edi, 0x10
and edx, 0xff
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
movzx edi, bh
xor esi, dword [ebp + edi*8 + 1]
mov edi, dword [esp + 0x14]
mov edx, dword [ebp + edx*8]
movzx eax, ah
xor edx, dword [ebp + eax*8 + 3]
mov eax, dword [esp + 4]
and ebx, 0xff
xor edx, dword [ebp + ebx*8 + 2]
mov ebx, dword [esp + 8]
xor edx, dword [ebp + ecx*8 + 1]
mov ecx, esi
add edi, 0x10
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
cmp edi, dword [esp + 0x18]
mov dword [esp + 0x14], edi
jb 0x413ac0
mov esi, eax
and esi, 0xff
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, bh
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, ecx
shr edi, 0x10
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
mov edi, edx
shr edi, 0x18
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov dword [esp + 4], esi
mov esi, ebx
and esi, 0xff
shr ebx, 0x10
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, ch
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, edx
shr edi, 0x10
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
mov edi, eax
shr edi, 0x18
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov dword [esp + 8], esi
mov esi, ecx
and esi, 0xff
shr ecx, 0x18
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, dh
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, eax
shr edi, 0x10
and edx, 0xff
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
movzx edi, bh
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov edi, dword [esp + 0x14]
and edx, 0xff
mov edx, dword [ebp + edx*8 + 2]
and edx, 0xff
movzx eax, ah
mov eax, dword [ebp + eax*8]
and eax, 0xff00
xor edx, eax
mov eax, dword [esp + 4]
and ebx, 0xff
mov ebx, dword [ebp + ebx*8]
and ebx, 0xff0000
xor edx, ebx
mov ebx, dword [esp + 8]
mov ecx, dword [ebp + ecx*8 + 2]
and ecx, 0xff000000
xor edx, ecx
mov ecx, esi
add edi, 0x10
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
ret
Function at 0x416030
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ecx, dword [esp + 0x1c]
cmp ecx, 0
je 0x4161ed
call fcn.00416046
Function at 0x4173c0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov ecx, esp
push 0x41423934
push 0x45364541
push 0x34384631
push 0x38414542
push 0x31353334
push 0x35304530
push 0x32433241
push 0x38343737
mov edx, esp
lea eax, [ebp - 0x10]
push eax
sub ecx, edx
push ecx
push edx
call fcn.004172e0
add esp, 0xc
push 0x40
push 0x36
lea eax, [ebp - 0x50]
push eax
call fcn.004172c0
add esp, 0xc
mov ecx, 0x10
dec ecx
mov al, byte [ecx + ebp - 0x10]
xor byte [ecx + ebp - 0x50], al
or ecx, ecx
jne 0x417417
push dword [ebp + 8]
push 0x40
lea eax, [ebp - 0x50]
push eax
call fcn.004172e0
add esp, 0xc
push 0x40
push 0x5c
lea eax, [ebp - 0x50]
push eax
call fcn.004172c0
add esp, 0xc
mov ecx, 0x10
dec ecx
mov al, byte [ecx + ebp - 0x10]
xor byte [ecx + ebp - 0x50], al
or ecx, ecx
jne 0x41744a
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
push 0x40
lea eax, [ebp - 0x50]
push eax
call fcn.004172e0
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x4029f4
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.00403ffc
test esi, esi
jne 0x402a2a
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.004040ec
jmp 0x402a48
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402908
mov edi, eax
test esi, esi
je 0x402a48
cmp dword [ebx], 0
je 0x402a48
dec esi
jmp 0x402a31
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4030b8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x45c020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403150
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403130
xor eax, eax
push ebp
push 0x403129
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 0x40316c
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 0x403130
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x45c020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x45c020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403dfc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45e048], 0
je 0x403e5d
cmp word [0x45e21c], 0xd7b2
jne 0x403e25
cmp dword [0x45e224], 0
jbe 0x403e25
mov eax, 0x45e218
call dword [0x45e234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45c06c
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 0x403e84
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45c030], 0
jne 0x403e79
push 0
push 0x45c064
push 0x45c06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403fb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004026cc
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x45e049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403f78
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405eb8
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 0x405f1e
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
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.0040426c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c7c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405f08
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405f25
lea eax, [ebp - 0x10]
call fcn.00403ffc
ret

Function at 0x40b09c
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 0x40b0d5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004040ec
jmp 0x40b0de
mov eax, ebx
mov edx, esi
call fcn.00404050
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b0e8
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 0x40b109
mov al, byte [esp]
jmp 0x40b10b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b790
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b608
mov eax, dword [0x45d7e0]
cmp byte [eax], 0
je 0x40b80c
mov eax, dword [0x45d504]
call fcn.00402ae8
call fcn.00402834
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040881c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
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 0x40b854
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b842
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x45d490]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45e664]
call fcn.004053cc
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 0x40c0a8
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 0x40c17e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404094
lea eax, [ebp - 8]
call fcn.0040450c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004044bc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c168
mov eax, ebx
call fcn.004026cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c161
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.004044bc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c14b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c190
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c14b
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 0x40c168
mov eax, dword [ebp - 0x10]
call fcn.004026ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c185
lea eax, [ebp - 8]
call fcn.00403ffc
ret

Function at 0x40c670
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 0x40c6d4
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.0040426c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408300
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c6db
lea eax, [ebp - 0xc]
call fcn.00403ffc
ret

Function at 0x41a6a8
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041a500
dec esi
jne 0x41a6ca
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41b80c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45e888
cmp dword [edi], 0
jne 0x41b888
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45e884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45c3ec
mov ecx, 2
call fcn.004028c8
mov edx, 0x41b7e4
lea eax, [esi + 5]
call fcn.0041b804
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041b804
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 0x41b85d
mov dword [0x45e884], 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 0x41ca9c
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 0x41caa2
ret

Function at 0x41eee4
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 0x41ef35
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41ef1c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41ef0c
jmp 0x41ef35
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 0x41ef1d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4284b8
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 0x428404
call sub.user32.dll_EnumWindows
ret

Function at 0x4285d8
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 0x428655
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00428038
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 0x4285fd
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00427c38
cmp dword [ebp - 4], 0
je 0x42863f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004044bc
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 0x42865c
lea eax, [ebp - 4]
call fcn.00403ffc
ret

Function at 0x42b2f8
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 [0x45eb58], 0
je 0x42b447
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45d750]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42b447
mov eax, dword [0x45eb5c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45eb58]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42b416
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x45eb58]
call fcn.0041412c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42b40e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42b40e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42b40e
mov eax, dword [ebp - 0x14]
call fcn.00433e5c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42b40e
push ebp
call fcn.0042b2b4
pop ecx
test al, al
jne 0x42b40e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42b3ca
mov eax, dword [ebp - 0x14]
call fcn.0043298c
dec eax
jle 0x42b40e
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.0040343c
cmp byte [ebp - 1], 0
je 0x42b40e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42b40e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x45eb5c]
call fcn.0042aa80
inc edi
dec ebx
jne 0x42b35d
mov eax, dword [0x45eb5c]
cmp dword [eax + 8], 0
jle 0x42b42e
mov eax, dword [0x45eb5c]
call fcn.0042ab10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42b447
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042b11c
pop ecx
test al, al
jne 0x42b447
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 0x42e9e0
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 0x42ea2c
mov eax, esi
call fcn.00443dfc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42ea2c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x42ea2c
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 0x42eb6b
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x42ea6c
cmp eax, 0x108
ja 0x42ea6c
mov eax, esi
call fcn.00443dfc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42eb62
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x42eb6b
jmp 0x42eb62
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x42eb4b
cmp eax, 0x20a
ja 0x42eb4b
test byte [esi + 0x50], 0x80
jne 0x42ea9e
sub eax, 0x203
je 0x42ea9b
sub eax, 3
je 0x42ea9b
sub eax, 3
jne 0x42ea9e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x42eab2
dec eax
je 0x42eac7
dec eax
je 0x42eae4
dec eax
je 0x42eac7
jmp 0x42eaeb
mov ecx, ebx
mov eax, dword [0x45d750]
mov eax, dword [eax]
mov edx, esi
call fcn.0044d5a8
jmp 0x42eb62
cmp byte [esi + 0x5d], 1
jne 0x42eadd
mov eax, esi
mov si, 0xffed
call fcn.0040343c
jmp 0x42eb6b
or word [esi + 0x54], 1
jmp 0x42eb62
and word [esi + 0x54], 0xfffe
jmp 0x42eb62
mov eax, dword [0x45eb14]
cmp byte [eax + 0x20], 0
je 0x42eb62
mov eax, dword [0x45eb14]
cmp dword [eax + 0x1c], 0
je 0x42eb62
mov eax, dword [ebx]
mov edx, dword [0x45eb14]
cmp eax, dword [edx + 0x1c]
jne 0x42eb62
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.00443d40
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.0040343c
jmp 0x42eb6b
cmp eax, 0xb00b
jne 0x42eb62
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042d348
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 0x431fec
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 0x432008
cmp dword [esi + 4], 0
je 0x432035
test byte [ebx + 0x55], 1
jne 0x432027
mov eax, ebx
call fcn.00430bf8
test eax, eax
jne 0x432027
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x432145
mov edx, esi
mov eax, ebx
call fcn.00431b10
jmp 0x432145
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 0x43213e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00433e5c
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.0042e914
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00431fec
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.00433e5c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432145
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