joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437680
Capabilities:
Resolve dns

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push ebp
xor ebp, ebp
mov dword [esp + 4], ebp
mov dword [eax], ebp
lea eax, [esp + 8]
push eax
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.DLL_getaddrinfo]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x437813
push ebx
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x4377fd
push esi
mov eax, dword [edi + 4]
cmp eax, 2
jne 0x4376cf
lea ebx, [eax + 0xe]
jmp 0x4376db
cmp eax, 0x17
jne 0x43778a
lea ebx, [eax + 5]
cmp dword [edi + 0x18], 0
je 0x43778a
mov eax, dword [edi + 0x10]
test eax, eax
je 0x43778a
cmp eax, ebx
jb 0x43778a
push 0x20
call dword [0x44ade0]
mov esi, eax
add esp, 4
test esi, esi
je 0x4377f2
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
push ebx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
call dword [0x44ade0]
add esp, 4
mov dword [esi + 0x18], eax
test eax, eax
je 0x4377e1
push ebx
push dword [edi + 0x18]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [edi + 0x14]
add esp, 0xc
test eax, eax
je 0x437775
push eax
call dword [0x44adec]
add esp, 4
mov dword [esi + 0x14], eax
test eax, eax
je 0x4377c7
test ebp, ebp
jne 0x43777b
mov ebp, esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x437786
mov dword [eax + 0x1c], esi
mov dword [esp + 0x10], esi
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x4376c2
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
pop esi
test eax, eax
je 0x4377a9
push eax
call dword [sym.imp.WS2_32.DLL_freeaddrinfo]
test ebx, ebx
je 0x4377f9
push ebp
call fcn.00437640
mov eax, dword [esp + 0x2c]
add esp, 4
xor ebp, ebp
mov dword [eax], ebp
mov eax, ebx
pop edi
pop ebx
pop ebp
add esp, 0xc
ret
push dword [esi + 0x18]
mov ebx, 8
call dword [0x44ade4]
push esi
call dword [0x44ade4]
add esp, 8
jmp 0x437799
push esi
mov ebx, 8
call dword [0x44ade4]
add esp, 4
jmp 0x437799
mov ebx, 8
jmp 0x437799
test ebp, ebp
jne 0x437809
mov ebx, 0x2af9
push ebx
call dword [sym.imp.WSOCK32.DLL_WSASetLastError]
mov eax, dword [esp + 0x28]
pop edi
mov dword [eax], ebp
mov eax, ebx
pop ebx
pop ebp
add esp, 0xc
ret

Function at 0x437c60
Capabilities:
Create udp socket

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x264], 2
je fcn.00437c10
mov al, 1
ret
Function at 0x43d6ab
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov edi, ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
mov esi, 0x44cddc
cmp dword [0x44cdd8], edi
jne 0x43d6da
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x44cdd8], 1
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x44cdd4]
test esi, esi
je 0x43d735
test edi, edi
jne 0x43d87c
xor eax, eax
lea ecx, [esi + 0x114]
inc eax
cmp ebx, dword [ecx]
je 0x43d70b
inc eax
add ecx, 4
cmp eax, 0x40
jl 0x43d6fc
jmp 0x43d727
push dword [esp + 0x1c]
add eax, 0x84
push dword [esp + 0x1c]
lea eax, [esi + eax*4]
push eax
call fcn.0043d654
xor edi, edi
add esp, 0xc
inc edi
mov esi, dword [esi]
test esi, esi
jne 0x43d6eb
test edi, edi
jne 0x43d87c
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [esp + 0x10]
push ebp
push ebp
push 0x100000
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x43d87c
mov esi, dword [0x44cdd4]
jmp 0x43d776
cmp dword [esi + 0xc], 0x3f
jl 0x43d817
mov esi, dword [esi]
test esi, esi
jne 0x43d76a
push 0x310
push 8
push dword [0x44c824]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
test esi, esi
je 0x43d876
push ebp
push 1
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [esi + 8], eax
test eax, eax
je 0x43d868
push ebp
push ebp
push esi
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x1c]
push 0x43d88f
mov dword [esi + 0x114], ebx
lea ebx, [esi + 0x214]
push 0x1000
mov dword [esi + 0x14], eax
mov dword [ebx], ebp
push ebp
mov dword [esi + 0xc], 2
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x43d863
push eax
call edi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push ebx
call fcn.0043d654
mov eax, dword [0x44cdd4]
add esp, 0xc
mov dword [esi + 4], ebp
mov dword [esi], eax
test eax, eax
je 0x43d80f
mov dword [eax + 4], esi
mov dword [0x44cdd4], esi
jmp 0x43d87c
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x10]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
mov dword [esi + ecx*4 + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [esi + eax*4 + 0x110], ebx
mov eax, dword [esi + 0xc]
mov dword [esi + eax*4 + 0x210], ebp
mov eax, dword [esi + 0xc]
add eax, 0x84
lea eax, [esi + eax*4]
push eax
call fcn.0043d654
add esp, 0xc
inc dword [esi + 0xc]
push ebp
push 1
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
jmp 0x43d87c
push dword [esi + 8]
call edi
push esi
push ebp
push dword [0x44c824]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [esp + 0x10]
call edi
push 0x44cddc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x411690
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2e4b
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x544320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xdc], ecx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xd8]
push 0x84
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xd8]
call fcn.004a4bb0
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0xd8]
push edi
push 0x512214
push eax
mov dword [ebp - 4], 0
call fcn.004a5360
add esp, 0xc
mov dword [ebp - 0x50], 0x40
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
shrd ecx, eax, 0x14
shr eax, 0x14
test eax, eax
jne 0x411771
cmp ecx, 0x2200
ja 0x411771
test eax, eax
jne 0x41176a
cmp ecx, 0x1c00
ja 0x41176a
test eax, eax
jne 0x411763
cmp ecx, 0xe00
ja 0x411763
test eax, eax
jne 0x41175c
cmp ecx, 0xa00
ja 0x41175c
mov eax, 0x300
jmp 0x411776
mov eax, 0x400
jmp 0x411776
mov eax, 0x800
jmp 0x411776
mov eax, 0xc00
jmp 0x411776
mov eax, 0x1000
cmp edi, eax
jne 0x411790
mov ecx, str.recommend_postfix
call fcn.0040da10
push eax
lea ecx, [ebp - 0xd8]
call fcn.004a4e70
mov esi, dword [ebx]
lea ecx, [ebp - 0xd8]
call fcn.0041c570
push eax
mov ecx, ebx
call dword [esi + 0x3c]
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0xd8]
mov eax, dword [ebp - 0xdc]
lea ecx, [ebx + 0x760]
mov edx, dword [ecx]
push 0
mov eax, dword [eax]
cmp dword [eax + 0x63c], edi
sete al
movzx eax, al
push eax
call dword [edx + 0x1c]
lea ecx, [ebp - 0xd8]
mov dword [ebp - 4], 0xffffffff
call fcn.004a4c70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f048a
mov esp, ebp
pop ebp
ret 8
Function at 0x41dbf0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x544320]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov ebx, edx
mov esi, ecx
push edi
cmp esi, ebx
je 0x41dc3b
jmp 0x41dc10
mov edi, dword [esi]
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x4c], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
shrd ecx, eax, 0x14
shr eax, 0x14
cmp ecx, edi
jle 0x41dc3b
add esi, 4
cmp esi, ebx
jne 0x41dc10
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f048a
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f434e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x544320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
lea ecx, [edi + 4]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.0041eb10
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0
lea ecx, [edi + 0x24]
mov dword [ebp - 0x10], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.0041eb10
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov byte [ebp - 4], 2
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], esi
mov dword [edi + 0x60], edx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
je 0x41e8f4
test dl, 0x10
jne 0x41e8f4
mov eax, 1
jmp 0x41e8f6
xor eax, eax
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
push dword [esi + 0x18]
call fcn.0041e990
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x424b60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x424b91
lea ecx, [ecx]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x424b80
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x427ee0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x544320]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 4]
cmp eax, 2
je 0x427f47
cmp eax, 1
je 0x427f47
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
shrd ecx, eax, 0x14
shr eax, 0x14
test eax, eax
jne 0x427fe1
cmp ecx, 0x2200
ja 0x427fe1
push eax
push ecx
call fcn.0046fc20
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f048a
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
shrd ecx, eax, 0x14
shr eax, 0x14
test eax, eax
jne 0x427fe1
cmp ecx, 0x2200
ja 0x427fe1
test eax, eax
jne 0x427fce
cmp ecx, 0x1c00
ja 0x427fce
test eax, eax
jne 0x427fbb
cmp ecx, 0xe00
ja 0x427fbb
test eax, eax
jne 0x427fa8
cmp ecx, 0xa00
ja 0x427fa8
mov eax, 0x300
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f048a
mov esp, ebp
pop ebp
ret
mov eax, 0x400
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f048a
mov esp, ebp
pop ebp
ret
mov eax, 0x800
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f048a
mov esp, ebp
pop ebp
ret
mov eax, 0xc00
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f048a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x1000
xor ecx, ebp
call fcn.004f048a
mov esp, ebp
pop ebp
ret
Function at 0x428560
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4bab
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x544320]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0041c510
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x230]
push eax
push 0
mov dword [ebp - 0x230], 0
call esi
test eax, eax
je 0x4285b9
cmp eax, 0x6f
jne 0x4285e8
push dword [ebp - 0x230]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [ebp - 0x234], edi
test edi, edi
je 0x4285e8
lea eax, [ebp - 0x230]
push eax
push edi
call esi
test eax, eax
je 0x428606
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004f048a
mov esp, ebp
pop ebp
ret
xor eax, eax
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x1b], eax
mov esi, edi
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
jmp 0x428620
mov eax, dword [esi + 0x194]
lea ecx, [ebp - 0x1c]
cmp eax, dword [ecx]
jne 0x42863c
mov eax, dword [esi + 0x198]
cmp eax, dword [ecx + 4]
je 0x42874b
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x22a]
push eax
call sub.MSVCR120.dll_memset
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02X_02X_02X_02X_02X_02X
push 0xffffffffffffffff
lea eax, [ebp - 0x22c]
push 0x104
push eax
call dword [sym.imp.MSVCR120.dll__snwprintf_s]
xor eax, eax
mov dword [ebp - 0x238], 7
add esp, 0x34
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
cmp word [ebp - 0x22c], ax
je 0x4286e1
lea eax, [ebp - 0x22c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4286d2
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0040a1c0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24c]
mov edi, dword [ebx]
push eax
push dword [edi + 4]
push edi
call fcn.00428780
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x42876e
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], edx
cmp dword [ebp - 0x238], 8
jb 0x42874b
push dword [ebp - 0x24c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [esi]
test esi, esi
jne 0x428620
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
cmp dword [ebx + 4], eax
setne al
jmp 0x4285ea
push str.list_T__too_long
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x429fa0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x544320]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x42a0ea
test edx, edx
jle 0x42a0ea
push edx
xorps xmm0, xmm0
mov byte [ebp - 0x2c], 0
push ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x94], 0x67452301
mov dword [ebp - 0x90], 0xefcdab89
mov dword [ebp - 0x8c], 0x98badcfe
mov dword [ebp - 0x88], 0x10325476
mov byte [ebp - 0x28], 0
movdqu xmmword [ebp - 0x27], xmm0
movdqu xmmword [ebp - 0x17], xmm0
call fcn.004296a0
lea ecx, [ebp - 0x94]
call fcn.00429770
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x94]
call fcn.00429840
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x42a048
mov eax, dword [esi]
jmp 0x42a04a
mov eax, esi
lea edx, [ebp - 0x28]
cmp edx, eax
jb 0x42a097
cmp ecx, 0x10
jb 0x42a05a
mov edx, dword [esi]
jmp 0x42a05c
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x28]
cmp eax, edx
jbe 0x42a097
cmp ecx, 0x10
jb 0x42a071
mov ecx, dword [esi]
jmp 0x42a073
mov ecx, esi
push 0x20
lea eax, [ebp - 0x28]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.00424d90
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f048a
mov esp, ebp
pop ebp
ret
cmp ecx, 0x20
jae 0x42a0a8
push dword [esi + 0x10]
mov ecx, esi
push 0x20
call fcn.00424ef0
cmp dword [esi + 0x14], 0x10
jb 0x42a0b2
mov eax, dword [esi]
jmp 0x42a0b4
mov eax, esi
push 0x20
lea ecx, [ebp - 0x28]
push ecx
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov dword [esi + 0x10], 0x20
cmp dword [esi + 0x14], 0x10
jb 0x42a0d2
mov esi, dword [esi]
mov byte [esi + 0x20], 0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f048a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004f048a
mov esp, ebp
pop ebp
ret
Function at 0x42db90
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f513c
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push esi
push edi
mov eax, dword [0x544320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
push 0
mov dword [ebp - 0x18], 0
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyW]
sar esi, 0x10
push edi
and esi, 0xfff
call ebx
test eax, eax
jne 0x42dbe5
push 1
push esi
call ebx
mov edi, eax
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
xorps xmm0, xmm0
push 0x10
movq qword [ebp - 0x14], xmm0
call esi
mov ebx, dword [ebp - 0x14]
xor ecx, ecx
test ax, ax
mov edx, 4
push 0x11
cmovs ecx, edx
or ebx, ecx
call esi
xor ecx, ecx
mov edx, 2
test ax, ax
push 0x12
cmovs ecx, edx
or ebx, ecx
call esi
xor ecx, ecx
test ax, ax
sets cl
or ebx, ecx
cmp edi, 0x10
je 0x42dc65
cmp edi, 0x11
je 0x42dc65
cmp edi, 0x12
je 0x42dc65
mov edx, edi
lea ecx, [ebp - 0xa0]
call fcn.0042dca0
mov dword [ebp - 4], 0
mov ecx, eax
mov dword [ebp - 0x18], 1
call fcn.004a5630
test al, al
jne 0x42dc65
mov word [ebp - 0x10], di
jmp 0x42dc6b
xor eax, eax
mov word [ebp - 0x10], ax
mov dword [ebp - 4], 0xffffffff
test byte [ebp - 0x18], 1
je 0x42dc83
lea ecx, [ebp - 0xa0]
call fcn.004a4c70
mov edx, dword [ebp - 0x10]
mov eax, ebx
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 0x42faf0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f57da
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x544320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [esi + 0x2c], 7
mov dword [esi + 0x28], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x44], 0xf
mov dword [esi + 0x40], eax
mov byte [esi + 0x30], al
push eax
mov byte [ebp - 4], 2
push eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
call fcn.0041ca00
mov dword [esi + 0x48], eax
lea eax, [esi + 0x50]
mov byte [ebp - 4], 3
push 2
push eax
call dword [sym.imp.MSVCP120.dll__Mtx_init]
add esp, 8
test eax, eax
je 0x42fb7d
push eax
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Throw_C_error_int_]
add esp, 4
lea eax, [esi + 0x54]
mov byte [ebp - 4], 4
push eax
call dword [sym.imp.MSVCP120.dll__Cnd_init]
add esp, 4
test eax, eax
je 0x42fb9c
push eax
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Throw_C_error_int_]
add esp, 4
mov dword [esi + 0x58], 0
mov byte [esi + 0x5c], 0
mov byte [ebp - 4], 6
lea ecx, [esi + 0x64]
mov word [esi + 0x60], 0
call fcn.00482fd0
mov dword [esi + 0x68], 0
mov eax, esi
mov dword [esi + 0x6c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x431690
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5b13
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x544320]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
push ecx
call fcn.00433e40
lea edx, [edi + 0x30]
mov dword [edi], vtable.std::_Packaged_state_void____cdecl___void__.0
mov dword [edx + 0x10], 0
mov eax, dword [ebp + 8]
mov dword [edx], vtable.._AV___Func_impl_U___Callable_obj_V___Bind__0A_XV_lambda_ae3918e9c7b8f5941939000d60e13f53______V_std___0A__std__V__allocator_V___Func_class_X___V_std___2_X___V_std__.0
mov eax, dword [eax]
mov dword [edx + 4], eax
mov dword [edx + 0x10], edx
mov dword [ebp - 4], 2
lea ebx, [edi + 0x48]
mov dword [edi], vtable.std::_Task_async_state_void__0_.0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov byte [ebp - 4], 3
lea eax, [edi + 4]
mov ecx, 1
lock xadd dword [eax], ecx
sub esp, 0x2c
mov esi, esp
sub esp, 8
mov ecx, esp
call fcn.00434040
mov ecx, esi
call fcn.00433fc0
lea ecx, [esi + 0xc]
call fcn.00434050
mov dword [esi + 0x1c], 0
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x18], 0
mov byte [esi + 0x14], 0
push edi
mov word [esi + 0x28], 0
call fcn.004319a0
add esp, 0x30
cmp ebx, eax
je 0x431770
push eax
mov ecx, ebx
call fcn.004340a0
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x43179c
or ebx, 0xffffffff
lea ecx, [esi + 4]
mov eax, ebx
lock xadd dword [ecx], eax
jne 0x43179c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x43179c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, edi
mov byte [edi + 0x26], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004f048a
mov esp, ebp
pop ebp
ret 4
Function at 0x434120
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f6328
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x544320]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
push edi
mov eax, dword [0x544320]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0
xorps xmm0, xmm0
push eax
movq qword [esp + 0x14], xmm0
call dword [sym.imp.MSVCR120.dll_void___cdecl___ExceptionPtrCreate_void__]
push 0x53f23c
lea eax, [esp + 0x18]
mov dword [esp + 0x30], 0
push esi
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl___ExceptionPtrCopyException_void___void_const___void_const__]
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.MSVCR120.dll_void___cdecl___ExceptionPtrCopy_void___void_const__]
lea eax, [esp + 0x28]
mov dword [esp + 0x40], 0xffffffff
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl___ExceptionPtrDestroy_void__]
add esp, 0x1c
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004f048a
mov esp, ebp
pop ebp
ret