joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e4d2
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x487070], 0
push esi
push edi
jne 0x44e448
call fcn.0044e3b4
test eax, eax
je 0x44e48d
mov eax, dword [0x487070]
cmp eax, 1
jne 0x44e469
push 0xd
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
test eax, eax
je 0x44e48d
jmp 0x44e4cf
mov edi, dword [sym.imp.KERNEL32.DLL_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x44e4cf
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x44e491
xor eax, eax
jmp 0x44e4cf
mov eax, dword [esi]
push dword [0x487070]
call edi
mov edi, eax
test edi, edi
je 0x44e4b3
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
mov eax, edi
jmp 0x44e4cf
lea edi, [esi + 0xff0]
push esi
push dword [0x487070]
call dword [sym.imp.KERNEL32.DLL_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x44e4b9
mov eax, esi
pop edi
pop esi
ret
jmp 0x44e434

Function at 0x4505c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
xor ecx, ecx
cmp eax, edx
je 0x4505ef
push esi
push edi
mov esi, ecx
mov edi, ecx
shl esi, 6
shr edi, 2
add esi, edi
movsx edi, byte [eax]
lea esi, [esi + edi - 0x61c88647]
inc eax
xor ecx, esi
cmp eax, edx
jne 0x4505d0
pop edi
pop esi
mov eax, 0x4e25
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add edx, eax
shr edx, 0x1e
imul edx, edx, 0x7fffd8ee
mov eax, ecx
sub eax, edx
add eax, 0x2710
ret
Function at 0x454720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x468c18
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x483e68]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x483e68]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, dword [esp + 0x44]
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [eax + 0x140]
sub ecx, dword [eax + 0x13c]
cmp dword [esi + 0x78], ecx
jne 0x4547fd
mov edx, dword [esi + 0x84]
sub edx, dword [esi + 0x80]
test edx, 0xfffffffc
je 0x4547fd
mov ecx, dword [esi + 0x84]
cmp dword [ecx - 4], edi
jle 0x4547fd
mov eax, dword [eax + 0x18]
test al, 3
jne 0x45479b
test eax, 0x1000000
je 0x4547fd
push str.Cant_terminate_a_sub_expression_with_an_alternation_operator_.
lea ecx, [esp + 0x18]
call fcn.00402446
mov edi, dword [esi + 0x64]
sub edi, dword [esi + 0x5c]
xor eax, eax
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0xf
push eax
mov dword [esp + 0x64], eax
mov byte [ecx], al
lea eax, [esp + 0x3c]
push eax
call fcn.00401e9d
push edi
push 0x11
mov ecx, esi
call fcn.00453ac0
cmp dword [esp + 0x28], 0x10
jb 0x4547f6
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004350a6
add esp, 4
xor al, al
jmp 0x45487e
mov edx, dword [esi + 0x84]
sub edx, dword [esi + 0x80]
test edx, 0xfffffffc
je 0x45487c
mov eax, dword [esi + 0x84]
cmp dword [eax - 4], edi
jle 0x45487c
mov edx, dword [eax - 4]
cmp dword [esi + 0x80], eax
je 0x454830
add eax, 0xfffffffc
mov dword [esi + 0x84], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x13c]
mov ebx, dword [eax + 0x140]
sub ebx, ecx
add ebx, 3
and ebx, 0xfffffffc
add ebx, ecx
mov dword [eax + 0x140], ebx
mov eax, dword [esi]
mov ecx, dword [eax + 0x140]
sub ecx, dword [eax + 0x13c]
mov eax, dword [eax + 0x13c]
sub ecx, edx
mov dword [eax + edx + 8], ecx
mov ecx, dword [esi + 0x84]
sub ecx, dword [esi + 0x80]
test ecx, 0xfffffffc
jne 0x454811
mov al, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00435805
add esp, 0x30
ret 4
Function at 0x463bb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xf0
mov eax, 0x46bb7c
mov dword [esp], eax
mov dword [esp + 4], 0x46e710
mov dword [esp + 8], 0x46e70c
mov dword [esp + 0xc], 0x474fd8
mov dword [esp + 0x10], 0x47396c
mov dword [esp + 0x14], 0x46cd40
mov dword [esp + 0x18], 0x46e74c
mov dword [esp + 0x1c], str.Y__A95___j:8yu43IFDH
mov dword [esp + 0x20], 0x474fd4
mov dword [esp + 0x24], 0x474fd0
mov dword [esp + 0x28], 0x474fcc
mov dword [esp + 0x2c], 0x473968
mov dword [esp + 0x30], 0x46cd68
mov dword [esp + 0x34], str.gifno.etsacp_mr_
mov dword [esp + 0x38], 0x47398c
mov dword [esp + 0x3c], 0x46e704
mov dword [esp + 0x40], str.____
mov dword [esp + 0x44], str.0123456789
mov dword [esp + 0x48], 0x474ce4
mov dword [esp + 0x4c], 0x474d90
mov dword [esp + 0x50], 0x46bcb0
mov dword [esp + 0x54], 0x46b964
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x474fb8
mov dword [esp + 0x64], 0x474fb4
mov dword [esp + 0x68], 0x46bb80
mov dword [esp + 0x6c], 0x46e724
mov dword [esp + 0x70], 0x46cd50
mov dword [esp + 0x74], 0x46cd34
mov dword [esp + 0x78], 0x46cd38
mov dword [esp + 0x7c], 0x46cd64
mov dword [esp + 0x80], 0x46cd48
mov dword [esp + 0x84], 0x474cd0
mov dword [esp + 0x88], 0x474ccc
mov dword [esp + 0x8c], 0x46cd54
mov dword [esp + 0x90], 0x46e734
mov dword [esp + 0x94], 0x471380
mov dword [esp + 0x98], 0x46cd44
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 0x474d8c
mov dword [esp + 0xc0], 0x474d68
mov dword [esp + 0xc4], 0x474d4c
mov dword [esp + 0xc8], 0x471384
mov dword [esp + 0xcc], str.ZXWVUTSRQPONMLKJGEB
mov dword [esp + 0xd0], 0x474d88
mov dword [esp + 0xd4], 0x46e72c
mov dword [esp + 0xd8], 0x46cd58
mov dword [esp + 0xdc], 0x474d6c
mov dword [esp + 0xe0], 0x474d74
mov dword [esp + 0xe4], 0x474fb0
mov dword [esp + 0xe8], 0x474d80
mov dword [esp + 0xec], 0x474d64
cmp cl, 0x3c
jae 0x463dcd
movzx eax, cl
mov eax, dword [esp + eax*4]
add esp, 0xf0
ret
Function at 0x40624e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x43ea44], esi
push edi
jne 0x406288
mov ecx, 0x43ea40
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x406264
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x43ee40
jl 0x40625f
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x4062bd
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x43ea40]
xor eax, esi
inc ecx
dec edx
jne 0x4062a0
pop edi
pop esi
not eax
ret 0xc

Function at 0x40568b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x401000
call 0x40568b
lcall 0x5de5, 0x8b10c483
jmp fcn.008096bc
Function at 0x401070
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
lea ecx, [esp]
push ecx
push 0x4010a0
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 4]
add esp, 8
ret
Function at 0x401670
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov ecx, dword [ebp + 8]
mov ax, word [ecx + 4]
cmp ax, word [ebp - 0x18]
je 0x4016b1
mov dx, word [ecx + 6]
cmp dx, word [ebp - 0x16]
je 0x4016b1
xor eax, eax
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx esi, word [ebp - 0x1a]
mov word [ebp + 8], ax
mov ax, word [ecx + 6]
movsx ecx, word [ebp - 0x1c]
imul esi, ecx
mov word [ebp + 0xa], ax
mov eax, esi
add eax, 3
and al, 0xfc
call fcn.004018b0
mov eax, dword [ebp + 8]
lea edx, [ebp - 4]
mov edi, esp
push edx
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
mov ecx, dword [ebp - 4]
mov eax, edi
add ecx, edi
cmp edi, ecx
jae 0x4016fc
cmp byte [eax], 0x20
jne 0x4016a5
inc eax
cmp eax, ecx
jb 0x4016f2
lea esp, [ebp - 0x28]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402fb0
Capabilities:
Query or enumerate registry value

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

Function at 0x403cf4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x456048], 0
je 0x403d55
cmp word [0x45621c], 0xd7b2
jne 0x403d1d
cmp dword [0x456224], 0
jbe 0x403d1d
mov eax, 0x456218
call dword [0x456234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45406c
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 0x403d7c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x454030], 0
jne 0x403d71
push 0
push 0x454064
push 0x45406c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405a44
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 0x405aaa
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.004040e0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b74
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405a94
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405ab1
lea eax, [ebp - 0x10]
call fcn.00403e70
ret

Function at 0x4083a4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404330
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4083bd
test al, 0x10
jne 0x4083c1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40afa8
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 0x40afe1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f60
jmp 0x40afea
mov eax, ebx
mov edx, esi
call fcn.00403ec4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b69c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b514
mov eax, dword [0x4550c0]
cmp byte [eax], 0
je 0x40b718
mov eax, dword [0x454edc]
call fcn.004029a4
call fcn.00402824
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.0040875c
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 0x40b760
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b74e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x454e8c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x456664]
call fcn.00404f58
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 0x40bfb4
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 0x40c08a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403f08
lea eax, [ebp - 8]
call fcn.00404380
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404330
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c074
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c06d
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.00404330
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c057
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c09c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c057
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 0x40c074
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c091
lea eax, [ebp - 8]
call fcn.00403e70
ret

Function at 0x40c574
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 0x40c5d8
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.004040e0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408024
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c5df
lea eax, [ebp - 0xc]
call fcn.00403e70
ret

Function at 0x41a898
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x456884
cmp dword [edi], 0
jne 0x41a914
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x456880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4543ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x41a870
lea eax, [esi + 5]
call fcn.0041a890
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a890
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 0x41a8e9
mov dword [0x456880], 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 0x41bb30
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 0x41bb36
ret
Function at 0x42b11c
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 0x42b068
call sub.user32.dll_EnumWindows
ret

Function at 0x42b23c
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 0x42b2b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042ac9c
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 0x42b261
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042a89c
cmp dword [ebp - 4], 0
je 0x42b2a3
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404330
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 0x42b2c0
lea eax, [ebp - 4]
call fcn.00403e70
ret

Function at 0x42e150
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 [0x456b54], 0
je 0x42e29f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45505c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42e29f
mov eax, dword [0x456b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x456b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42e26e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x456b54]
call fcn.00413e2c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42e266
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42e266
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42e266
mov eax, dword [ebp - 0x14]
call fcn.00436da8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42e266
push ebp
call fcn.0042e10c
pop ecx
test al, al
jne 0x42e266
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42e222
mov eax, dword [ebp - 0x14]
call fcn.004358d8
dec eax
jle 0x42e266
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.00403334
cmp byte [ebp - 1], 0
je 0x42e266
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42e266
mov edx, dword [ebp - 0x14]
mov eax, dword [0x456b58]
call fcn.0042d8d8
inc edi
dec ebx
jne 0x42e1b5
mov eax, dword [0x456b58]
cmp dword [eax + 8], 0
jle 0x42e286
mov eax, dword [0x456b58]
call fcn.0042d968
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42e29f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042df74
pop ecx
test al, al
jne 0x42e29f
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 0x431880
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 0x4318cc
mov eax, esi
call fcn.00447084
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4318cc
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x4318cc
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 0x431a0b
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43190c
cmp eax, 0x108
ja 0x43190c
mov eax, esi
call fcn.00447084
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x431a02
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x431a0b
jmp 0x431a02
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4319eb
cmp eax, 0x20a
ja 0x4319eb
test byte [esi + 0x50], 0x80
jne 0x43193e
sub eax, 0x203
je 0x43193b
sub eax, 3
je 0x43193b
sub eax, 3
jne 0x43193e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x431952
dec eax
je 0x431967
dec eax
je 0x431984
dec eax
je 0x431967
jmp 0x43198b
mov ecx, ebx
mov eax, dword [0x45505c]
mov eax, dword [eax]
mov edx, esi
call fcn.00450848
jmp 0x431a02
cmp byte [esi + 0x5d], 1
jne 0x43197d
mov eax, esi
mov si, 0xffed
call fcn.00403334
jmp 0x431a0b
or word [esi + 0x54], 1
jmp 0x431a02
and word [esi + 0x54], 0xfffe
jmp 0x431a02
mov eax, dword [0x456b10]
cmp byte [eax + 0x20], 0
je 0x431a02
mov eax, dword [0x456b10]
cmp dword [eax + 0x1c], 0
je 0x431a02
mov eax, dword [ebx]
mov edx, dword [0x456b10]
cmp eax, dword [edx + 0x1c]
jne 0x431a02
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.00446fc8
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.00403334
jmp 0x431a0b
cmp eax, 0xb00b
jne 0x431a02
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004301a0
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 0x434f38
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 0x434f54
cmp dword [esi + 4], 0
je 0x434f81
test byte [ebx + 0x55], 1
jne 0x434f73
mov eax, ebx
call fcn.00433ad8
test eax, eax
jne 0x434f73
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x435091
mov edx, esi
mov eax, ebx
call fcn.00434a5c
jmp 0x435091
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 0x43508a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00436da8
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.004317b4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00434f38
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.00436da8
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435091
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