joyce8/EMBER2024-capa huggingface dataset:
Function at 0x934c00
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x934c17
xor eax, eax
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0091bf10
add esp, 4
pop ebp
ret

Function at 0x945630
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0x14]
lea eax, [ebx + 0x1000]
cmp eax, 0x2000
jb 0x94572b
mov eax, dword [ebp + 0x10]
push esi
push edi
mov dword [ebp - 4], eax
add eax, 2
push str.D:_tinderbox_add_7.0_srcVBoxAdditionscommonVBoxGuestlibVBoxGuestR3LibAdditions.cpp
push eax
call fcn.0091be60
mov edi, eax
add esp, 8
test edi, edi
je 0x945717
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 8]
push eax
push 0
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
jne 0x9456d4
push edi
call fcn.0091be80
mov eax, dword [ebp - 4]
add eax, 0x10
mov dword [ebp - 4], eax
add eax, 2
push str.D:_tinderbox_add_7.0_srcVBoxAdditionscommonVBoxGuestlibVBoxGuestR3LibAdditions.cpp
push eax
call fcn.0091be60
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x9456bf
mov dword [ebx], eax
lea eax, [edi - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 8]
push eax
push 0
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x9456f6
cmp dword [ebp - 8], 1
jne 0x9456ef
push str.D:_tinderbox_add_7.0_srcVBoxAdditionscommonVBoxGuestlibVBoxGuestR3LibAdditions.cpp
push ebx
push edi
call fcn.009307d0
add esp, 0xc
jmp 0x9456ff
mov esi, 0xffffa877
jmp 0x945701
push eax
call fcn.0091bf10
add esp, 4
mov esi, eax
push edi
call fcn.0091be80
add esp, 4
test esi, esi
js 0x94571c
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 0xffffffec
pop edi
mov eax, esi
mov dword [ebx], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xfffffffa
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x414dd9
Capabilities:
Encode data using xor

Disassembly:
xor dword [edx], eax
dec esi
add edx, 4
mov ecx, 0x3e2b77a4
add ecx, 0x6b2328ed
cmp edx, edi
jne fcn.00414dd9
sub ebx, 0xdfc0163b
sub esi, 0xb20519d3
ret
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x419b00
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0xa56218a8
sbb eax, 0xa054bd
xlatb
and al, 0x53
xor ah, dh
fcomp qword [edi + 0xb8270fd]
cmc
sub eax, 0x3d0774e4
sbb byte [edi + 0x17], bl
aaa
xor ecx, edx
jecxz 0x419b1c
jl 0x419b5b
mov dword [0x7e9c2ec7], eax
inc edi
out 0xd0, eax
mov edi, dword [esi]
sbb esi, dword [edx]
int 0xcf
rcl byte [eax]
fiadd dword [ebp + 0x12]
jecxz 0x419b69
sbb al, byte [eax + eax + 0x74000000]
stc
test byte [eax], al
add byte [eax], al
add byte [ecx + edi*8 - 0x43], dh
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
invalid
jp 0x419b0c
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
call 0xab419b88
jae 0x419b16
add byte [ebx + 0x26000673], ch
add byte [esi], ah
add eax, 0x31a8d00
add byte [ecx], ch
cdq
sub byte [0x45157ab7], 0x2e
loopne 0x419abf
add eax, dword [eax]
sub dword [ecx + 0x7ab72d82], ebx
mov bh, 0x7a
adc eax, 0x9ce02e45
int 0x9e
fimul dword [ebp - 0x7d]
shr byte [edx - 0x675b92], 0xf3
ja 0x419b81
leave
inc edi
hlt
jge 0x419bb6
outsd dx, dword [esi]
dec eax
mov bl, dh
xor esi, ebp
aas
wait
sbb ebx, ebx
std
clc
into
ret 0xab06
salc
adc eax, 0xe3fec155
mov dword [0x7160e872], eax
and dword gs:[eax], ebx
lea ebp, [edx]
lea eax, [eax]
cmpsd dword [esi], dword es:[edi]
std
mov ebp, 0x4b70e31b
dec edi
sbb ch, cl
mov eax, 0xdabfde48
hlt
int 0xf8
scasb al, byte es:[edi]
xor ebx, dword [ebx + 0x54]
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219

Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
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 eax, ebx
loop 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18

Function at 0x408973
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov ecx, 0x4085d8
sub ebx, 0xa144f80f
call fcn.004089a3
add ebx, 1
xor dword [esi], ecx
mov edx, 0x9804f5f9
inc ebx
inc esi
cmp esi, edi
jne fcn.00408973
sub edx, 0xdcaac1a9
add ebx, 0x8214397a
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
nop
nop
pop eax
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x402a88
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x459040], 0x8088405
inc edx
mov dword [0x459040], edx
mul edx
mov eax, edx
ret

Function at 0x402be0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402c78
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402c58
xor eax, eax
push ebp
push 0x402c51
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 0x402c94
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 0x402c58
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x404d08
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404ec0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404d69
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404edc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404dd6
xor eax, eax
push ebp
push 0x404dcf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404db8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404efc
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404dd6
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404eb7
cmp byte [ebp - 0xd], 0
jne 0x404e18
cmp byte [ebp - 0x12], 0
je 0x404eb7
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404e31
dec ebx
cmp byte [ebx], 0x2e
je 0x404e40
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404e30
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404eb7
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404e6d
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404eb7
cmp byte [ebp - 0xd], 0
je 0x404eb7
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404eb7
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x405414
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, edx
mov edx, dword [ebx + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x405470
push ecx
push 0
mov eax, esp
push 0
push eax
mov eax, dword [ebx + 8]
mul ecx
push eax
push esi
push dword [ebx]
call sub.kernel32.dll_ReadFile
dec eax
pop eax
pop ecx
jne 0x405462
xor edx, edx
div dword [ebx + 8]
mov edx, dword [esp + 0xc]
test edx, edx
je 0x405457
mov dword [edx], eax
pop esi
pop ebx
ret 4
cmp eax, ecx
je 0x405452
mov eax, 0x64
jmp 0x405467
call sub.kernel32.dll_GetLastError
call fcn.004027a4
xor eax, eax
jmp 0x405452
mov eax, 0x67
jmp 0x405467
Function at 0x4054e8
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, eax
mov ecx, dword [ebx + 4]
sub ecx, 0xd7b1
je 0x4054fb
sub ecx, 2
jne 0x405524
push 0
mov eax, esp
push 0
push eax
push dword [ebx + 8]
push edx
push dword [ebx]
call sub.kernel32.dll_ReadFile
pop edx
dec eax
jne 0x405518
cmp edx, dword [ebx + 8]
jne 0x40552b
pop ebx
ret
call sub.kernel32.dll_GetLastError
call fcn.004027a4
jmp 0x405516
mov eax, 0x67
jmp 0x40551d
mov eax, 0x64
jmp 0x40551d

Function at 0x405824
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [eax + 4]
sub eax, 0xd7b2
cmp eax, 1
ja 0x40585f
push 0
mov eax, esp
push 0
push eax
push dword [ebx + 8]
push edx
push dword [ebx]
call sub.kernel32.dll_WriteFile
pop edx
dec eax
jne 0x405853
cmp edx, dword [ebx + 8]
jne 0x405866
mov eax, ebx
pop ebx
ret
call sub.kernel32.dll_GetLastError
call fcn.004027a4
jmp 0x40584f
mov eax, 5
jmp 0x405858
mov eax, 0x65
jmp 0x405858

Function at 0x408914
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 0x40894d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004039e4
jmp 0x408956
mov eax, ebx
mov edx, esi
call fcn.00403998
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x413c24
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 0x413c2a
ret

Function at 0x41614c
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 0x41619d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x416184
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x416174
jmp 0x41619d
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 0x416185
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4252c4
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 - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], edx
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x459760], 0
sete dl
or al, dl
jne 0x425408
mov eax, dword [0x459764]
mov bx, 0xffff
call fcn.00402f3c
mov eax, dword [0x459760]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x4253d7
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x459760]
call fcn.0040d3f0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x4253cf
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x16c], 0
je 0x4253cf
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4253cf
mov eax, dword [ebp - 0x10]
call fcn.0042d1e8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4253cf
push ebp
call fcn.00425280
pop ecx
test al, al
jne 0x4253cf
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x10]
jne 0x42538b
mov eax, dword [ebp - 0x10]
call fcn.0042bb30
dec eax
jle 0x4253cf
mov byte [ebp - 0x15], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x15]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov bx, 0xffc2
call fcn.00402f3c
cmp byte [ebp - 0x15], 0
je 0x4253cf
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4253cf
mov edx, dword [ebp - 0x10]
mov eax, dword [0x459764]
call fcn.00424b30
inc edi
dec esi
jne 0x42531e
mov eax, dword [0x459764]
cmp dword [eax + 8], 0
jle 0x4253ef
mov eax, dword [0x459764]
call fcn.00424bc0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x425408
push ebp
mov eax, dword [ebp - 0x14]
call fcn.00425138
pop ecx
test al, al
jne 0x425408
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42acbc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x42aced
je 0x42ad47
sub eax, 7
je 0x42ad0e
dec eax
je 0x42ad38
sub eax, 0x17
je 0x42adc8
jmp 0x42ae06
add eax, 0xffffff00
sub eax, 9
jb 0x42adb4
add eax, 0xffffff09
sub eax, 0xb
jb 0x42ad9e
jmp 0x42ae06
mov eax, ebx
call fcn.0043b458
mov edi, eax
test edi, edi
je 0x42ae66
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xc8]
test al, al
je 0x42ae6f
jmp 0x42ae66
test byte [ebx + 0x44], 0x20
jne 0x42ae6f
jmp 0x42ae66
mov edx, esi
mov eax, ebx
call fcn.00428560
cmp dword [esi + 0xc], 0xffffffff
jne 0x42ae6f
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00406b2c
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00426fd4
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.0042ab6c
test eax, eax
je 0x42ae6f
mov dword [esi + 0xc], 1
jmp 0x42ae6f
mov edx, esi
mov eax, ebx
call fcn.0042ac30
test al, al
jne 0x42ae6f
jmp 0x42ae66
mov eax, ebx
call fcn.00427bcc
test al, al
jne 0x42ae6f
jmp 0x42ae66
mov eax, ebx
call fcn.0042d1e8
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x42ae66
cmp dword [0x45871c], 0
je 0x42ae66
mov eax, dword [0x45871c]
cmp ebx, dword [eax + 0x24]
jne 0x42ae66
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x45871c]
call fcn.0042847c
jmp 0x42ae66
mov eax, dword [0x459728]
cmp byte [eax + 0x20], 0
je 0x42ae66
mov eax, dword [0x459728]
cmp dword [eax + 0x1c], 0
je 0x42ae66
mov eax, dword [esi]
mov edx, dword [0x459728]
cmp eax, dword [edx + 0x1c]
jne 0x42ae66
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.0043b36c
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb9
call fcn.00402f3c
jmp 0x42ae6f
mov edx, esi
mov eax, ebx
call fcn.00428560
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b300
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 + 0x1e8], 0
je 0x42b31c
cmp dword [esi + 4], 0
je 0x42b349
test byte [ebx + 0x45], 1
jne 0x42b33b
mov eax, ebx
call fcn.0042a370
test eax, eax
jne 0x42b33b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x42b459
mov edx, esi
mov eax, ebx
call fcn.0042af78
jmp 0x42b459
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 0x42b452
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0042d1e8
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.0042847c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0042b300
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.0042d1e8
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b459
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 0x434e78
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.00403900
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x434ed9
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x434ed9
cmp byte [ebp - 0x102], 0
je 0x434ed9
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00403b2c
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b13c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4597dc
cmp dword [edi], 0
jne 0x43b1b8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4597d8]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4588a8
mov ecx, 2
call fcn.004027d8
mov edx, 0x43b114
lea eax, [esi + 5]
call fcn.0043b134
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043b134
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 0x43b18d
mov dword [0x4597d8], 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 0x43b2dc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43b32c]
test si, 4
je 0x43b2f0
or bl, 1
test si, 8
je 0x43b2fa
or bl, 4
test si, 1
je 0x43b304
or bl, 8
test si, 2
je 0x43b30e
or bl, 0x10
test si, 0x10
je 0x43b318
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43b327
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x43b330
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43b368]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43b349
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43b358
or bl, 4
test esi, 0x20000000
je 0x43b363
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret