joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1a388d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1483000]
push edi
or ebp, 0xffffffff
jmp 0x1a388f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1a388f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a388e8
mov eax, 1
add ebx, ebx
jne 0x1a3890b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1a3891c
jne 0x1a3893b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a3893b
dec eax
add ebx, ebx
jne 0x1a38928
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1a38900
add ebx, ebx
jne 0x1a38937
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1a3898d
xor ecx, ecx
sub eax, 3
jb 0x1a38953
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1a389c2
sar eax, 1
mov ebp, eax
jmp 0x1a3895e
add ebx, ebx
jne 0x1a3895e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a3892c
inc ecx
add ebx, ebx
jne 0x1a3896c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a3892c
add ebx, ebx
jne 0x1a38979
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1a3896e
jne 0x1a3898a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1a3896e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1a389ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1a3899e
jmp 0x1a388ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1a389ac
add edi, ecx
jmp 0x1a388ee
pop esi
mov edi, esi
mov ecx, 0x4ca7fd
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x1a389e7
cmp byte [edi], 0x65
jne 0x1a389cc
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x1a389ca
lea edi, [esi + 0x15fc000]
mov eax, dword [edi]
or eax, eax
je 0x1a38a2f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x25d3c38]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x25d3d68]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1a389ed
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x25d3d70]
or eax, eax
je 0x1a38a29
mov dword [ebx], eax
add ebx, 4
jmp 0x1a38a0a
call dword [esi + 0x25d3d6c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1a38a60
cmp al, 0xef
ja 0x1a38a53
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1a38a35
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1a38a42
mov ebp, dword [esi + 0x25d3d74]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x1a38a94
sub esp, 0xffffff80
jmp 0x92006c
Function at 0x1014e2c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.1014e2f0
mov esi, dword [ebp + 8]
test al, al
je 0x1014e2de
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.1014e300
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1014e9c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x504
mov eax, dword [0x101ae064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1014eabb
push 0x2d
push esi
call sub.msvcrt.dll_strchr
add esp, 8
test eax, eax
je 0x1014eabb
xor ecx, ecx
mov al, byte [esi + ecx]
lea edx, [ecx + ecx]
test al, al
je 0x1014ea1a
cbw
inc ecx
mov word [ebp + edx - 0x204], ax
cmp ecx, 0x100
jne 0x1014e9f8
jmp 0x1014eabb
cmp edx, 0x200
jae 0x1014eb0b
xor eax, eax
mov word [ebp + edx - 0x204], ax
lea eax, [ebp - 0x204]
push 0x2d
push eax
call sub.msvcrt.dll_wcsrchr
add esp, 8
test eax, eax
je 0x1014eabb
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
lea eax, [ebp - 0x504]
push 0xff
push eax
push 0x1001
lea eax, [ebp - 0x204]
push eax
call edi
test eax, eax
je 0x1014eaba
lea edx, [ebp - 0x504]
mov ecx, 0x5f
lea edx, [edx + eax*2]
mov word [edx - 2], cx
mov ecx, 0x100
sub ecx, eax
lea eax, [ebp - 0x204]
push ecx
push edx
push 0x1002
push eax
call edi
test eax, eax
je 0x1014eaba
lea edi, [ebp - 0x504]
xor eax, eax
nop
movzx ecx, word [edi + eax*2]
lea edx, [ebp - 0x304]
test cx, cx
je 0x1014eaed
mov byte [edx + eax], cl
inc eax
cmp eax, 0x100
jne 0x1014eaa0
pop edi
bt dword [0x10161d88], 0
mov edx, str.setlocale
mov ecx, 0x101ad010
call fcn.1014ec40
test eax, eax
je 0x1014eaf9
push esi
push ebx
call eax
add esp, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101433d1
mov esp, ebp
pop ebp
ret
mov byte [edx + eax], 0
lea esi, [ebp - 0x304]
jmp 0x1014eaba
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.101433d1
mov esp, ebp
pop ebp
ret
call fcn.10143971
int3

Function at 0x8506ef
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.0085076e
jae 0x8506fb
xor ecx, ecx
call fcn.0085076e
jae 0x850725
xor eax, eax
call fcn.0085076e
jae 0x850736
mov al, 0x10
call fcn.0085076e
adc al, al
jae 0x850717
jne 0x850763
stosb byte es:[edi], al
jmp 0x8506fc
call fcn.0085077a
dec ecx
loop 0x850742
mov eax, ebp
call fcn.00850778
jmp 0x850764
lodsb al, byte [esi]
shr eax, 1
je 0x85078a
adc ecx, 2
mov ebp, eax
jmp 0x850764
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.00850778
cmp eax, 0x7d00
jae 0x850762
cmp eax, 0x500
jae 0x850763
cmp eax, 0x7f
ja 0x850764
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8506fc
pop ebp
ret 8
Function at 0x402edc
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x403334
Capabilities:
Query or enumerate registry value

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

Function at 0x4040b0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x455048], 0
je 0x404111
cmp word [0x45521c], 0xd7b2
jne 0x4040d9
cmp dword [0x455224], 0
jbe 0x4040d9
mov eax, 0x455218
call dword [0x455234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x453070
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 0x404138
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x453034], 0
jne 0x40412d
push 0
push 0x453068
push 0x453070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405f50
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 0x405fb6
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.004044a4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ef8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405fa0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405fbd
lea eax, [ebp - 0x10]
call fcn.00404234
ret

Function at 0x40af7c
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 0x40afb5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404324
jmp 0x40afbe
mov eax, ebx
mov edx, esi
call fcn.00404288
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b680
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b4e8
mov eax, dword [0x454078]
cmp byte [eax], 0
je 0x40b6fc
mov eax, dword [0x453ea0]
call fcn.00402d48
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.0040876c
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 0x40b744
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b732
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x453e50]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x455664]
call fcn.004053bc
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 0x40bfa0
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 0x40c076
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004042cc
lea eax, [ebp - 8]
call fcn.00404744
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004046f4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c060
mov eax, ebx
call fcn.00402a38
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c059
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.004046f4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c043
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c088
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c043
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 0x40c060
mov eax, dword [ebp - 0x10]
call fcn.00402a68
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c07d
lea eax, [ebp - 8]
call fcn.00404234
ret

Function at 0x40c550
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 0x40c5b4
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.004044a4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004082e8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c5bb
lea eax, [ebp - 0xc]
call fcn.00404234
ret

Function at 0x41a75c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x455884
cmp dword [edi], 0
jne 0x41a7d8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x455880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4533f0
mov ecx, 2
call fcn.00402c58
mov edx, 0x41a734
lea eax, [esi + 5]
call fcn.0041a754
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a754
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 0x41a7ad
mov dword [0x455880], 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 0x41b9ec
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 0x41b9f2
ret
Function at 0x42b8b8
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 0x42b804
call sub.user32.dll_EnumWindows
ret

Function at 0x42b9d8
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 0x42ba55
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042b438
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 0x42b9fd
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042b038
cmp dword [ebp - 4], 0
je 0x42ba3f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004046f4
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 0x42ba5c
lea eax, [ebp - 4]
call fcn.00404234
ret

Function at 0x42ea3c
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 [0x455b54], 0
je 0x42eb8b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45401c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42eb8b
mov eax, dword [0x455b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x455b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42eb5a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x455b54]
call fcn.00413d2c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42eb52
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42eb52
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42eb52
mov eax, dword [ebp - 0x14]
call fcn.004376c8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42eb52
push ebp
call fcn.0042e9f8
pop ecx
test al, al
jne 0x42eb52
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42eb0e
mov eax, dword [ebp - 0x14]
call fcn.004361f8
dec eax
jle 0x42eb52
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.004036c8
cmp byte [ebp - 1], 0
je 0x42eb52
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42eb52
mov edx, dword [ebp - 0x14]
mov eax, dword [0x455b58]
call fcn.0042e1c4
inc edi
dec ebx
jne 0x42eaa1
mov eax, dword [0x455b58]
cmp dword [eax + 8], 0
jle 0x42eb72
mov eax, dword [0x455b58]
call fcn.0042e254
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42eb8b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042e860
pop ecx
test al, al
jne 0x42eb8b
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 0x432160
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 0x4321ac
mov eax, esi
call fcn.004479a4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4321ac
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x4321ac
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 0x4322eb
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4321ec
cmp eax, 0x108
ja 0x4321ec
mov eax, esi
call fcn.004479a4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4322e2
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x4322eb
jmp 0x4322e2
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4322cb
cmp eax, 0x20a
ja 0x4322cb
test byte [esi + 0x50], 0x80
jne 0x43221e
sub eax, 0x203
je 0x43221b
sub eax, 3
je 0x43221b
sub eax, 3
jne 0x43221e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x432232
dec eax
je 0x432247
dec eax
je 0x432264
dec eax
je 0x432247
jmp 0x43226b
mov ecx, ebx
mov eax, dword [0x45401c]
mov eax, dword [eax]
mov edx, esi
call fcn.0045126c
jmp 0x4322e2
cmp byte [esi + 0x5d], 1
jne 0x43225d
mov eax, esi
mov si, 0xffed
call fcn.004036c8
jmp 0x4322eb
or word [esi + 0x54], 1
jmp 0x4322e2
and word [esi + 0x54], 0xfffe
jmp 0x4322e2
mov eax, dword [0x455b10]
cmp byte [eax + 0x20], 0
je 0x4322e2
mov eax, dword [0x455b10]
cmp dword [eax + 0x1c], 0
je 0x4322e2
mov eax, dword [ebx]
mov edx, dword [0x455b10]
cmp eax, dword [edx + 0x1c]
jne 0x4322e2
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.004478e8
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.004036c8
jmp 0x4322eb
cmp eax, 0xb00b
jne 0x4322e2
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00430a8c
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 0x435858
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 0x435874
cmp dword [esi + 4], 0
je 0x4358a1
test byte [ebx + 0x55], 1
jne 0x435893
mov eax, ebx
call fcn.004343f8
test eax, eax
jne 0x435893
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4359b1
mov edx, esi
mov eax, ebx
call fcn.0043537c
jmp 0x4359b1
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 0x4359aa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004376c8
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.00432094
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00435858
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.004376c8
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4359b1
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
Function at 0x43c040
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45417c]
cmp byte [eax + 0xc], 0
je 0x43c1ad
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43c1a6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x455b64], 0
jne 0x43c094
push 0x43c1b4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43c1bc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b64], eax
cmp dword [0x453b64], 0
jne 0x43c18f
push 0x43c1cc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x453b64], eax
cmp dword [0x453b64], 0
je 0x43c18f
push 0x43c1d8
mov eax, dword [0x453b64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b68], eax
push 0x43c1e8
mov eax, dword [0x453b64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b6c], eax
push 0x43c1fc
mov eax, dword [0x453b64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b70], eax
push 0x43c214
mov eax, dword [0x453b64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b74], eax
push 0x43c22c
mov eax, dword [0x453b64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b78], eax
push 0x43c240
mov eax, dword [0x453b64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b7c], eax
push 0x43c258
mov eax, dword [0x453b64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b80], eax
push 0x43c270
mov eax, dword [0x453b64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b84], eax
push 0x43c28c
mov eax, dword [0x453b64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b88], eax
push 0x43c298
mov eax, dword [0x453b64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c1ad
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x440038
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404234
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x440087
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004044a4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x447858
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4478a8]
test si, 4
je 0x44786c
or bl, 1
test si, 8
je 0x447876
or bl, 4
test si, 1
je 0x447880
or bl, 8
test si, 2
je 0x44788a
or bl, 0x10
test si, 0x10
je 0x447894
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4478a3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret