joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009fa47
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], edx
jbe 0x1009fa6a
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x1009fa58
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x100adf30
Capabilities:
Get process heap force flags

Disassembly:
call fcn.100ade60
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x50001
jae 0x100adf5a
add eax, 0x74
ret
cmp edx, 0x60000
jae 0x100adf66
add eax, 0x78
ret
add eax, 0x88
ret

Function at 0x100adf70
Capabilities:
Get process heap force flags

Disassembly:
call fcn.100ade60
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x60000
jae 0x100adf9a
add eax, 0x7c
ret
add eax, 0x8c
ret

Function at 0x100ae200
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x100e9f80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x100ae227
mov ecx, 5
int 0x29
push 2
call fcn.100ad7ad
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x100ae332
test esi, esi
jne 0x100ae332
push 2
call fcn.100ad7ad
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100acd00
mov esp, ebp
pop ebp
ret
Function at 0x100b8420
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.1001de60
mov esi, dword [ebp + 8]
test al, al
je 0x100b843e
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.100b8450
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x100bc8a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100bc8cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100bc8cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1007f13c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x1007f14b
pop dword [ebp - 0x34]
mov eax, 0x66429a68
add eax, 0xa9c556e3
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x5a8ca
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0xdc374f5f
sub ecx, 0xdc36fd69
mov ebx, eax
mov edi, 0x10137800
add edi, dword [ebp - 0x34]
mov edx, 0xff527099
sub dword [ebp - 0x30], eax
mov esi, dword [edi]
xor dword [ebp - 4], 0x404c974c
xor esi, edx
add dword [ebp - 4], 0x600d9d68
mov dword [ebx], esi
xor dword [ebp - 0x2c], edi
add ebx, 4
add edi, 0xbc6e0e8d
add edi, 0x4391f177
loop 0x1007f199
add eax, 0x66247541
add eax, 0x99dcc56a
mov ebx, eax
add eax, 0x75d19ec0
sub eax, 0x75d19ebb
mov ecx, 0x10000000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4ac420
mov eax, dword [ebp + 8]
push eax
call fcn.004010b0
add esp, 8
mov dword [ebp - 0x18], 0x4ac420
mov ecx, dword [ebp + 0xc]
push ecx
push 0x49c420
call fcn.004527b0
add esp, 8
mov dword [ebp - 0x14], 0x49c420
mov dword [ebp - 4], 2
mov dword [ebp - 0xc], 0xffff
lea edx, [ebp - 8]
push edx
push 0x20019
push 0
push 0x4ac420
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40106f
mov eax, 0x49c420
jmp 0x40109f
lea eax, [ebp - 0xc]
push eax
push 0x49c420
lea ecx, [ebp - 4]
push ecx
push 0
push 0x47551c
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x49c420
mov esp, ebp
pop ebp
ret

Function at 0x4011d0
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd2c
mov eax, dword [0x49ae98]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004010b0
add esp, 8
mov dword [ebp - 0x414], 0
jmp 0x401211
mov edx, dword [ebp - 0x414]
add edx, 1
mov dword [ebp - 0x414], edx
cmp dword [ebp - 0x414], 0x2710
jge 0x4012fa
mov dword [ebp - 0x51c], 0xff
lea eax, [ebp - 0x520]
push eax
lea ecx, [ebp - 0x408]
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4012f3
mov edx, dword [ebp - 0x51c]
push edx
lea eax, [ebp - 0x518]
push eax
push 0
mov ecx, dword [ebp - 0x520]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x4012e2
mov edx, dword [ebp - 0x520]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xd28]
push ecx
call fcn.004527b0
add esp, 8
push 0x47553c
lea edx, [ebp - 0xd28]
push edx
call fcn.004527c0
add esp, 8
lea eax, [ebp - 0x518]
push eax
lea ecx, [ebp - 0xd28]
push ecx
call fcn.004527c0
add esp, 8
lea edx, [ebp - 0xd28]
push edx
call fcn.004011d0
add esp, 4
lea eax, [ebp - 0x518]
push eax
mov ecx, dword [ebp - 0x520]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 0x524], eax
jmp 0x4012f1
mov edx, dword [ebp - 0x520]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4012fa
jmp 0x4012f5
jmp 0x4012fa
jmp 0x401202
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x408]
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40134e
push 0x475540
mov edx, dword [ebp - 0x410]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [ebp - 0xd2c], eax
push 0x475522
mov eax, dword [ebp - 0x410]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [ebp - 0x410]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x408]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 0x40c], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00452a35
mov esp, ebp
pop ebp
ret
Function at 0x401380
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x4ad420
mov eax, dword [ebp + 8]
push eax
call fcn.004010b0
add esp, 8
lea ecx, [ebp - 4]
push ecx
push 0x4ad420
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x4013b2
or eax, 0xffffffff
jmp 0x4013e5
mov edx, dword [ebp + 0xc]
push edx
call fcn.00452a50
add esp, 4
add eax, 1
push eax
mov eax, dword [ebp + 0xc]
push eax
push 2
push 0
push 0x475548
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4013f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x49ae98]
xor eax, ebp
mov dword [ebp - 8], eax
push 0x4ad820
mov eax, dword [ebp + 8]
push eax
call fcn.004010b0
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
push 0x475550
lea edx, [ebp - 0x408]
push edx
call fcn.00452938
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x4ad820
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x401449
or eax, 0xffffffff
jmp 0x401482
lea ecx, [ebp - 0x408]
push ecx
call fcn.00452a50
add esp, 4
add eax, 1
push eax
lea edx, [ebp - 0x408]
push edx
push 2
push 0
push str.value
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00452a35
mov esp, ebp
pop ebp
ret

Function at 0x40a280
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xc]
call fcn.0040a0d0
call fcn.00438b33
push eax
call fcn.0040aea0
add esp, 4
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x40a2af
jmp 0x40a330
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, 0x4adcd4
call fcn.00401d30
add eax, 1
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40a32a
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
mov ecx, 0x4adcd4
call fcn.00401d30
push eax
mov ecx, 0x4adcd4
call fcn.0040b020
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00452ec0
add esp, 0xc
mov ecx, 0x4adcd4
call fcn.00401d30
mov edx, dword [ebp - 8]
mov byte [edx + eax], 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 4]
push ecx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esp, ebp
pop ebp
ret
Function at 0x4117c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x49ae98]
xor eax, ebp
mov dword [ebp - 0x18], eax
movzx eax, byte [0x4b6c2a]
test eax, eax
jne 0x4117e0
jmp 0x4119cb
mov ecx, 0x4b6c50
call fcn.004121d0
movzx ecx, al
test ecx, ecx
jne 0x4119cb
push 0x4793c0
mov edx, dword [ebp + 8]
push edx
call fcn.0045434d
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x411814
jmp 0x4119cb
mov eax, dword [str.RIFF]
mov dword [ebp - 0x28], eax
mov cl, byte [0x4793c8]
mov byte [ebp - 0x24], cl
mov edx, dword [str.WAVE]
mov dword [ebp - 0x20], edx
mov al, byte [0x4793d0]
mov byte [ebp - 0x1c], al
mov ecx, dword [str.fmt]
mov dword [ebp - 0x3c], ecx
mov dl, byte [0x4793d8]
mov byte [ebp - 0x38], dl
mov eax, dword [str.data]
mov dword [ebp - 0x44], eax
mov cl, byte [0x4793e0]
mov byte [ebp - 0x40], cl
mov ecx, 0x4b6c50
call fcn.004121b0
add eax, 0x24
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0x10
mov edx, 1
mov word [ebp - 8], dx
mov eax, 1
mov word [ebp - 4], ax
mov dword [ebp - 0x48], 0x5622
mov ecx, 1
mov word [ebp - 0xc], cx
mov edx, 8
mov word [ebp - 0x14], dx
mov ecx, 0x4b6c50
call fcn.004121b0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
push eax
push 1
push 4
lea ecx, [ebp - 0x28]
push ecx
call fcn.00454217
add esp, 0x10
mov edx, dword [ebp - 0x10]
push edx
push 1
push 4
lea eax, [ebp - 0x30]
push eax
call fcn.00454217
add esp, 0x10
mov ecx, dword [ebp - 0x10]
push ecx
push 1
push 4
lea edx, [ebp - 0x20]
push edx
call fcn.00454217
add esp, 0x10
mov eax, dword [ebp - 0x10]
push eax
push 1
push 4
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00454217
add esp, 0x10
mov edx, dword [ebp - 0x10]
push edx
push 1
push 4
lea eax, [ebp - 0x34]
push eax
call fcn.00454217
add esp, 0x10
mov ecx, dword [ebp - 0x10]
push ecx
push 1
push 2
lea edx, [ebp - 8]
push edx
call fcn.00454217
add esp, 0x10
mov eax, dword [ebp - 0x10]
push eax
push 1
push 2
lea ecx, [ebp - 4]
push ecx
call fcn.00454217
add esp, 0x10
mov edx, dword [ebp - 0x10]
push edx
push 1
push 4
lea eax, [ebp - 0x48]
push eax
call fcn.00454217
add esp, 0x10
mov ecx, dword [ebp - 0x10]
push ecx
push 1
push 4
lea edx, [ebp - 0x48]
push edx
call fcn.00454217
add esp, 0x10
mov eax, dword [ebp - 0x10]
push eax
push 1
push 2
lea ecx, [ebp - 0xc]
push ecx
call fcn.00454217
add esp, 0x10
mov edx, dword [ebp - 0x10]
push edx
push 1
push 2
lea eax, [ebp - 0x14]
push eax
call fcn.00454217
add esp, 0x10
mov ecx, dword [ebp - 0x10]
push ecx
push 1
push 4
lea edx, [ebp - 0x44]
push edx
call fcn.00454217
add esp, 0x10
mov eax, dword [ebp - 0x10]
push eax
push 1
push 4
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00454217
add esp, 0x10
mov edx, dword [ebp - 0x10]
push edx
push 1
mov eax, dword [ebp - 0x2c]
push eax
push 0
mov ecx, 0x4b6c50
call fcn.004121f0
push eax
call fcn.00454217
add esp, 0x10
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00452a35
mov esp, ebp
pop ebp
ret
Function at 0x41a100
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ebf8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x49ae98]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0x44], 0
je 0x41a140
mov ecx, dword [ebp - 0x58]
movzx edx, byte [ecx + 0x49]
test edx, edx
jne 0x41a14c
mov al, 1
jmp 0x41a2ef
mov dword [ebp - 0x10], 8
call fcn.0040e530
push eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x58]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
call fcn.0040e530
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0040e510
add esp, 8
movzx eax, al
test eax, eax
je 0x41a18f
xor al, al
jmp 0x41a2ef
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.004198f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x34]
call fcn.00419a40
mov ecx, eax
call fcn.0041c8d0
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00401d30
add esi, eax
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x34]
call fcn.00419a40
mov ecx, eax
call fcn.0041c8d0
push eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x4c
push ecx
mov edx, dword [ebp - 0x58]
mov ecx, dword [edx + 0x44]
call fcn.0041a940
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x41a20a
cmp dword [ebp - 0x5c], 1
je 0x41a211
cmp dword [ebp - 0x5c], 3
je 0x41a2ab
jmp 0x41a2c3
mov eax, dword [ebp - 0x58]
mov byte [eax + 0x49], 0
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00419a40
mov ecx, eax
call fcn.0041c8d0
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x41a274
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.00419a40
mov ecx, eax
call fcn.0041c8d0
push eax
call fcn.00454217
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x41a274
mov byte [ebp - 0x51], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040c440
mov al, byte [ebp - 0x51]
jmp 0x41a2ef
mov ecx, dword [ebp - 0x58]
movzx edx, byte [ecx + 0x49]
test edx, edx
jne 0x41a297
mov byte [ebp - 0x52], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040c440
mov al, byte [ebp - 0x52]
jmp 0x41a2ef
cmp dword [ebp - 0x38], 0
jne 0x41a2a9
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0040b590
jmp 0x41a2db
mov byte [ebp - 0x53], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040c440
mov al, byte [ebp - 0x53]
jmp 0x41a2ef
mov byte [ebp - 0x54], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040c440
mov al, byte [ebp - 0x54]
jmp 0x41a2ef
jmp 0x41a1a2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00452a35
mov esp, ebp
pop ebp
ret
Function at 0x41b6a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 8
call fcn.0041c3e0
cmp dword [0x4ca310], 0
je 0x41b6c2
push 0xffffffffffffffff
call fcn.00455845
mov dword [0x4ca310], 1
mov eax, dword [ebp - 4]
mov byte [eax], 2
mov ecx, dword [ebp - 4]
mov byte [ecx + 1], 0x1f
mov dword [0x4ca304], 0xc
mov dword [0x4ca308], 0
mov dword [0x4ca30c], 1
push 0x4ca2f8
push 0
mov edx, dword [ebp - 4]
push edx
push 0x41b740
push 0x10000
push 0x4ca304
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4ca300], eax
push 0xf
mov eax, dword [0x4ca300]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x41c3e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ed56
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x49ae98]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.004182c0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.004182c0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.0040c3d0
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], 1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], 0x1f
mov eax, dword [ebp - 0x10]
fld qword [0x479438]
fstp qword [eax + 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x5c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x60], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], 0x1f40
mov ecx, dword [ebp - 0x10]
mov byte [ecx], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 1], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x43961b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x439712
mov edx, dword [ebp + 8]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0xf
je 0x43968d
cmp dword [ebp - 0x24], 0x10
je 0x43964e
jmp 0x439712
mov eax, dword [ebp - 0x20]
xor ecx, ecx
cmp dword [eax + 0x3c], 0
setne cl
test ecx, ecx
jne 0x43966b
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
call dword [eax + 0x14]
jmp 0x439688
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
push 9
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x439712
mov eax, dword [ebp - 0x20]
xor ecx, ecx
cmp dword [eax + 0x3c], 0
setne cl
test ecx, ecx
je 0x439712
mov edx, dword [ebp - 0x20]
xor eax, eax
mov al, byte [edx + 0x21]
and eax, 2
neg eax
sbb eax, eax
inc eax
test eax, eax
je 0x4396f5
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
jmp 0x4396c5
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx + 0x21]
and eax, 2
neg eax
sbb eax, eax
inc eax
test eax, eax
je 0x4396db
jmp 0x4396bc
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + 0x20]
mov byte [ebp - 0x14], dl
mov eax, dword [ebp - 0x14]
and eax, 0xff
cmp eax, 0xf0
jl 0x4396f5
jmp 0x439712
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
push 0
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.004418a0
mov esp, ebp
pop ebp
ret 4
Function at 0x43cc90
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0xc], 0
je 0x43cca2
cmp dword [ebp + 0x10], 0
jge 0x43cca7
jmp 0x43cd8c
mov eax, dword [ebp + 0x10]
add eax, 1
cmp eax, dword [0x4cdd18]
jle 0x43ccf1
mov ecx, dword [0x4cdd20]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00453221
add esp, 4
mov eax, dword [ebp + 0x10]
add eax, 0x64
push eax
call fcn.004535dd
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dword [0x4cdd20], ecx
mov edx, dword [ebp + 0x10]
add edx, 0x64
mov dword [0x4cdd18], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [0x4cdd20]
push edx
call fcn.00452ec0
add esp, 0xc
mov eax, dword [0x4cdd20]
add eax, dword [ebp + 0x10]
mov byte [eax], 0
mov ecx, dword [ebp + 0x10]
mov dword [0x4cdd1c], ecx
mov byte [0x4cdd24], 1
call fcn.00438b33
mov edx, dword [eax + 0x3c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43cd79
call dword [sym.imp.USER32.dll_EmptyClipboard]
push 0
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
movsx eax, byte [0x4cdd25]
test eax, eax
jne 0x43cd79
push 0x43cd90
call fcn.00438c04
add esp, 4
mov byte [0x4cdd25], 1
mov byte [0x4cdd24], 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00439724
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x43ce91
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [0x4ccf84], 0
je 0x43cec8
mov eax, dword [0x4cdd20]
mov dword [0x499fc8], eax
mov ecx, dword [0x4cdd1c]
mov dword [0x4ccf68], ecx
push 0x11
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
call dword [eax + 8]
jmp 0x43cf9b
call fcn.00438b33
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x43ceee
jmp 0x43cf9b
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43cf95
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [0x499fc8], eax
mov eax, dword [0x499fc8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
movsx eax, byte [edx]
test eax, eax
je 0x43cf6a
mov ecx, dword [ebp - 8]
movsx edx, byte [ecx]
cmp edx, 0xd
jne 0x43cf4c
mov eax, dword [ebp - 8]
movsx ecx, byte [eax + 1]
cmp ecx, 0xa
jne 0x43cf4c
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x43cf68
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x43cf20
mov edx, dword [ebp - 0xc]
mov byte [edx], 0
mov eax, dword [ebp - 0xc]
sub eax, dword [0x499fc8]
mov dword [0x4ccf68], eax
push 0x11
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 8]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esp, ebp
pop ebp
ret

Function at 0x43d8e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call fcn.0043d8fd
add esp, 4
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
and al, 0xfe
pop ebp
ret