joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403967
Capabilities:
Get common file path

Disassembly:
mov eax, 0x427cc4
call fcn.00427bc8
mov eax, 0x1428
call fcn.00410ef0
push ebx
push esi
xor esi, esi
cmp dword [0x4daca0], 0x5b1
push edi
jne 0x403a13
push esi
lea eax, [ebp - 0x434]
push eax
push esi
push 0x402f24
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLocalTime]
lea eax, [ebp - 0x34]
call fcn.00403c7b
mov dword [ebp - 4], esi
call fcn.0040481e
push 0x402f50
lea ecx, [ebp - 0x18]
call fcn.00403400
lea ecx, [ebp - 0x18]
call fcn.0040341c
lea ecx, [ebp - 0x18]
call fcn.00403462
lea ecx, [ebp - 0x18]
call fcn.0040347b
push esi
push esi
call fcn.00404d80
push esi
call fcn.00404d51
push esi
call fcn.00404d3a
push esi
call fcn.0040508d
add esp, 0x10
mov dword [esp], esi
call fcn.004035b4
fstp st(0)
push esi
call fcn.00404d3a
pop ecx
call fcn.00404e48
add dword [0x4daca0], 0x1134b
push dword [0x4daca0]
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x4d9bf0], eax
call fcn.004038b2
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, 0x206d47
jg 0x403a5c
inc edi
cmp edi, 0x4f6a4
jl 0x403a3c
mov eax, dword [0x4daca0]
xor ecx, ecx
cmp eax, esi
jbe 0x403a82
mov edx, dword [0x4daca4]
mov dl, byte [edx + ecx + 0x1134b]
mov edi, dword [0x4d9bf0]
mov byte [edi + ecx], dl
inc ecx
cmp ecx, eax
jb 0x403a67
xor edi, edi
lea ecx, [eax + edi]
cmp ecx, 0xe
jne 0x403ad1
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push esi
lea eax, [ebp - 0x434]
push eax
push esi
push 0x402f60
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push 0x402f78
push 0x402fac
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push esi
push esi
lea eax, [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
mov eax, dword [0x4daca0]
inc edi
cmp edi, 0x39621
jl 0x403a84
call fcn.004037a0
xor edi, edi
call ebx
cmp edi, 0x26
jne 0x403aed
call fcn.00403898
inc edi
cmp edi, 0x6753f
jl 0x403ae1
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push 0x7b
pop ebx
cmp dword [0x4daca0], 0x86
jne 0x403b48
push 0x402fbc
push 0x402ff8
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push esi
lea eax, [ebp - 0xc34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
push esi
lea eax, [ebp - 0x834]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp dword [0x4daca0], 0xf
jne 0x403b69
push esi
push esi
call edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
push 0x403040
push 0x403084
call edi
dec ebx
jne 0x403aff
push 0x4030bc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40578b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4297dc]
jne 0x405795
repz ret
jmp fcn.0040a57c
Function at 0x40e99b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00407c72
and dword [ebp - 4], 0
cmp dword [0x42b814], 0
mov ebx, eax
jne 0x40ea4c
push 0x402c6c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40eafd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402c60
push edi
call esi
test eax, eax
je 0x40eafd
push eax
call fcn.00407c00
mov dword [esp], 0x402c50
push edi
mov dword [0x42b814], eax
call esi
push eax
call fcn.00407c00
mov dword [esp], 0x402c3c
push edi
mov dword [0x42b818], eax
call esi
push eax
call fcn.00407c00
mov dword [esp], 0x402c20
push edi
mov dword [0x42b81c], eax
call esi
push eax
call fcn.00407c00
pop ecx
mov dword [0x42b824], eax
test eax, eax
je 0x40ea4c
push 0x402c08
push edi
call esi
push eax
call fcn.00407c00
pop ecx
mov dword [0x42b820], eax
mov eax, dword [0x42b820]
cmp eax, ebx
je 0x40eaa4
cmp dword [0x42b824], ebx
je 0x40eaa4
push eax
call fcn.00407c7b
push dword [0x42b824]
mov esi, eax
call fcn.00407c7b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40eaa4
test edi, edi
je 0x40eaa4
call esi
test eax, eax
je 0x40ea9b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40ea9b
test byte [ebp - 0xc], 1
jne 0x40eaa4
or dword [ebp + 0x10], 0x200000
jmp 0x40eadd
mov eax, dword [0x42b818]
cmp eax, ebx
je 0x40eadd
push eax
call fcn.00407c7b
pop ecx
test eax, eax
je 0x40eadd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40eadd
mov eax, dword [0x42b81c]
cmp eax, ebx
je 0x40eadd
push eax
call fcn.00407c7b
pop ecx
test eax, eax
je 0x40eadd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42b814]
call fcn.00407c7b
pop ecx
test eax, eax
je 0x40eafd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40eaff
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41ad50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x41ad72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ad79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ad68
mov eax, 1
add ebx, ebx
jne 0x41ad8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ad80
jne 0x41ad9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ad80
xor ecx, ecx
sub eax, 3
jb 0x41adb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ae22
mov ebp, eax
add ebx, ebx
jne 0x41adbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41adc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41adec
inc ecx
add ebx, ebx
jne 0x41add8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41adcd
jne 0x41ade9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41adcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ae0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41adfd
jmp 0x41ad6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ae0c
add edi, ecx
jmp 0x41ad6e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ae2a
cmp byte [edi], 5
jne 0x41ae2a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41ae2f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41aea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ae5c
mov ecx, edi
jns 0x41ae8b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a09c]
or eax, eax
je 0x41aea1
mov dword [ebx], eax
add ebx, 4
jmp 0x41ae79
call dword [esi + 0x1a098]
mov ebp, dword [esi + 0x1a0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41aedb
sub esp, 0xffffff80
jmp 0x404c20

Function at 0x433002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x403454
Capabilities:
Query or enumerate registry value

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

Function at 0x4041cc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46c048], 0
je 0x40422d
cmp word [0x46c21c], 0xd7b2
jne 0x4041f5
cmp dword [0x46c224], 0
jbe 0x4041f5
mov eax, 0x46c218
call dword [0x46c234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46a054
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 0x404254
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x46a01c], 0
jne 0x404249
push 0
push 0x46a074
push 0x46a054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404380
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.00402734
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x46c049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404348
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x409914
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 0x40994d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004044bc
jmp 0x409956
mov eax, ebx
mov edx, esi
call fcn.00404420
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40a008
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x409e80
mov eax, dword [0x46b07c]
cmp byte [eax], 0
je 0x40a070
mov eax, dword [0x46aebc]
call fcn.00402d28
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408b4c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40a0b8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40a0a6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46ae7c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x46c714]
call fcn.00405b38
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 0x40abd8
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 0x40ac3c
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.00404634
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408844
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ac43
lea eax, [ebp - 0xc]
call fcn.004043cc
ret

