joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
jmp int.00401219
Function at 0x4091bb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x433bcc]
jne 0x4091c5
repz ret
jmp fcn.0041288c

Function at 0x412152
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x433bcc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00404ac2
and dword [ebp - 0x14], 0
cmp dword [0x4622a0], 0
mov dword [ebp - 0x18], eax
jne 0x412205
push 0x403320
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4122ad
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403314
push ebx
call edi
test eax, eax
je 0x4122ad
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403304
push ebx
mov dword [0x4622a0], eax
call edi
push eax
call esi
push 0x4032f0
push ebx
mov dword [0x4622a4], eax
call edi
push eax
call esi
push 0x4032d4
push ebx
mov dword [0x4622a8], eax
call edi
push eax
call esi
mov dword [0x4622b0], eax
test eax, eax
je 0x412205
push 0x4032bc
push ebx
call edi
push eax
call esi
mov dword [0x4622ac], eax
mov eax, dword [0x4622ac]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41225e
cmp dword [0x4622b0], ecx
je 0x41225e
push eax
call esi
push dword [0x4622b0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41225e
test ebx, ebx
je 0x41225e
call edi
test eax, eax
je 0x412255
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x412255
test byte [ebp - 8], 1
jne 0x41225e
or dword [ebp + 0x10], 0x200000
jmp 0x412291
mov eax, dword [0x4622a4]
cmp eax, dword [ebp - 0x18]
je 0x412291
push eax
call esi
test eax, eax
je 0x412291
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x412291
mov eax, dword [0x4622a8]
cmp eax, dword [ebp - 0x18]
je 0x412291
push eax
call esi
test eax, eax
je 0x412291
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4622a0]
call esi
test eax, eax
je 0x4122ad
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4122af
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004091bb
leave
ret

Function at 0x414610
Capabilities:
Delete file
Get uefi variable

Disassembly:
sub esp, 0x818
cmp dword [0x4dda0c], 0x37
jne 0x414676
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableW]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0xc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
push 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
lea eax, [esp + 0x41c]
push eax
push 0x4033fc
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
mov ecx, dword [0x4dde20]
mov eax, dword [0x4dd4f0]
mov dl, byte [ecx + esi + 0x38d6]
mov byte [eax + esi], dl
add esp, 0x818
ret
Function at 0x414bc0
Capabilities:
Set current directory

Disassembly:
mov eax, dword [0x4dda0c]
sub esp, 0x830
cmp eax, 0x422
jne 0x414c44
push 0
push 0
push 0
call fcn.00403d1e
push 0x403440
push 0
call fcn.00403d1e
push 0
call fcn.00403ce3
push 0
call fcn.004038f7
push 0
call fcn.00403ce3
push 0x40344c
push 0x403450
push 0x4625e8
call fcn.00403d1e
push 0
push 0
push 0
push 0
push 0
call fcn.00403702
add esp, 0x40
push 0
push 0
push 0
push 0
call fcn.00403857
push 0
push 0
push 0
call fcn.00403c52
mov eax, dword [0x4dda0c]
add esp, 0x1c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
mov ebp, 0x2443831
nop
cmp eax, 0x47
jne 0x414c98
push 0x403458
call esi
push 0
lea eax, [esp + 0x44]
push eax
call edi
xor eax, eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call ebx
dec ebp
mov eax, dword [0x461948]
mov dword [0x4dda0c], eax
jne 0x414c60
mov esi, dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
mov edi, 0x79a863
cmp eax, 0x4c5
jne 0x414cc7
push 0
lea eax, [esp + 0x44]
push eax
push 0
call esi
mov eax, dword [0x4dda0c]
dec edi
jne 0x414cb0
mov ecx, dword [0x46193c]
mov dword [0x4dde20], ecx
call fcn.004148c0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x830
ret 0x10
Function at 0x402dfc
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
sub eax, eax
mov dword [ebp - 8], eax
sub eax, eax
push ebp
push 0x402e55
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00402c98
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402c98
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x402e3f
inc ebx
jmp 0x402e28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402e5c
lea eax, [ebp - 8]
call fcn.00404464
ret

Function at 0x402e64
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
push edx
pop ebx
push eax
pop esi
mov eax, ebx
call fcn.00404464
or esi, esi
jne 0x402e9b
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
push eax
pop ecx
lea edx, [esp + 4]
push ebx
pop eax
call fcn.00404554
jmp 0x402ebc
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
push ebx
pop edx
mov eax, dword [esp]
call fcn.00402c98
mov dword [esp], eax
test esi, esi
je 0x402ebc
cmp dword [ebx], 0
je 0x402ebc
dec esi
jmp 0x402ea3
add esp, 0x10c
pop esi
pop ebx
ret

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

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

Function at 0x403564
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x450024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4035fc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
or eax, eax
jne 0x4035dc
sub eax, eax
push ebp
push 0x4035d5
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 0x403618
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
sub eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4035dc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x450024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x450024], ax
mov esp, ebp
pop ebp
ret

Function at 0x4042e0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x452044], 0
je 0x404341
cmp word [0x452218], 0xd7b2
jne 0x404309
cmp dword [0x452220], 0
jbe 0x404309
mov eax, 0x452214
call dword [0x452230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x450070
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 0x404368
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x450034], 0
jne 0x40435d
push 0
push 0x450068
push 0x450070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406104
Capabilities:
Get geographical location

Disassembly:
push ebp
push esp
pop ebp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x40616a
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]
pushal
popal
push 7
pop ecx
call fcn.004046d4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403128
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406154
sub ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406171
lea eax, [ebp - 0x10]
call fcn.00404464
ret

Function at 0x40b0ac
Capabilities:
Get geographical location

Disassembly:
push ebp
push esp
pop ebp
add esp, 0xffffff00
push ebx
push esi
push ecx
pop esi
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
or eax, eax
jle 0x40b0e5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
push ebx
pop eax
call fcn.00404554
jmp 0x40b0ee
push ebx
pop eax
mov edx, esi
call fcn.004044b8
pop esi
pop ebx
push ebp
pop esp
pop ebp
ret 4

Function at 0x40b0f8
Capabilities:
Get geographical location

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

Function at 0x40b7b0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b618
mov eax, dword [0x450fd0]
cmp byte [eax], 0
je 0x40b82c
mov eax, dword [0x450e10]
call fcn.00402f78
call fcn.00402bc4
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.0040889c
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 0x40b874
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b862
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x450dc4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x452660]
call fcn.00405570
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 0x40c0d0
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
sub eax, eax
push ebp
push 0x40c1a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004044fc
lea eax, [ebp - 8]
call fcn.00404974
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404924
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
or ebx, ebx
je 0x40c190
push ebx
pop eax
call fcn.00402a38
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c189
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.00404924
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c173
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c1b8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c173
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 0x40c190
mov eax, dword [ebp - 0x10]
call fcn.00402a68
ret
sub eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c1ad
lea eax, [ebp - 8]
call fcn.00404464
ret

Function at 0x40c680
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
sub edx, edx
push ebp
push 0x40c6e4
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]
push ebx
pop ebx
push 7
pop ecx
call fcn.004046d4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
push eax
pop edx
pop eax
call fcn.00408418
push eax
pop ebx
sub eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c6eb
lea eax, [ebp - 0xc]
call fcn.00404464
ret
Function at 0x41a998
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x452880
cmp dword [esi], 0
jne 0x41aa3e
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x45287c]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x4503ec
nop
push 2
nop
pop ecx
call fcn.00402c58
mov edx, 0x41a970
mov eax, dword [ebp - 8]
add eax, 5
call fcn.0041a990
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.0041a990
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x41aa05
mov eax, dword [ebp - 8]
mov dword [0x45287c], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41bc14
Capabilities:
Encode data using xor

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

Function at 0x41e08c
Capabilities:
Get system information on windows

Disassembly:
push ebp
push esp
pop ebp
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 0x41e0dd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41e0c4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41e0b4
jmp 0x41e0dd
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 0x41e0c5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4271c4
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 0x427110
call sub.user32.dll_EnumWindows
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push eax
pop esi
xor eax, eax
push ebp
push 0x427361
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00426d44
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jbe 0x427309
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00426944
cmp dword [ebp - 4], 0
je 0x42734b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404924
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
sub eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427368
lea eax, [ebp - 4]
call fcn.00404464
ret
Function at 0x42a00c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
push esp
pop ebp
add esp, 0xffffffd8
push ebx
push esi
push edi
push eax
pop esi
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 [0x452ae4], 0
je 0x42a15b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x450f74]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42a15b
mov eax, dword [0x452ae8]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x452ae4]
mov ebx, dword [eax + 8]
dec ebx
or ebx, ebx
jl 0x42a12a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x452ae4]
call fcn.00413e84
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42a122
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42a122
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42a122
mov eax, dword [ebp - 0x14]
call fcn.00432ba4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42a122
push ebp
call fcn.00429fc8
pop ecx
test al, al
jne 0x42a122
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42a0de
mov eax, dword [ebp - 0x14]
call fcn.004316d4
dec eax
jle 0x42a122
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.004038f8
cmp byte [ebp - 1], 0
je 0x42a122
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
or eax, eax
je 0x42a122
mov edx, dword [ebp - 0x14]
mov eax, dword [0x452ae8]
call fcn.00429794
inc edi
dec ebx
jne 0x42a071
mov eax, dword [0x452ae8]
cmp dword [eax + 8], 0
jle 0x42a142
mov eax, dword [0x452ae8]
call fcn.00429824
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42a15b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00429e30
pop ecx
test al, al
jne 0x42a15b
sub 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 0x42d714
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
push edx
pop ebx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x42d760
push esi
pop eax
call fcn.00442c50
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42d760
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x42d760
push ebx
pop ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
push esi
pop edx
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x42d89f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x42d7a0
cmp eax, 0x108
ja 0x42d7a0
mov eax, esi
call fcn.00442c50
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42d896
push ebx
pop ecx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x42d89f
jmp 0x42d896
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x42d87f
cmp eax, 0x20a
ja 0x42d87f
test byte [esi + 0x50], 0x80
jne 0x42d7d2
sub eax, 0x203
je 0x42d7cf
sub eax, 3
je 0x42d7cf
sub eax, 3
jne 0x42d7d2
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x42d7e6
dec eax
je 0x42d7fb
dec eax
je 0x42d818
dec eax
je 0x42d7fb
jmp 0x42d81f
push ebx
pop ecx
mov eax, dword [0x450f74]
mov eax, dword [eax]
mov edx, esi
call fcn.0044c3ac
jmp 0x42d896
cmp byte [esi + 0x5d], 1
jne 0x42d811
mov eax, esi
mov si, 0xffed
call fcn.004038f8
jmp 0x42d89f
or word [esi + 0x54], 1
jmp 0x42d896
and word [esi + 0x54], 0xfffe
jmp 0x42d896
mov eax, dword [0x452aa0]
cmp byte [eax + 0x20], 0
je 0x42d896
mov eax, dword [0x452aa0]
cmp dword [eax + 0x1c], 0
je 0x42d896
mov eax, dword [ebx]
mov edx, dword [0x452aa0]
cmp eax, dword [edx + 0x1c]
jne 0x42d896
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.00442b94
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.004038f8
jmp 0x42d89f
cmp eax, 0xb00b
jne 0x42d896
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
push eax
pop edx
mov eax, esi
call fcn.0042c070
mov edx, ebx
push esi
pop eax
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
push ebp
pop esp
pop ebp
ret
Function at 0x430d34
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
push edx
pop esi
push eax
pop ebx
cmp byte [ebx + 0x1f8], 0
je 0x430d50
cmp dword [esi + 4], 0
je 0x430d7d
test byte [ebx + 0x55], 1
jne 0x430d6f
push ebx
pop eax
call fcn.0042f940
or eax, eax
jne 0x430d6f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x430e8d
mov edx, esi
mov eax, ebx
call fcn.00430858
jmp 0x430e8d
push 0
call sub.user32.dll_GetDC
push eax
pop edi
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 0x430e86
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00432ba4
push eax
call sub.user32.dll_BeginPaint
push eax
pop edi
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
push 0x14
pop edx
nop
nop
mov eax, ebx
call fcn.0042d648
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
push esi
pop edx
push ebx
pop eax
call fcn.00430d34
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]
push ebx
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
push ebx
pop eax
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
push ebx
pop eax
call fcn.00432ba4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430e8d
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