joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407a70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4e52f8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x6341d4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esp + 0x18], ebx
mov dword [esi], vtable.Event.0
call fcn.00498073
cmp eax, ebx
jne 0x407abb
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
xor eax, eax
mov dword [esi + 0x10], 0x3e8
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi], vtable.KeystrokeEvent.0
mov dword [esi + 8], 0xf
mov byte [esi + 0x1c], bl
mov byte [esi + 0x1d], bl
mov byte [esi + 0x1e], bl
mov byte [esi + 0x1f], bl
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4e5549
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6341d4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2c]
xor esi, esi
push esi
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ebp, eax
shl ebp, 0x10
cmp dword [esp + 0x30], esi
je 0x40c2fc
or ebp, 0x1000000
call fcn.00498073
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x40c316
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov edi, dword [esp + 0x28]
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], 1
mov esi, 0x40
mov eax, dword [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add esi, esi
sub eax, esi
or eax, ecx
jge 0x40c359
push esi
mov ecx, edi
call fcn.004018e0
mov eax, dword [edi]
test esi, esi
jl 0x40c3c5
cmp esi, dword [eax - 8]
jg 0x40c3c5
mov dword [eax - 0xc], esi
mov ecx, dword [edi]
xor edx, edx
mov word [ecx + esi*2], dx
lea ecx, [esi + 1]
push ecx
push eax
push ebp
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40c395
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x40c399
push ecx
push eax
call fcn.004b0907
add esp, 8
test eax, eax
jl 0x40c3c5
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x40c3c5
mov dword [ecx - 0xc], eax
mov edx, dword [edi]
xor ecx, ecx
mov word [edx + eax*2], cx
cmp ebx, esi
je 0x40c339
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 0x80070057
call fcn.00401000
int3
Function at 0x4124e0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x4e5e09
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6341d4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
call fcn.00498073
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41252d
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov edi, dword [esp + 0x20]
add eax, 0x10
mov dword [edi], eax
push 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x412585
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x41257f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.00402020
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x414990
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x4e5b08
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x6341d4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0xc]
call fcn.00413e70
xor esi, esi
lea ecx, [esp + 8]
mov dword [esp + 0x1c], esi
call fcn.0040cb20
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
push 0x40ddd0
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ecx
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414a19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
ret

Function at 0x418af0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x4edfab
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6341d4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [0x63606c]
test eax, eax
jne 0x418b2c
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x418b69
push 0x3c
call fcn.004906f4
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], esi
test eax, eax
je 0x418b58
mov ecx, eax
call fcn.00418ac0
jmp 0x418b5a
xor eax, eax
push eax
mov esi, eax
mov eax, dword [0x63606c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x41f3e0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x401640
push 0
push 0
mov dword [0x635e24], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x635e24], 0
jne 0x40178a
nop
push 0x636188
push 0x32
push 0xa
call fcn.00404450
add esp, 0xc
cmp dword [0x635e24], 0
je 0x401770
call fcn.00418af0
mov ecx, dword [0x635e24]
mov dword [eax + 0x1c], ecx
ret
inc dword [0x636184]
push esi
call fcn.00418af0
mov ecx, eax
call fcn.00412480
mov dword [0x636198], 0
call fcn.0041f370
call fcn.00452740
call fcn.00452780
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x6311a8
call dword [sym.imp.USER32.dll_SetRect]
call fcn.00448ae0
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x17
call esi
test eax, eax
je 0x41f45c
mov dword [0x631198], 8
mov dword [0x63119c], 0x10
mov dword [0x6311a0], 2
mov dword [0x6311a4], 4
jmp 0x41f484
mov dword [0x631198], 2
mov dword [0x63119c], 4
mov dword [0x6311a0], 8
mov dword [0x6311a4], 0x10
push 0
call esi
push 1
mov dword [0x636190], eax
call esi
mov dword [0x63618c], eax
mov dword [0x65ef24], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x6361a0], eax
call fcn.004391a0
pop esi
jmp 0x401740

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

Disassembly:
push 0xffffffffffffffff
push 0x4e6727
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6341d4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esp + 0x18], edi
mov dword [esi], vtable.Event.0
call fcn.00498073
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41fbb2
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
mov dword [esi + 8], edi
mov dword [esi + 0x10], 0x3e8
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esp + 0x18], 1
mov dword [esi], vtable.ForLoopEvent.0
call fcn.00498073
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41fbf9
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
lea ecx, [esi + 0x38]
mov byte [esp + 0x18], 6
call fcn.00419740
mov dword [esi + 8], 8
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 3
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x421670
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e6b51
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6341d4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.Event.0
call fcn.00498073
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4216c3
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
mov dword [esi + 8], ebx
mov dword [esi + 0x10], 0x3e8
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esp + 0x1c], 1
mov dword [esi], vtable.WaitWindowEvent.0
call fcn.00498073
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42170a
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x20], eax
mov byte [esp + 0x1c], 2
lea edi, [esi + 0x28]
call fcn.00498073
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42173b
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
lea ecx, [esi + 0x34]
mov byte [esp + 0x1c], 3
call fcn.00419740
push 3
push 0x4f85f4
mov ecx, edi
mov byte [esp + 0x24], 4
mov dword [esi + 8], 0x1d
mov dword [esi + 0x1c], 1
mov dword [esi + 0x24], 0xa
call fcn.00401be0
mov dword [esi + 0x2c], 1
mov dword [esi + 0x30], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x421ab0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4e6bdb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6341d4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esp + 0x18], edi
mov dword [esi], vtable.Event.0
call fcn.00498073
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x421b02
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
mov dword [esi + 8], edi
mov dword [esi + 0x10], 0x3e8
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
push edi
push edi
push edi
push 0x43a740
push 0x4f5a28
lea ecx, [esi + 0x1c]
mov dword [esp + 0x2c], 1
mov dword [esi], vtable.FunStartEvent.0
call fcn.00411bd0
lea ecx, [esi + 0x288]
mov byte [esp + 0x18], 2
call fcn.00419740
mov dword [esi + 8], 0x2e
mov dword [esi + 0x10], edi
mov dword [esi + 0x30], esi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x424880
Capabilities:
Get common file path
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x4e7236
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x6341d4]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6341d4]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x23c]
mov eax, dword [esp + 0x248]
mov edi, dword [esp + 0x240]
mov ebp, dword [esp + 0x244]
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
call fcn.00413e70
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x23c], 0
call fcn.00429d80
add esp, 8
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x234], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42492a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
jne 0x424945
push edi
push esi
call fcn.004246d0
add esp, 8
mov esi, eax
jmp 0x4249d4
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x2a]
push edx
mov word [esp + 0x2c], cx
call fcn.004af990
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push ecx
call ebx
push edi
push esi
call fcn.004246d0
mov esi, eax
add esp, 8
test esi, esi
je 0x4249cd
mov edx, dword [esp + 0x1c]
push edx
push ebp
call fcn.00426db0
add esp, 8
test eax, eax
jne 0x4249cd
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x234], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4249c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4249fd
lea ecx, [esp + 0x20]
push ecx
call ebx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov dword [esp + 0x234], ecx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4249fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004af517
add esp, 0x224
ret
Function at 0x4298d0
Capabilities:
Get mac address on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push edi
push 0x288
push 0x40
xor ebx, ebx
call esi
mov edi, eax
lea eax, [esp + 0xc]
push eax
push edi
mov dword [esp + 0x14], 0x288
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x429910
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0xc]
push ecx
push 0x40
call esi
mov edi, eax
lea edx, [esp + 0xc]
push edx
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x42998b
mov esi, edi
test edi, edi
je 0x42998b
jmp 0x429930
lea eax, [esi + 0x10c]
push 0x5f9694
push eax
call fcn.004b1550
add esp, 8
test eax, eax
ja 0x429965
cmp dword [esi + 0x1a0], 0x47
je 0x429965
mov esi, dword [esi]
test esi, esi
jne 0x429930
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret
mov eax, dword [esi + 0x190]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
add esi, 0x194
push esi
push edx
mov dword [ecx], eax
call fcn.004b01d0
add esp, 0xc
mov ebx, 1
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret
Function at 0x42b270
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret

Function at 0x42fe10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e7f28
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x6341d4]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, dword [esp + 0x64]
cmp dword [esi], 0
je 0x42fe90
lea ecx, [esp + 0xc]
call fcn.0049e27f
push 0
lea eax, [esp + 0x68]
push eax
push 9
push 2
push 0x1ee
push esi
mov dword [esp + 0x74], 0
call fcn.0049ed8a
mov ecx, dword [esp + 0x7c]
add esp, 0x18
push 1
push ecx
lea ecx, [esp + 0x14]
call fcn.0049e5eb
cmp dword [esp + 0xc], 0
jne 0x42fea4
lea ecx, [esp + 0xc]
mov dword [esp + 0x5c], 0xffffffff
call fcn.0049e32d
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x54
ret
mov eax, dword [esp + 0x68]
xor edx, edx
push eax
lea ecx, [esp + 0x28]
mov word [esp + 0x28], dx
call fcn.0049f32a
lea ecx, [esp + 0x24]
push ecx
push 0x631dd4
lea edx, [esp + 0x6c]
push edx
push 9
push 2
lea eax, [esp + 0x20]
push 0xaa
push eax
mov byte [esp + 0x78], 1
call fcn.0049ed8a
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
add esp, 0x1c
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x60], 0
call esi
mov edi, dword [esp + 0x64]
test edi, edi
je 0x42fe7f
lea ecx, [esp + 0x1c]
call fcn.0049e27f
push 1
push edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 2
call fcn.0049e5eb
lea ecx, [esp + 0x14]
call fcn.0049e27f
push 0
lea edx, [esp + 0x68]
push edx
push 9
push 2
lea eax, [esp + 0x2c]
push 0xee
push eax
mov byte [esp + 0x74], 3
call fcn.0049ed8a
mov ecx, dword [esp + 0x7c]
add esp, 0x18
push 1
push ecx
lea ecx, [esp + 0x1c]
call fcn.0049e5eb
mov eax, dword [esp + 0x74]
xor edx, edx
push eax
lea ecx, [esp + 0x28]
mov word [esp + 0x28], dx
call fcn.0049f32a
mov ecx, dword [esp + 0x70]
push 3
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], 4
call fcn.0049ee98
mov edi, eax
mov edx, dword [esp + 0x6c]
push 3
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x64], 5
call fcn.0049ee98
lea ecx, [esp + 0x24]
push ecx
push edi
push eax
push 0x631d98
push 0
push 0
push 4
lea edx, [esp + 0x30]
push 0xaa
push edx
mov byte [esp + 0x80], 6
call fcn.0049ed8a
add esp, 0x24
lea eax, [esp + 0x34]
push eax
call esi
lea ecx, [esp + 0x44]
push ecx
call esi
lea edx, [esp + 0x24]
push edx
call esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 2
call fcn.0049e32d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 0
call fcn.0049e32d
lea ecx, [esp + 0xc]
mov dword [esp + 0x5c], 0xffffffff
call fcn.0049e32d
mov eax, 1
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x54
ret
Function at 0x4313d0
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x4e8190
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6341d4]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
push 0
push 0
push 0
push 0x4f5c64
call dword [sym.imp.GDI32.dll_CreateDCW]
mov esi, eax
test esi, esi
je 0x431556
lea ecx, [esp + 0x14]
call fcn.0049876a
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0
call fcn.00498b51
lea ecx, [esp + 0x24]
call fcn.0049876a
mov edi, dword [esp + 0x58]
mov byte [esp + 0x3c], 1
test edi, edi
jne 0x431447
lea edi, [esp + 0x24]
cmp dword [edi + 4], 0
jne 0x431537
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, edi
call fcn.00498b51
test eax, eax
je 0x431537
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x76
push ecx
call esi
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x48]
push 0x75
push edx
mov dword [ebp], eax
call esi
mov ebx, dword [esp + 0x4c]
mov dword [ebx], eax
mov eax, dword [esp + 0x18]
push 8
push eax
call esi
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x50]
push 0xa
push edx
mov dword [ecx], eax
call esi
mov ecx, dword [esp + 0x54]
mov dword [ecx], eax
mov edx, dword [ebx]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
test esi, esi
je 0x431537
mov eax, dword [edi + 4]
push esi
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x18]
mov eax, dword [ebx]
mov ecx, dword [ebp]
mov edi, dword [edi + 4]
push 0x40cc0020
push 0
push 0
push edx
push eax
push ecx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x44]
push esi
call fcn.00498e0d
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 0
call fcn.00498bba
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00498bba
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 0
call fcn.00498bba
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00498bba
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x432a90
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebx
call fcn.004329c0
add esp, 4
test eax, eax
je 0x432aa7
or dword [esp + 0xc], 1
mov eax, dword [esp + 0xc]
push 0
push eax
movzx ecx, bl
push 0
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push ebx
call dword [sym.imp.USER32.dll_keybd_event]
pop ebx
ret

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

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov eax, ebp
push edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x432900
sub eax, edx
sar eax, 1
mov esi, eax
xor edi, edi
mov dword [esp + 0xc], esi
test esi, esi
jle 0x4329b8
push ebx
movzx eax, word [ebp + edi*2]
mov ecx, 0x100
cmp ax, cx
jae 0x4329a5
cmp ax, 0xd
je 0x4329ae
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
movzx ebx, ax
cmp bx, 0xffff
jne 0x43294d
movzx edx, word [ebp + edi*2]
push edx
jmp 0x4329a6
test bx, bx
jge 0x432958
not ebx
inc ebx
movzx ebx, bx
mov esi, ebx
sar esi, 8
push 0x14
and esi, 1
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x432992
movzx eax, word [ebp + edi*2]
cmp ax, 0x61
jb 0x43297d
cmp ax, 0x7a
jbe 0x432989
cmp ax, 0x41
jb 0x432992
cmp ax, 0x5a
ja 0x432992
xor eax, eax
test esi, esi
sete al
mov esi, eax
movzx ecx, bl
push esi
push ecx
call fcn.004327b0
mov esi, dword [esp + 0x18]
add esp, 8
jmp 0x4329ae
push eax
call fcn.004326b0
add esp, 4
inc edi
cmp edi, esi
jl 0x432920
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret
push ecx
mov eax, dword [0x636330]
mov edx, dword [esp + 8]
test eax, eax
jne 0x432b51
movzx eax, word [edx]
mov ecx, edx
test ax, ax
je 0x432b02
movzx eax, ax
jmp 0x432af0
cmp ax, 0x7f
ja 0x432b51
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x432af0
push esi
lea eax, [esp + 4]
push eax
push edx
mov dword [esp + 0xc], 0
call fcn.00403e50
mov esi, dword [esp + 0xc]
add esp, 8
cmp byte [esi], 0
je 0x432b98
push ebx
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push edi
mov edi, dword [sym.imp.USER32.dll_keybd_event]
mov al, byte [esi]
cmp al, 0x7f
jae 0x432b7e
cmp al, 0xa
je 0x432b5d
cmp al, 0xd
je 0x432b7b
movsx cx, al
movzx edx, cx
push edx
call fcn.00405170
add esp, 4
inc esi
jmp 0x432b8d
add esp, 4
mov dword [esp + 4], edx
jmp 0x4328f0
push 0
push 0
push 0
push 0xd
call ebx
push eax
push 0xd
call edi
push 0
push 2
push 0
push 0xd
call ebx
push eax
push 0xd
call edi
inc esi
jmp 0x432b8d
movzx eax, word [esi]
push eax
call fcn.00405170
add esp, 4
add esi, 2
cmp byte [esi], 0
jne 0x432b30
mov esi, dword [esp + 0xc]
pop edi
pop ebx
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
pop esi
pop ecx
ret

Function at 0x43336f
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0x5faa6c
push eax
call fcn.004b1f2e
mov esi, eax
add esp, 8
test esi, esi
jne 0x43336b
pop esi
ret
push edi
push esi
push 1
push 2
push 0x5faa74
call fcn.004b2588
mov edi, dword [esp + 0x20]
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
add eax, eax
push 1
push eax
push edi
call fcn.004b2588
push esi
call fcn.004b1fbc
add esp, 0x14
pop edi
mov eax, 1
pop esi
ret