Function at 0x41bce4
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.0041bb58
dec esi
jne 0x41bd06
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41ce30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46ca24
cmp dword [edi], 0
jne 0x41ceac
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x46ca20]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x46a4d8
mov ecx, 2
call fcn.00402924
mov edx, 0x41ce08
lea eax, [esi + 5]
call fcn.0041ce28
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041ce28
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 0x41ce81
mov dword [0x46ca20], 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 0x41e348
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 0x41e34e
ret

Function at 0x4207c8
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 0x420819
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x420800
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4207f0
jmp 0x420819
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 0x420801
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f54c
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 0x42f498
call sub.user32.dll_EnumWindows
ret

Function at 0x42f670
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 0x42f6ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042f0bc
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 0x42f695
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042ed14
cmp dword [ebp - 4], 0
je 0x42f6d7
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040487c
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 0x42f6f4
lea eax, [ebp - 4]
call fcn.004043cc
ret

Function at 0x43248c
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 [0x46cbac], 0
je 0x4325db
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x46b018]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4325db
mov eax, dword [0x46cbb0]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x46cbac]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4325aa
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x46cbac]
call fcn.00413f4c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4325a2
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4325a2
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4325a2
mov eax, dword [ebp - 0x14]
call fcn.0043afdc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4325a2
push ebp
call fcn.00432448
pop ecx
test al, al
jne 0x4325a2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43255e
mov eax, dword [ebp - 0x14]
call fcn.00439b70
dec eax
jle 0x4325a2
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.004037d8
cmp byte [ebp - 1], 0
je 0x4325a2
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4325a2
mov edx, dword [ebp - 0x14]
mov eax, dword [0x46cbb0]
call fcn.00431c10
inc edi
dec ebx
jne 0x4324f1
mov eax, dword [0x46cbb0]
cmp dword [eax + 8], 0
jle 0x4325c2
mov eax, dword [0x46cbb0]
call fcn.00431ca0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4325db
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004322b0
pop ecx
test al, al
jne 0x4325db
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 0x435bdc
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 0x435c28
mov eax, esi
call fcn.0044b560
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x435c28
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x435c28
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 0x435d6c
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x435c68
cmp eax, 0x108
ja 0x435c68
mov eax, esi
call fcn.0044b560
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x435d63
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x435d6c
jmp 0x435d63
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x435d4a
cmp eax, 0x20a
ja 0x435d4a
test byte [esi + 0x50], 0x80
jne 0x435c9a
sub eax, 0x203
je 0x435c97
sub eax, 3
je 0x435c97
sub eax, 3
jne 0x435c9a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x435cae
dec eax
je 0x435cc3
dec eax
je 0x435ce3
dec eax
je 0x435cc3
jmp 0x435cea
mov ecx, ebx
mov eax, dword [0x46b018]
mov eax, dword [eax]
mov edx, esi
call fcn.00454b94
jmp 0x435d63
cmp byte [esi + 0x5d], 1
jne 0x435cd9
mov eax, esi
mov si, 0xffed
call fcn.004037d8
jmp 0x435d6c
or word [esi + 0x54], 1
jmp 0x435d63
and word [esi + 0x54], 0xfffe
jmp 0x435d63
mov eax, dword [0x46cb68]
cmp byte [eax + 0x20], 0
je 0x435d63
mov eax, dword [0x46cb68]
cmp dword [eax + 0x1c], 0
je 0x435d63
mov eax, dword [ebx]
mov edx, dword [0x46cb68]
cmp eax, dword [edx + 0x1c]
jne 0x435d63
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.0044b4a4
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.004037d8
jmp 0x435d6c
mov eax, dword [ebx]
cmp eax, 0xb00b
jne 0x435d63
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004344c4
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 0x43920c
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 0x439228
cmp dword [esi + 4], 0
je 0x439255
test byte [ebx + 0x55], 1
jne 0x439247
mov eax, ebx
call fcn.00437e64
test eax, eax
jne 0x439247
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x439365
mov edx, esi
mov eax, ebx
call fcn.00438d2c
jmp 0x439365
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 0x43935e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043afdc
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.00435b10
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043920c
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.0043afdc
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439365
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