joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f5e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x609d2b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.0041efe0
mov byte [esp + 0x20], 2
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x28], 1
mov ecx, esi
call fcn.0041f4c0
mov byte [esp + 0x14], 3
lea edx, [esp + 0x24]
push edx
lea ecx, [esi + 0x48]
mov dword [esi], vtable.CGraphFileFilter.0
call fcn.00402bc0
mov byte [esp + 0x14], 4
xor eax, eax
mov dword [esi + 0x4c], eax
mov byte [esp + 0x14], al
lea ecx, [esp + 0x24]
call fcn.00401a50
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.004194a0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x18

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

Disassembly:
push 0xffffffffffffffff
push 0x609da8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.0041efe0
mov byte [esp + 0x24], 1
mov byte [esp + 0x24], 0
mov ecx, esi
call fcn.0041f410
mov byte [esp + 0x18], 2
mov eax, dword [esp + 0x20]
mov dword [esi], vtable.CGraphRendererFilter.0
mov ecx, dword [eax]
mov dword [esi + 0x48], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x4c], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x50], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x24]
lea edi, [esi + 0x28]
push 0x63338c
mov ecx, edi
mov dword [esi + 0x54], edx
mov dword [esi + 0x58], eax
call fcn.00419630
push 0x69b5d0
mov ecx, edi
call fcn.00419630
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.004194a0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x14
Function at 0x4278d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x60b006
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x7161c0]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x6c]
mov esi, ecx
mov ecx, dword [esp + 0x70]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x1c], esi
call fcn.004276b0
mov dword [esp + 0x64], 0
push 0xa
lea ecx, [esp + 0x20]
mov dword [esi], vtable.CGraphBuilderDVD.0
call fcn.00418d40
mov byte [esp + 0x64], 1
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jl 0x427951
movzx edx, ah
mov dh, al
cmp edx, 0x501
jb 0x427951
mov bl, 1
jmp 0x427953
xor bl, bl
call fcn.005bc35c
test bl, bl
mov eax, dword [eax + 4]
jne 0x427968
cmp dword [eax + 0x1b4], 2
jne 0x427971
cmp dword [eax + 0x1b4], 1
jne 0x4279d4
push 0x60
call fcn.005b4633
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
mov byte [esp + 0x64], 2
test edi, edi
je 0x4279c5
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
add eax, 0xffffffff
adc ecx, 0xffffffff
push ecx
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Overlay_Mixer
call fcn.0041a030
mov byte [esp + 0x70], 3
mov edx, dword [esi + 8]
push edx
push 0x63379c
mov byte [esp + 0x78], 2
mov ecx, edi
call fcn.0041f720
jmp 0x4279c7
xor eax, eax
mov byte [esp + 0x64], 1
push eax
mov ecx, esi
call fcn.0041fcf0
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.F50B3F13_19C4_11CF_AA9A_02608C9BABA2
call fcn.00401eb0
mov byte [esp + 0x68], 4
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x6c], 1
call fcn.00498be0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0xc]
push 0x50
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
call fcn.005b4633
add esp, 0xc
mov dword [esp + 0x10], eax
mov byte [esp + 0x64], 5
test eax, eax
je 0x427a3d
push 0x20
push 0
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call fcn.00421230
jmp 0x427a3f
xor eax, eax
mov byte [esp + 0x64], 1
push eax
mov ecx, esi
call fcn.0041fcf0
mov byte [esp + 0x64], 0
lea ecx, [esp + 0x1c]
call fcn.00418d70
mov dword [esp + 0x64], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.005d8d34
add esp, 0x58
ret 8
Function at 0x42c470
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx + 0x60]
lea ecx, [esp]
push ecx
push 0
push 0
lea edx, [esp + 0x14]
mov dword [esp + 0x18], eax
push edx
add eax, 1
push eax
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 1
call dword [sym.imp.WS2_32.dll_select]
xor ecx, ecx
test eax, eax
setg cl
mov eax, ecx
add esp, 0x10c
ret

Function at 0x42c4c0
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push edi
xor edi, edi
test ebp, ebp
jle 0x42c558
lea edx, [ebp - 1]
mov eax, 0xaaaaaaab
mul edx
mov eax, dword [esp + 0xc]
push ebx
push esi
mov esi, edx
shr esi, 1
add esi, 1
lea edi, [esi + esi*2]
mov edi, edi
movsx edx, byte [eax]
sar edx, 2
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
movzx edx, byte [eax]
movsx ebx, byte [eax + 1]
and edx, 3
shl edx, 4
sar ebx, 4
movzx edx, byte [edx + ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], dl
movzx edx, byte [eax + 1]
movsx ebx, byte [eax + 2]
add ecx, 1
and edx, 0xf
sar ebx, 6
movzx edx, byte [ebx + edx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
add ecx, 1
mov byte [ecx], dl
movzx edx, byte [eax + 2]
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
add ecx, 1
mov byte [ecx], dl
add ecx, 1
add eax, 3
sub esi, 1
jne 0x42c4f0
pop esi
pop ebx
lea eax, [ebp + 1]
cmp edi, eax
jne 0x42c56b
pop edi
mov byte [ecx - 1], 0x3d
mov byte [ecx], 0
pop ebp
ret 0xc
add ebp, 2
cmp edi, ebp
jne 0x42c57a
mov al, 0x3d
mov byte [ecx - 2], al
mov byte [ecx - 1], al
pop edi
mov byte [ecx], 0
pop ebp
ret 0xc

Function at 0x42c670
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
xor edi, edi
cmp dword [ebx + 0x40], edi
je 0x42c6ca
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.WS2_32.dll_recv]
add eax, 0xffffffff
mov dword [esp + 0x18], eax
mov edi, edi
cmp edi, dword [esp + 0x18]
jge 0x42c6ca
mov ecx, ebx
call fcn.0042c470
test eax, eax
je 0x42c6c4
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 0x60]
push 0
push 1
lea esi, [edi + ecx]
push esi
push edx
call ebp
test eax, eax
jle 0x42c6e1
mov al, byte [esi]
cmp al, 0xa
je 0x42c6ca
cmp al, 0xd
je 0x42c6c4
add edi, 1
cmp dword [ebx + 0x40], 0
jne 0x42c690
cmp dword [ebx + 0x40], 0
je 0x42c6e1
mov eax, dword [esp + 0x14]
mov byte [edi + eax], 0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 8
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 8
Function at 0x42ce60
Capabilities:
Resume thread

Disassembly:
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov edi, dword [esp + 0x14]
cmp edi, ebx
mov esi, ecx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
lea ecx, [esi + 0x38]
jne 0x42ce7d
xor eax, eax
jmp 0x42ce8d
mov eax, edi
lea ebp, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x42ce82
sub eax, ebp
push eax
push edi
call fcn.00401bb0
cmp byte [esi + 0x50], bl
jne 0x42cec6
cmp edi, ebx
lea ecx, [esi + 0x3c]
jne 0x42cea4
xor eax, eax
jmp 0x42cebb
mov eax, edi
lea ebp, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x42ceb0
sub eax, ebp
push eax
push edi
call fcn.00401bb0
mov byte [esi + 0x50], 1
lea edi, [esi + 0x68]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ecx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [esi + 0xac]
push edx
mov dword [esi + 0x40], 1
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov byte [esi + 0x45], 1
mov byte [esi + 0x44], bl
mov byte [esi + 8], bl
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push ebx
push 4
push ebx
push ebx
push esi
push 0x42c650
call fcn.005c1906
cmp eax, ebx
mov dword [esi + 0x64], eax
je 0x42cf3c
mov dword [eax + 0x28], ebx
mov eax, dword [esi + 0x64]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc
Function at 0x42ef50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x7161c0]
xor eax, esp
mov dword [esp + 0x10c], eax
mov ecx, dword [esp + 0x118]
mov eax, dword [esp + 0x114]
push esi
push edi
mov edi, dword [esp + 0x124]
lea edx, [esp + 8]
push edx
push 1
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x42efc9
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push esi
push edx
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x114]
pop edi
pop esi
xor ecx, esp
call fcn.005d8d34
add esp, 0x110
ret

Function at 0x42f150
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20c
mov eax, dword [0x7161c0]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x214]
push ebp
mov ebp, dword [esp + 0x21c]
push esi
push ebp
push 0
push 0
push ebx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42f23b
lea eax, [esp + 0xc]
push eax
push str..htm
push DirectSoundCreate
call fcn.0042ef50
add esp, 0xc
test eax, eax
jne 0x42f257
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str._shellopencommand
lea ecx, [esp + 0x14]
push ecx
call edi
lea edx, [esp + 0x10]
push edx
mov eax, edx
push eax
push DirectSoundCreate
call fcn.0042ef50
add esp, 0xc
test eax, eax
jne 0x42f253
lea ecx, [esp + 0x10]
push 0x630fd8
push ecx
call fcn.005d9339
mov esi, eax
add esp, 8
test esi, esi
jne 0x42f21f
lea edx, [esp + 0x10]
push 0x630fd4
push edx
call fcn.005d9e00
mov esi, eax
add esp, 8
test esi, esi
jne 0x42f21f
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x42f222
mov byte [esi], 0
push 0x630fd0
push esi
call edi
push ebx
push esi
call edi
push ebp
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.005d8d34
add esp, 0x20c
ret
mov eax, esi
jmp 0x42f23a
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005d8d34
add esp, 0x20c
ret
Function at 0x42fa60
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x60bd88
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
cmp dword [0x718c04], 0
jne 0x42fb56
lea ecx, [esp + 8]
call fcn.004019e0
mov dword [esp + 0x14], 0
mov edx, dword [esp + 8]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x42faca
push 0x104
lea ecx, [esp + 0xc]
call fcn.00401990
mov edx, dword [esp + 8]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edx, dword [esp + 8]
test edx, edx
jne 0x42fae2
xor eax, eax
jmp 0x42faf4
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42fae7
sub eax, esi
js 0x42fb67
cmp eax, dword [edx - 8]
jg 0x42fb67
mov dword [edx - 0xc], eax
mov ecx, dword [esp + 8]
push 0xd
mov byte [eax + ecx], 0
push str.winhlp32.exe
lea ecx, [esp + 0x10]
call fcn.00401c90
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x42fb3e
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x42fb3e
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [0x718c04], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 8]
call fcn.00401a50
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
push 0x80070057
call fcn.00401470
int3

Function at 0x42fd00
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60bde8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x7161c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
lea edi, [esi + 0x30]
mov dword [ebp - 0x18], edi
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x54], 3
mov dword [esi + 0x48], ebx
mov byte [ebp - 4], 1
lea ecx, [esi + 0x28]
call fcn.00462ff0
lea ecx, [esi + 4]
call fcn.00462ff0
lea ecx, [esi + 8]
call fcn.00462ff0
lea ecx, [esi + 0x18]
call fcn.00462ff0
lea ecx, [esi + 0xc]
call fcn.00462ff0
lea ecx, [esi + 0x10]
call fcn.00462ff0
lea ecx, [esi + 0x14]
call fcn.00462ff0
mov ecx, esi
call fcn.00462ff0
mov dword [ebp - 4], ebx
jmp 0x42fda9
mov dword [esi + 0x54], ebx
mov dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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 0x430010
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x60c077
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0
mov dword [esp + 0x18], 1
lea eax, [esi + 4]
mov dword [esp + 0xc], eax
mov dword [eax], 0
mov byte [esp + 0x18], 4
lea eax, [esi + 8]
mov dword [esp + 0xc], eax
mov dword [eax], 0
mov byte [esp + 0x18], 7
lea eax, [esi + 0xc]
mov dword [esp + 0xc], eax
mov dword [eax], 0
mov byte [esp + 0x18], 0xa
lea eax, [esi + 0x10]
mov dword [esp + 0xc], eax
mov dword [eax], 0
mov byte [esp + 0x18], 0xd
lea eax, [esi + 0x14]
mov dword [esp + 0xc], eax
mov dword [eax], 0
mov byte [esp + 0x18], 0x10
lea eax, [esi + 0x18]
mov dword [esp + 0xc], eax
mov dword [eax], 0
mov byte [esp + 0x18], 0x13
lea eax, [esi + 0x1c]
mov dword [esp + 0xc], eax
mov dword [eax], 0
mov byte [esp + 0x18], 0x16
lea eax, [esi + 0x20]
mov dword [esp + 0xc], eax
mov dword [eax], 0
mov byte [esp + 0x18], 0x19
lea eax, [esi + 0x24]
mov dword [esp + 0xc], eax
mov dword [eax], 0
mov byte [esp + 0x18], 0x1c
lea eax, [esi + 0x28]
mov dword [esp + 0xc], eax
mov dword [eax], 0
mov byte [esp + 0x18], 0x1f
lea eax, [esi + 0x2c]
mov dword [esp + 0xc], eax
mov dword [eax], 0
mov byte [esp + 0x18], 0x21
lea eax, [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esp + 0x18], 0x22
lea ecx, [esi + 0x50]
call fcn.004019e0
mov byte [esp + 0x18], 0x23
mov dword [esi + 0x54], 0
mov dword [esi + 0x48], 0
mov byte [esi + 0x58], 0
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x430160
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x60c1e7
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x18], 0xc
lea ecx, [esi + 0x50]
call fcn.00401a50
mov byte [esp + 0x18], 0xb
lea eax, [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov cl, 0xa
mov byte [esp + 0x18], cl
lea eax, [esi + 0x2c]
mov dword [esp + 0xc], eax
mov byte [esp + 0x18], cl
mov eax, dword [eax]
test eax, eax
je 0x4301c8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov cl, 9
mov byte [esp + 0x18], cl
lea eax, [esi + 0x28]
mov dword [esp + 0xc], eax
mov byte [esp + 0x18], cl
mov eax, dword [eax]
test eax, eax
je 0x4301e7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov cl, 8
mov byte [esp + 0x18], cl
lea eax, [esi + 0x24]
mov dword [esp + 0xc], eax
mov byte [esp + 0x18], cl
mov eax, dword [eax]
test eax, eax
je 0x430206
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov cl, 7
mov byte [esp + 0x18], cl
lea eax, [esi + 0x20]
mov dword [esp + 0xc], eax
mov byte [esp + 0x18], cl
mov eax, dword [eax]
test eax, eax
je 0x430225
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov cl, 6
mov byte [esp + 0x18], cl
lea eax, [esi + 0x1c]
mov dword [esp + 0xc], eax
mov byte [esp + 0x18], cl
mov eax, dword [eax]
test eax, eax
je 0x430244
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov cl, 5
mov byte [esp + 0x18], cl
lea eax, [esi + 0x18]
mov dword [esp + 0xc], eax
mov byte [esp + 0x18], cl
mov eax, dword [eax]
test eax, eax
je 0x430263
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov cl, 4
mov byte [esp + 0x18], cl
lea eax, [esi + 0x14]
mov dword [esp + 0xc], eax
mov byte [esp + 0x18], cl
mov eax, dword [eax]
test eax, eax
je 0x430282
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov cl, 3
mov byte [esp + 0x18], cl
lea eax, [esi + 0x10]
mov dword [esp + 0xc], eax
mov byte [esp + 0x18], cl
mov eax, dword [eax]
test eax, eax
je 0x4302a1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov cl, 2
mov byte [esp + 0x18], cl
lea eax, [esi + 0xc]
mov dword [esp + 0xc], eax
mov byte [esp + 0x18], cl
mov eax, dword [eax]
test eax, eax
je 0x4302c0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov cl, 1
mov byte [esp + 0x18], cl
lea eax, [esi + 8]
mov dword [esp + 0xc], eax
mov byte [esp + 0x18], cl
mov eax, dword [eax]
test eax, eax
je 0x4302df
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x18], 0
lea eax, [esi + 4]
mov dword [esp + 0xc], eax
mov byte [esp + 0x18], 0
mov eax, dword [eax]
test eax, eax
je 0x4302fe
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], 0xffffffff
mov esi, dword [esi]
test esi, esi
je 0x430314
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x432a10
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
push 0xff
mov esi, ecx
call fcn.004328c0
push 0xdb
mov ecx, esi
call fcn.004328c0
push 0
mov ecx, esi
call fcn.004328c0
push 0x84
mov ecx, esi
call fcn.004328c0
xor ebx, ebx
mov edi, 0x6e1ec8
push ebx
mov ecx, esi
call fcn.004328c0
mov eax, dword [esi]
push eax
push 0x40
push 1
push edi
call fcn.005dc5b5
add edi, 0x40
add esp, 0x10
add ebx, 1
cmp edi, 0x6e1f48
jl 0x432a47
pop edi
pop esi
pop ebx
ret

Function at 0x432b50
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
push 0xff
mov esi, ecx
call fcn.004328c0
push 0xc4
mov ecx, esi
call fcn.004328c0
push 1
mov ecx, esi
call fcn.004328c0
push 0xa2
mov ecx, esi
call fcn.004328c0
push 0
mov ecx, esi
call fcn.004328c0
mov eax, dword [esi]
push eax
push 0x10
push 1
push 0x6e2010
call fcn.005dc5b5
add esp, 0x10
xor edi, edi
mov edi, edi
push edi
mov ecx, esi
call fcn.004328c0
add edi, 1
cmp edi, 0xc
jl 0x432ba0
push 1
mov ecx, esi
call fcn.004328c0
mov ecx, dword [esi]
push ecx
push 0x10
push 1
push 0x6e2020
call fcn.005dc5b5
add esp, 0x10
xor edi, edi
nop
push edi
mov ecx, esi
call fcn.004328c0
add edi, 1
cmp edi, 0xc
jl 0x432bd0
push 0x10
mov ecx, esi
call fcn.004328c0
mov edx, dword [esi]
push edx
push 0x10
push 1
push 0x6e2450
call fcn.005dc5b5
mov eax, dword [esi]
push eax
push 1
push 0xa2
push 0x6e2470
call fcn.005dc5b5
add esp, 0x20
push 0x11
mov ecx, esi
call fcn.004328c0
mov ecx, dword [esi]
push ecx
push 0x10
push 1
push 0x6e2460
call fcn.005dc5b5
mov edx, dword [esi]
push edx
push 1
push 0xa2
push 0x6e2512
call fcn.005dc5b5
add esp, 0x20
pop edi
pop esi
ret

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

Disassembly:
sub esp, 0x44
mov eax, dword [0x7161c0]
xor eax, esp
mov dword [esp + 0x40], eax
push esi
push edi
mov edi, dword [esp + 0x50]
mov esi, ecx
mov ecx, edi
call fcn.00401930
mov eax, dword [esi + 4]
test eax, eax
je 0x4336b2
test byte [eax], 8
je 0x43361b
push 5
push str.Ctrl
mov ecx, edi
call fcn.00401c90
mov eax, dword [esi + 4]
test byte [eax], 4
je 0x433631
push 6
push str.Shift
mov ecx, edi
call fcn.00401c90
mov ecx, dword [esi + 4]
test byte [ecx], 0x10
je 0x433647
push 4
push str.Alt
mov ecx, edi
call fcn.00401c90
mov esi, dword [esi + 4]
test byte [esi], 1
je 0x43369f
movzx edx, word [esi + 2]
push 0
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push 0x40
lea ecx, [esp + 0xc]
shl eax, 0x10
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
lea eax, [esp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x433674
sub eax, edx
push eax
lea edx, [esp + 0xc]
push edx
mov ecx, edi
call fcn.00401c90
pop edi
pop esi
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.005d8d34
add esp, 0x44
ret 4
cmp word [esi + 2], 0x1b
je 0x4336b2
movzx eax, byte [esi + 2]
push eax
mov ecx, edi
call fcn.00433560
mov ecx, dword [esp + 0x48]
pop edi
pop esi
xor ecx, esp
call fcn.005d8d34
add esp, 0x44
ret 4
Function at 0x434750
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x60cdc9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
push eax
push ecx
push edi
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.00402bc0
mov byte [esp + 0x28], 2
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x2c], 1
call fcn.0040b320
add esp, 0x14
mov byte [esp + 0x18], 1
lea ecx, [esp + 0x30]
call fcn.00401a50
mov esi, dword [edi]
test esi, esi
je 0x4347f6
mov edi, edi
xor eax, eax
test esi, esi
setne al
mov ecx, esi
test eax, eax
je 0x43482d
mov eax, esi
mov edx, dword [eax + 8]
cmp dword [edx - 0xc], 0
mov esi, dword [esi]
jne 0x4347f2
push ecx
mov ecx, edi
call fcn.004345b0
test esi, esi
jne 0x4347d0
cmp dword [edi + 8], 0
jne 0x434820
lea ecx, [esp + 0x30]
call fcn.004019e0
mov byte [esp + 0x18], 4
push eax
mov ecx, edi
call fcn.0040b2f0
mov byte [esp + 0x18], 1
lea ecx, [esp + 0x30]
call fcn.00401a50
mov eax, dword [edi]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x434837
push 0x80004005
call fcn.00401470
mov esi, dword [esp + 0x20]
add eax, 8
push eax
mov ecx, esi
call fcn.00402bc0
mov dword [esp + 0xc], 1
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x24]
call fcn.00401a50
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret