joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420f00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x5e2c], 0
lea esi, [edi + 0x5e30]
je 0x420f82
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x420f3c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00423410
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.0040b2d0
mov edx, dword [esi]
mov ecx, 0x4eecec
push dword [edi + 0x5e2c]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5e38]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.0040b2d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x421390
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x4eecf0]
test bl, bl
je 0x4213d6
or edi, 0xffffffff
cmp bl, 0x23
jne 0x4213b7
cmp byte [esi], bl
jne 0x4213b7
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x484ad8]
test bl, bl
jne 0x4213a8
mov edi, dword [0x4eecf0]
mov ecx, dword [edi + 0x5dd0]
not eax
mov edx, dword [edi + 0x5dd8]
pop edi
pop esi
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*4]
pop ebx
cmp edx, ecx
je 0x4213fd
cmp dword [edx + 4], eax
je 0x421400
add edx, 0x24
cmp edx, ecx
jne 0x4213f1
xor eax, eax
ret
mov eax, edx
ret

Function at 0x421630
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x4eecf0]
sub esp, 8
push esi
mov esi, ecx
mov dword [eax + 0x5dc0], 0
push edi
test esi, esi
je 0x42168d
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.004216a0
mov edx, 0x4846bc
mov ecx, esi
mov edi, eax
call fcn.0040aa70
mov esi, eax
test esi, esi
je 0x42168d
push esi
push dword [esp + 0x10]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x434b90
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x493040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x4eecf0]
lea eax, [ebp - 0x10]
push esi
push edi
push eax
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x434d3c
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x434d3c
push 0x38
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, dword [0x4eecf0]
add esp, 4
mov edi, eax
test esi, esi
je 0x434c33
movsx edx, word [esi + 0x5ee4]
lea eax, [esi + 0x5ee8]
mov ecx, dword [esi + 0x3f08]
lea eax, [eax + edx*8]
cmp dword [eax], ecx
je 0x434c29
lea eax, [edx + 1]
mov dword [ebp - 0x1c], 6
cdq
idiv dword [ebp - 0x1c]
movzx eax, dx
mov word [esi + 0x5ee4], ax
cwde
add eax, 0xbdd
lea eax, [esi + eax*8]
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], ecx
inc word [eax + 4]
inc dword [esi + 0x5edc]
test edi, edi
je 0x434c46
push 0x38
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x434c48
xor edi, edi
or dword [ebx + 0xc], 6
mov dword [ebx + 0x74], edi
mov dword [ebx + 0x6c], str.imgui_impl_win32
mov ebx, dword [ebp - 0x24]
mov dword [edi], ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0x20], 9
test esi, esi
je 0x434c83
mov esi, dword [esi + 0x74]
jmp 0x434c85
xor esi, esi
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 4
add esi, 0x24
shr eax, 0x10
push esi
push 0x20001004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x434ca8
mov dword [esi], eax
mov eax, dword [0x4eecf0]
xor esi, esi
mov dword [ebp - 0x38], str.xinput1_4.dll
mov dword [ebp - 0x34], str.xinput1_3.dll
mov dword [ebp - 0x30], str.xinput9_1_0.dll
mov eax, dword [eax + 0x4a34]
mov dword [ebp - 0x2c], str.xinput1_2.dll
mov dword [ebp - 0x28], str.xinput1_1.dll
mov eax, dword [eax]
mov dword [eax + 0x28], ebx
mov byte [edi + 0x29], 1
push dword [ebp + esi*4 - 0x38]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x434d0a
inc esi
cmp esi, 5
jl 0x434ce1
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047dd95
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.XInputGetCapabilities
push ebx
mov dword [edi + 0x2c], ebx
call esi
push str.XInputGetState
push ebx
mov dword [edi + 0x30], eax
call esi
mov dword [edi + 0x34], eax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047dd95
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047dd95
mov esp, ebp
pop ebp
ret
Function at 0x44ad20
Capabilities:
Hash data with crc32

Disassembly:
push ecx
test dword [ecx + 0xc], 0x100000
push ebx
push esi
push edi
mov edi, edx
je 0x44ad92
mov cl, byte [edi]
lea esi, [edi + 1]
or eax, 0xffffffff
test cl, cl
je 0x44ad68
or edi, 0xffffffff
nop
cmp cl, 0x23
jne 0x44ad4f
cmp byte [esi], cl
jne 0x44ad4f
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x484ad8]
test cl, cl
jne 0x44ad40
mov ecx, dword [0x4eecf0]
not eax
cmp dword [ecx + 0x3fdc], eax
jne 0x44ad7e
mov dword [ecx + 0x3fe0], eax
cmp dword [ecx + 0x4004], eax
jne 0x44add8
mov byte [ecx + 0x4008], 1
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, dword [0x4eecf0]
xor edx, edx
mov esi, dword [eax + 0x3f8c]
mov ecx, dword [esi + 0xec]
mov eax, dword [esi + 0xf4]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.0040a9d0
mov ecx, dword [esi]
mov ebx, eax
add esp, 4
cmp dword [ecx + 0x3fc4], ebx
jne 0x44add6
push ecx
push edi
mov edx, 0xb
mov ecx, ebx
call fcn.00422550
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4520d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ffdd
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x493040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [esi + 0x424], 0
mov dword [esi + 0x428], 0
mov dword [esi + 0x42c], 0
mov dword [esi + 0x430], 0
mov dword [esi + 0x434], 0
mov dword [esi + 0x438], 0
mov dword [esi + 0x43c], 0
mov dword [esi + 0x440], 0
mov dword [esi + 0x444], 0
mov dword [esi + 0x448], 0
mov dword [esi + 0x44c], 0
mov dword [esi + 0x450], 0
mov dword [esi + 0x454], 0
mov dword [esi + 0x458], 0
mov dword [esi + 0x45c], 0
mov dword [esi + 0x460], 0
mov dword [esi + 0x464], 0
mov dword [esi + 0x468], 0
mov dword [esi + 0x46c], 0
mov dword [esi + 0x470], 0
mov dword [esi + 0x474], 0
mov dword [esi + 0x478], 0
mov dword [esi + 0x47c], 0
mov dword [esi + 0x480], 0
mov dword [esi + 0x484], 0
mov dword [esi + 0x488], 0
mov dword [esi + 0x48c], 0
mov dword [esi + 0x490], 0
mov dword [esi + 0x494], 0
mov dword [esi + 0x498], 0
mov dword [esi + 0x49c], 0
mov dword [esi + 0x4a0], 0
mov dword [esi + 0x4a4], 0
mov dword [esi + 0x4a8], 0
mov dword [esi + 0x4ac], 0
mov dword [esi + 0x4b0], 0
mov dword [esi + 0x4b4], 0
mov dword [esi + 0x4b8], 0
mov dword [esi + 0x4bc], 0
push 0x48385b
lea ecx, [esi + 0x4c0]
mov dword [ebp - 4], 0
call fcn.00404060
push 0x30
lea edi, [esi + 0x4d8]
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov dword [edi], 0
xorps xmm0, xmm0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
movups xmmword [edi + 0xc], xmm0
push 2
movq qword [edi + 0x1c], xmm0
mov dword [edi + 0x24], 0
push edi
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
mov esi, dword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
lea eax, [edi + 0x30]
push eax
call esi
lea eax, [edi + 0x58]
push eax
call esi
mov eax, dword [ebp - 0x10]
add esp, 0x1c
mov dword [edi + 0x80], 0
mov byte [edi + 0x84], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4523e0
Capabilities:
Parse pe header

Disassembly:
cmp ecx, 0x4c
ja case.default.0x4523e9
jmp dword [ecx*4 + 0x4525c4]
mov eax, 1
ret
mov eax, 2
ret
mov eax, 4
ret
mov eax, 5
ret
mov eax, 6
ret
mov eax, 8
ret
mov eax, 0x14
ret
mov eax, 0x90
ret
mov eax, 0x20
ret
mov eax, 0xd
ret
mov eax, 9
ret
mov eax, 0x10
ret
mov eax, 0x11
ret
mov eax, 0x12
ret
mov eax, 0x1b
ret
mov eax, 0x2d
ret
mov eax, 0x2e
ret
mov eax, 0x24
ret
mov eax, 0x23
ret
mov eax, 0x21
ret
mov eax, 0x22
ret
mov eax, 0x26
ret
mov eax, 0x25
ret
mov eax, 0x27
ret
mov eax, 0x28
ret
mov eax, 0x70
ret
mov eax, 0x71
ret
mov eax, 0x72
ret
mov eax, 0x73
ret
mov eax, 0x74
ret
mov eax, 0x75
ret
mov eax, 0x76
ret
mov eax, 0x77
ret
mov eax, 0x78
ret
mov eax, 0x79
ret
mov eax, 0x7a
ret
mov eax, 0x7b
ret
mov eax, 0x30
ret
mov eax, 0x31
ret
mov eax, 0x32
ret
mov eax, 0x33
ret
mov eax, 0x34
ret
mov eax, 0x35
ret
mov eax, 0x36
ret
mov eax, 0x37
ret
mov eax, 0x38
ret
mov eax, 0x39
ret
mov eax, 0x41
ret
mov eax, 0x42
ret
mov eax, 0x43
ret
mov eax, 0x44
ret
mov eax, 0x45
ret
mov eax, 0x46
ret
mov eax, 0x47
ret
mov eax, 0x48
ret
mov eax, 0x49
ret
mov eax, 0x4a
ret
mov eax, 0x4b
ret
mov eax, 0x4c
ret
mov eax, 0x4d
ret
mov eax, 0x4e
ret
mov eax, 0x4f
ret
mov eax, 0x50
ret
mov eax, 0x51
ret
mov eax, 0x52
ret
mov eax, 0x53
ret
mov eax, 0x54
ret
mov eax, 0x55
ret
mov eax, 0x56
ret
mov eax, 0x57
ret
mov eax, 0x58
ret
mov eax, 0x59
ret
mov eax, 0x5a
ret
mov eax, 0x6f
ret
mov eax, 0x6a
ret
mov eax, 0x6d
ret
mov eax, 0x6b
ret
xor eax, eax
ret
Function at 0x4532a0
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x493040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edx, ecx
lea edi, [ebp - 0x44]
mov ecx, 0xf
mov dword [ebp - 0x4c], edx
mov esi, 0x489990
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4532d0
sub ecx, esi
cmp ecx, 0xf
jbe 0x4532e5
mov ebx, 0xf
jmp 0x4532f9
mov ebx, edx
lea ecx, [ebx + 1]
nop word [eax + eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x4532f0
sub ebx, ecx
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x453300
sub ecx, esi
cmp ecx, 0xf
jbe 0x453315
mov ecx, 0xf
jmp 0x453329
mov ecx, edx
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x453320
sub ecx, edx
push 0x40
lea eax, [ecx + 0x20]
mov dword [ebp - 0x48], ecx
push 0x3000
add eax, ebx
push eax
push 0
push dword [0x4ef278]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push str.xxxxxxxxx
push 0x4899dc
sub esp, 0x224
mov dword [ebp - 0x50], eax
mov edi, esp
lea eax, [ebp - 0x58]
mov ecx, 0x89
mov esi, 0x4eed08
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00451300
mov esi, dword [ebp - 0x50]
push ebx
push dword [ebp - 0x4c]
mov ecx, dword [eax]
lea eax, [esi + 0x1e]
mov dword [ebp - 0x2e], ecx
mov dword [ebp - 0x41], eax
lea eax, [esi + 0x1f]
add eax, ebx
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x26]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [ebp - 0x48]
lea eax, [ebp - 0x25]
push edi
push dword [ebp - 0x4c]
add eax, ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x18
lea eax, [edi + 0x20]
add eax, ebx
push 0
push eax
lea eax, [ebp - 0x44]
push eax
push esi
push dword [0x4ef278]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 0
push 0
push esi
push 0
push 0
push dword [0x4ef278]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push 0
push esi
push dword [0x4ef278]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047dd95
mov esp, ebp
pop ebp
ret
Function at 0x45f7e0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480f2b
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1030
call fcn.0047efd0
mov eax, dword [0x493040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1038], edi
mov dword [ebp - 0x1038], edi
push 0
push 0
push 0
push 1
push str.User_Agent
mov dword [ebp - 4], 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, eax
mov dword [ebp - 0x1038], ecx
test ecx, ecx
jne 0x45f8b9
push 0x48385b
mov ecx, edi
call fcn.00404060
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x45f899
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45f88f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45fa06
push ecx
push edx
call fcn.0047df67
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047dd95
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp dword [ebx + 0x1c], 0xf
lea eax, [ebx + 8]
push 0
cmova eax, dword [ebx + 8]
push 0x80000000
push 0
push 0
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
je 0x45f859
xorps xmm0, xmm0
mov dword [ebp - 0x1024], 0
movups xmmword [ebp - 0x1034], xmm0
mov dword [ebp - 0x1020], 0xf
mov byte [ebp - 0x1034], 0
lea eax, [ebp - 0x101c]
mov byte [ebp - 4], 1
push eax
push 0xfff
lea eax, [ebp - 0x1018]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x45f97d
nop dword [eax + eax]
mov eax, dword [ebp - 0x101c]
test eax, eax
je 0x45f97d
cmp eax, 0x1000
jae 0x45fa0c
mov byte [ebp + eax - 0x1018], 0
lea ecx, [ebp - 0x1034]
lea eax, [ebp - 0x1018]
push eax
call fcn.0046ba40
lea eax, [ebp - 0x101c]
push eax
push 0xfff
lea eax, [ebp - 0x1018]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x45f930
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x1038]
call esi
mov ecx, dword [ebx + 0x1c]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmm0, xmmword [ebp - 0x1034]
mov byte [ebp - 0x1034], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x1024]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x1024], 0
mov dword [ebp - 0x1020], 0xf
cmp ecx, 0xf
jbe 0x45f899
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45f88f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45f88f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.0047e12e
int3
Function at 0x467be0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x493040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x4ef157], 0
je 0x467de6
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [ebp - 0x14]
push 0
push 4
push eax
mov eax, dword [0x4ef188]
add eax, 0x59f19c
mov dword [ebp - 0x14], 0
push eax
push dword [0x4ef278]
call esi
push 0
push 4
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
mov eax, dword [ebp - 0x14]
add eax, 0x108
push eax
push dword [0x4ef278]
call esi
cmp dword [ebp - 0xc], 6
jne 0x467de5
push edi
push 0
push 4
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
mov eax, dword [0x4ef354]
add eax, dword [0x4ef17c]
push eax
push dword [0x4ef278]
call esi
mov edi, dword [ebp - 0xc]
lea eax, [ebp - 0x14]
push 0
push 4
push eax
lea eax, [edi + 0x25f]
mov dword [ebp - 0x14], 0
push eax
push dword [0x4ef278]
call esi
cmp dword [ebp - 0x14], 0
jne 0x467de4
push 0
push 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
lea eax, [edi + 0x100]
push eax
push dword [0x4ef278]
call esi
cmp dword [ebp - 0x10], 0
jle 0x467de4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x4ef184]
jne 0x467de4
mov ecx, dword [0x4e749c]
call fcn.004523e0
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x467de4
push 0
push 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
mov eax, dword [0x4ef354]
add eax, dword [0x4ef17c]
push eax
push dword [0x4ef278]
call esi
push 0
push 4
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x25c
push eax
push dword [0x4ef278]
call esi
cmp dword [ebp - 0xc], 9
push 0
push 4
jne 0x467d4d
mov dword [ebp - 0x10], 6
lea eax, [ebp - 0x10]
jmp 0x467dcc
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
mov eax, dword [0x4ef354]
add eax, dword [0x4ef17c]
push eax
push dword [0x4ef278]
call esi
push 0
push 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
mov eax, dword [0x4ef354]
add eax, dword [0x4ef17c]
push eax
push dword [0x4ef278]
call esi
push 0
push 1
lea eax, [ebp - 5]
mov byte [ebp - 5], 0
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x104
push eax
push dword [0x4ef278]
call esi
test byte [ebp - 5], 1
push 0
push 4
je 0x467dc2
mov dword [ebp - 0x14], 6
lea eax, [ebp - 0x14]
jmp 0x467dcc
mov dword [ebp - 0x18], 4
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x4ef17c]
add eax, 0x52c0f50
push eax
push dword [0x4ef278]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047dd95
mov esp, ebp
pop ebp
ret
Function at 0x468670
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x493040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x4ef156], 0
push esi
push edi
je 0x468815
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [ebp - 0xc]
push 0
push 4
push eax
mov eax, dword [0x4ef188]
add eax, 0x59f19c
mov dword [ebp - 0xc], 0
push eax
push dword [0x4ef278]
call esi
push 0
push 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
mov eax, dword [ebp - 0xc]
add eax, 0x108
push eax
push dword [0x4ef278]
call esi
cmp dword [ebp - 0x10], 6
jne 0x468815
push 0
push 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
mov eax, dword [0x4ef354]
add eax, dword [0x4ef17c]
push eax
push dword [0x4ef278]
call esi
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push 0
push 4
push eax
lea eax, [edi + 0x25f]
mov dword [ebp - 0xc], 0
push eax
push dword [0x4ef278]
call esi
cmp dword [ebp - 0xc], 0
jne 0x468815
push 0
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
lea eax, [edi + 0x100]
push eax
push dword [0x4ef278]
call esi
cmp dword [ebp - 8], 0
jle 0x468815
mov ecx, dword [0x4ef200]
call fcn.004523e0
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x468815
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x4ef184]
jne 0x468815
push 0
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
mov eax, dword [0x4ef354]
add eax, dword [0x4ef17c]
push eax
push dword [0x4ef278]
call esi
mov ecx, dword [ebp - 8]
call fcn.00453740
cmp ax, 4
je 0x4687df
cmp ax, 0x3d
je 0x4687df
cmp ax, 0x20
je 0x4687df
cmp ax, 2
je 0x4687df
cmp ax, 0x24
je 0x4687df
cmp ax, 3
je 0x4687df
cmp ax, 0x1e
je 0x4687df
cmp ax, 1
jne 0x468815
call fcn.00453190
push 0
test al, al
mov dword [ebp - 8], 5
lea eax, [ebp - 8]
push 4
push eax
mov eax, dword [0x4ef17c]
jne 0x468803
mov dword [ebp - 8], 4
add eax, 0x3233024
push eax
push dword [0x4ef278]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0047dd95
mov esp, ebp
pop ebp
ret
Function at 0x46d130
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48148c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x493040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea esi, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x46d1e4
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov al, byte [ebp + 0xc]
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 5
push 9
mov byte [edi + 0x60], al
call fcn.0046ccd0
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0x10]
mov byte [ebp - 0xd], 1
call fcn.0046e5d0
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x46d224
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30

Function at 0x4718c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48180d
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x493040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 4
call fcn.0047de1d
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [ecx], eax
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push ecx
push 0x47bec0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x471942
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047dd95
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3