joyce8/EMBER2024-capa huggingface dataset:
Function at 0x462200
Capabilities:
Capture webcam image
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
push edi
test edx, edx
jne 0x4622f9
lea eax, [ebp - 0xc]
push 0x123
push eax
call fcn.0046cd70
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 8
mov ecx, 0x491dd8
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
push 2
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebp - 4]
call fcn.0046bc3a
push dword [ebp - 0xc]
call fcn.0046bc3a
add esp, 8
push 0
push 0x48b
push ebx
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
push 0
push 0x3f2
push ebx
call edi
push eax
call esi
push 1
push 0x482
push ebx
call edi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call esi
push 1
push 0x483
push ebx
call edi
push eax
call esi
push 2
push 0xffffffffffffffff
push 0x100c
push 0x483
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
test eax, eax
setns cl
push ecx
push 1
push ebx
call edi
push eax
call esi
push 1
push 0x419
push ebx
call edi
push eax
call esi
push 1
push 0x453
push ebx
call edi
push eax
call esi
push 1
push 0x44e
push ebx
call edi
push eax
call esi
push 1
push 0x491
push ebx
call edi
push eax
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edx, 1
jne 0x4623f4
lea eax, [ebp - 0xc]
push 0x168
push eax
call fcn.0046cd70
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 8
mov ecx, 0x491dd8
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
push 2
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebp - 4]
call fcn.0046bc3a
push dword [ebp - 0xc]
call fcn.0046bc3a
add esp, 8
push 5
push 0x48b
push ebx
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
push 5
push 0x3f2
push ebx
call edi
push eax
call esi
push 0xc80000
push 0
push 0x401
push 0x3f2
push ebx
call edi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call esi
push 0
push 0
push 0x402
push 0x3f2
push ebx
call edi
push eax
call esi
push 0
push 0x482
push ebx
call edi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call esi
push 0
push 0x483
push ebx
call edi
push eax
call esi
push 0
push 1
push ebx
call edi
push eax
call esi
push 0
push 0x419
push ebx
call edi
push eax
call esi
push 0
push 0x453
push ebx
call edi
push eax
call esi
push 0
push 0x44e
push ebx
call edi
push eax
call esi
push 0
push 0x491
push ebx
call edi
push eax
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x469010
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a3cc
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4ab00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, dword [ebp + 8]
mov ecx, ebx
push edi
mov dword [ebp - 0x10], ebx
call fcn.004022e0
lea eax, [edi + 0x18]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebx + 0x18]
call fcn.004022e0
lea eax, [edi + 0x30]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebx + 0x30]
call fcn.004022e0
mov byte [ebp - 4], 2
lea esi, [ebx + 0x60]
mov eax, dword [edi + 0x48]
lea ecx, [esi + 0x1c]
mov dword [ebx + 0x48], eax
movzx eax, byte [edi + 0x4c]
mov byte [ebx + 0x4c], al
mov eax, dword [edi + 0x50]
mov dword [ebx + 0x50], eax
mov eax, dword [edi + 0x54]
mov dword [ebx + 0x54], eax
mov eax, dword [edi + 0x58]
mov dword [ebx + 0x58], eax
movzx eax, byte [edi + 0x5c]
mov byte [ebx + 0x5c], al
movzx eax, byte [edi + 0x5d]
mov byte [ebx + 0x5d], al
mov dword [ebp + 8], esi
mov eax, dword [edi + 0x60]
mov dword [esi], eax
mov eax, dword [edi + 0x64]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x68]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x6c]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x70]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x74]
mov dword [esi + 0x14], eax
movzx eax, byte [edi + 0x78]
mov byte [esi + 0x18], al
lea eax, [edi + 0x7c]
push eax
call fcn.004022e0
lea eax, [edi + 0x94]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 0x34]
call fcn.00468250
lea eax, [edi + 0xa0]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebx + 0xa0]
call fcn.0046a3f0
lea eax, [edi + 0x254]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebx + 0x254]
call fcn.004022e0
lea eax, [edi + 0x26c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebx + 0x26c]
call fcn.004022e0
lea eax, [edi + 0x284]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebx + 0x284]
call fcn.004022e0
lea eax, [edi + 0x29c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebx + 0x29c]
call fcn.004022e0
mov eax, dword [edi + 0x2b4]
mov dword [ebx + 0x2b4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46b750
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x46b77d
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x46b7b2
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov eax, dword [esi]
xor cl, cl
add eax, 8
xchg byte [eax], cl
mov edx, dword [esi]
xor ecx, ecx
lea eax, [edx + 0xc]
xchg dword [eax], ecx
push 0
push 0
mov dword [edx + 0x18], 0
push dword [esi]
mov byte [esi + 8], 0
push dword [ebp + 8]
push 0
push 0
call fcn.00475b83
add esp, 0x18
mov dword [esi + 4], eax
pop esi
pop ebp
ret 4

Function at 0x46cbc0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ab00c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [eax*4 + 0x4ab8d0], 0
je 0x46cbe2
inc eax
cmp eax, 0xffffffff
jb 0x46cbd2
push 0
mov dword [0x4ac120], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x4ac9cc], eax
mov dword [0x4ac9d0], eax
mov eax, dword [0x4ac124]
test eax, eax
je 0x46cc09
push 0x491dd8
call eax
push 0xa
lea eax, [ebp - 0x18]
mov dword [ebp - 8], 0
push eax
push 0x59
xorps xmm0, xmm0
push 0x400
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x46cc3e
lea eax, [ebp - 0x18]
push eax
call fcn.0046cd20
add esp, 4
mov ecx, eax
jmp 0x46cc44
mov ecx, dword [0x4ab024]
cmp ecx, dword [0x4ac120]
push 0
sbb eax, eax
mov dword [ebp - 0x24], 0
and eax, ecx
mov dword [ebp - 0x20], 0
push str.lang
mov dword [0x4ab024], eax
mov dword [ebp - 0x1c], 0
call fcn.0046c990
add esp, 8
lea ecx, [ebp - 0x24]
push eax
call fcn.0046ce10
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x46cce1
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x46cc99
mov dword [0x4ac9d0], eax
jmp 0x46cce1
mov eax, dword [0x4ab024]
test eax, eax
je 0x46ccd9
cmp eax, dword [0x4ac120]
jae 0x46ccd9
push 0x48c6b4
push dword [eax*4 + 0x4ab8d0]
call fcn.0046c990
add esp, 8
lea ecx, [ebp - 0x24]
push eax
call fcn.0046ce10
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x46cce1
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x46cc92
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [0x4ac9d0]
cmp eax, dword [0x4ac9cc]
push ebx
push dword [ebp - 0x1c]
setne bl
call fcn.0046bc3a
push dword [ebp - 0x24]
call fcn.0046bc3a
mov ecx, dword [ebp - 4]
add esp, 8
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0046b9f0
mov esp, ebp
pop ebp
ret

Function at 0x47ac67
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047a92a

Function at 0x47ac72
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047aaab
Function at 0x404934
Capabilities:
Terminate process

Disassembly:
mov al, 0x10
jmp fcn.00402824
cmp eax, edx
je 0x4049cb
cmp word [eax], 8
jb 0x40496c
push eax
push edx
cmp word [eax], 0x100
je 0x404962
cmp word [eax], 0x101
je 0x40495a
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x40496a
call dword [0x4a33e8]
jmp 0x40496a
add eax, 8
call fcn.00403bcc
pop edx
pop eax
cmp word [edx], 8
jae 0x404983
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
ret
cmp word [edx], 0x100
je 0x40499e
cmp word [edx], 0x101
jne 0x4049b7
push eax
call 0x404972
pop eax
jmp dword [0x4a33f0]
mov edx, dword [edx + 8]
or edx, edx
je 0x4049ae
mov ecx, dword [edx - 8]
inc ecx
jle 0x4049ae
mov dword [edx - 8], ecx
mov word [eax], pe_nt_image_headers32
mov dword [eax + 8], edx
ret
mov word [eax], 0
push edx
push eax
call sub.oleaut32.dll_VariantCopyInd
or eax, eax
jne 0x4048e8
ret

Function at 0x404dcc
Capabilities:
Terminate process

Disassembly:
cmp word [edx], 8
jne 0x404dda
mov edx, dword [edx + 8]
jmp fcn.00404230
push ebx
mov ebx, eax
sub esp, 0x10
mov word [esp], 0
mov eax, esp
mov ecx, 8
call fcn.00404b44
mov eax, ebx
mov edx, dword [esp + 8]
call fcn.004041e4
add esp, 0x10
pop ebx
ret

Function at 0x404f80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x10]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov ebx, eax
lea eax, [ebp - 0x10]
call fcn.00405560
xor eax, eax
push ebp
push 0x404f72
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call dword [0x4a33ec]
mov eax, ebx
lea edx, [ebp - 0x10]
call fcn.00404f80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404f79
lea eax, [ebp - 0x10]
call fcn.00405558
ret
cmp word [edx], 0x101
je 0x404f1c
cmp word [edx], 0x100
jne fcn.00404934
cmp word [eax], 8
jb 0x404fa5
push eax
push edx
call fcn.004048f0
pop edx
pop eax
mov word [eax], 8
add eax, 8
add edx, 8
xor ecx, ecx
mov edx, dword [edx]
mov dword [eax], ecx
jmp fcn.004042fc

Function at 0x4050b0
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov edi, eax
mov esi, edx
mov ebx, ecx
mov eax, dword [edi]
mov edx, dword [esi]
and eax, 0xfff
and edx, 0xfff
cmp eax, 0x11
jbe 0x4050d9
cmp eax, 0x100
jne 0x40510c
mov eax, 8
cmp edx, 0x11
jbe 0x4050eb
cmp edx, 0x100
jne 0x40510a
mov edx, 8
mov al, byte [eax + 0x4a0064]
mov dl, byte [edx + 0x4a0064]
movzx ecx, byte [edx + eax*8 + 0x4a0078]
call dword [ecx*4 + 0x40511b]
pop edi
pop esi
pop ebx
ret
mov eax, edx
cmp eax, 0x101
jne 0x40513c
pop edi
pop esi
pop ebx
jmp fcn.0040502c
pop edi
pop esi
pop ebx
jmp 0x4048e8
Function at 0x409428
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub eax, 0x8d2228a5
inc ebp
call 0x5128f1bb
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
int 0xc6
inc ebp
out dx, eax
retf
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.004090d5
push eax
push esi
push dword [ebp + 8]
call fcn.0040908a
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33

Function at 0x4094b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22

Function at 0x4094c4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004090d5
call dword [eax + 0x56]
push dword [ebp + 8]
call fcn.0040908a
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
fimul dword [edx - 0x3a]
inc ebp
fisttp dword [edi - 0x3a]
inc ebp
fsub qword [edi - 0x3a]
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x409560
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004090d5
push eax
push esi
push dword [ebp + 8]
call fcn.0040908a
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004090c5
wait
clc
dec esi
loopne fcn.004094d0
popfd
jl 0x40954a
invalid
invalid

Function at 0x40ae24
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xb
lea eax, [ebp - 0x7ac]
push eax
call fcn.004090d5
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
add eax, 0xfffffdd0
push eax
call fcn.00409036
add esp, 0xc
jmp 0x40b03d
mov eax, dword [ebp - 0x6fc]
inc eax

Function at 0x40b870
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 0x40b8a9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403cb0
jmp 0x40b8b2
mov eax, ebx
mov edx, esi
call fcn.00403c64
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40b8bc
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 0x40b8dd
mov al, byte [esp]
jmp 0x40b8df
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4180b8
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x4180cd
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x41a010
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 0x41a016
ret

Function at 0x41c718
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 0x41c769
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41c750
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41c740
jmp 0x41c769
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 0x41c751
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4331b0
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 0x4331e1
je 0x43323b
sub eax, 7
je 0x433202
dec eax
je 0x43322c
sub eax, 0x17
je 0x4332bc
jmp 0x4332fa
add eax, 0xffffff00
sub eax, 9
jb 0x4332a8
add eax, 0xffffff09
sub eax, 0xb
jb 0x433292
jmp 0x4332fa
mov eax, ebx
call fcn.00443a24
mov edi, eax
test edi, edi
je 0x43335a
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xc8]
test al, al
je 0x433363
jmp 0x43335a
test byte [ebx + 0x44], 0x20
jne 0x433363
jmp 0x43335a
mov edx, esi
mov eax, ebx
call fcn.00430a9c
cmp dword [esi + 0xc], 0xffffffff
jne 0x433363
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00407b40
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.0042f544
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00433060
test eax, eax
je 0x433363
mov dword [esi + 0xc], 1
jmp 0x433363
mov edx, esi
mov eax, ebx
call fcn.00433124
test al, al
jne 0x433363
jmp 0x43335a
mov eax, ebx
call fcn.00430114
test al, al
jne 0x433363
jmp 0x43335a
mov eax, ebx
call fcn.004356e0
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x43335a
cmp dword [0x4a0840], 0
je 0x43335a
mov eax, dword [0x4a0840]
cmp ebx, dword [eax + 0x24]
jne 0x43335a
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x4a0840]
call fcn.004309b8
jmp 0x43335a
mov eax, dword [0x4a3728]
cmp byte [eax + 0x20], 0
je 0x43335a
mov eax, dword [0x4a3728]
cmp dword [eax + 0x1c], 0
je 0x43335a
mov eax, dword [esi]
mov edx, dword [0x4a3728]
cmp eax, dword [edx + 0x1c]
jne 0x43335a
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.00443938
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.00403130
jmp 0x433363
mov edx, esi
mov eax, ebx
call fcn.00430a9c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4337f4
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 0x433810
cmp dword [esi + 4], 0
je 0x43383d
test byte [ebx + 0x45], 1
jne 0x43382f
mov eax, ebx
call fcn.00432864
test eax, eax
jne 0x43382f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43394d
mov edx, esi
mov eax, ebx
call fcn.0043346c
jmp 0x43394d
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 0x433946
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004356e0
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.004309b8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004337f4
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.004356e0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43394d
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 0x43d2b0
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.00403bcc
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43d311
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x43d311
cmp byte [ebp - 0x102], 0
je 0x43d311
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00403df8
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x443708
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4a37e0
cmp dword [edi], 0
jne 0x443784
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4a37dc]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4a09cc
mov ecx, 2
call fcn.004028f4
mov edx, 0x4436e0
lea eax, [esi + 5]
call fcn.00443700
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00443700
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 0x443759
mov dword [0x4a37dc], 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 0x4438a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4438f8]
test si, 4
je 0x4438bc
or bl, 1
test si, 8
je 0x4438c6
or bl, 4
test si, 1
je 0x4438d0
or bl, 8
test si, 2
je 0x4438da
or bl, 0x10
test si, 0x10
je 0x4438e4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4438f3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4438fc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x443934]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x443915
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x443924
or bl, 4
test esi, 0x20000000
je 0x44392f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret