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

Disassembly:
mov eax, 0x46f9e5
call fcn.0046f5a4
sub esp, 0x60
push ebx
push esi
xor esi, esi
cmp byte [0x507b6c], 0
push edi
jne 0x40746b
push 0x2220
call dword [sym.imp.SDL2.dll_SDL_Init]
pop ecx
test eax, eax
je 0x4073dd
call dword [sym.imp.SDL2.dll_SDL_GetError]
push dword [ebp - 0x18]
mov ebx, eax
push ecx
lea ecx, [ebp - 0x50]
call fcn.00412be6
push ecx
push 0x1a
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.004123c9
mov edx, esi
mov cl, byte [edi + edx + 1]
lea eax, [ebp - 0x34]
xor cl, byte [edi]
cmp dword [ebp - 0x20], 0xf
cmova eax, dword [ebp - 0x34]
mov byte [eax + edx], cl
inc edx
cmp edx, 0x1a
jb 0x40739f
mov dword [ebp - 4], esi
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0xf
push ebx
cmova eax, dword [ebp - 0x34]
push eax
call fcn.0044fad4
pop ecx
pop ecx
lea ecx, [ebp - 0x34]
call fcn.00412370
jmp 0x40746b
push esi
call dword [sym.imp.SDL2.dll_SDL_GameControllerOpen]
mov dword [0x507708], eax
pop ecx
test eax, eax
jne 0x40744c
call dword [sym.imp.SDL2.dll_SDL_GetError]
push dword [ebp - 0x18]
mov ebx, eax
push ecx
lea ecx, [ebp - 0x69]
call fcn.00412c92
push ecx
push 0x33
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.004123c9
mov cl, byte [edi + esi + 1]
lea eax, [ebp - 0x34]
xor cl, byte [edi]
cmp dword [ebp - 0x20], 0xf
cmova eax, dword [ebp - 0x34]
mov byte [eax + esi], cl
inc esi
cmp esi, 0x33
jb 0x40740f
mov dword [ebp - 4], 1
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0xf
push ebx
cmova eax, dword [ebp - 0x34]
push eax
call fcn.0044fad4
pop ecx
pop ecx
lea ecx, [ebp - 0x34]
call fcn.00412370
lea ecx, [ebp - 0x1c]
call fcn.00401dfc
mov byte [0x507b6c], 1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [0x5076a0], ecx
mov dword [0x5076a4], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x407c0e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov al, byte [0x5079ac]
sub esp, 0x10
push esi
push edi
mov edi, ecx
test al, al
jne 0x407c3e
mov eax, dword [edi]
push ecx
mov ecx, dword [eax*4 + 0x474e60]
call fcn.0045019c
pop ecx
test al, al
je 0x407c93
mov byte [0x5079ac], 1
jmp 0x407c93
cmp al, 1
jne 0x407c93
push ecx
mov ecx, 0x473790
call fcn.0045019c
and dword [ebp - 4], 0
lea edx, [ebp - 8]
pop ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 8], 0x46
call fcn.00412e3b
mov ecx, eax
call fcn.004167bd
mov esi, 0x474b88
push dword [esi]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x407c88
mov eax, dword [esi]
mov dword [edi], eax
mov byte [0x5079ac], 0
add esi, 4
cmp esi, 0x474e60
jne 0x407c70
pop edi
pop esi
leave
ret
Function at 0x409048
Capabilities:
Create process on windows
Self delete
Terminate process

Disassembly:
push esi
call fcn.00408c28
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
xor esi, esi
push esi
push esi
push 0x4737b0
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push esi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x409075
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
push edi
push 0
push 2
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x22c], 0x22c
lea eax, [ebp - 0x22c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x409116
push esi
mov ecx, ebx
lea eax, [ebp - 0x208]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4090d9
test dx, dx
je 0x4090d5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4090d9
add eax, 4
add ecx, 4
test dx, dx
jne 0x4090b3
xor eax, eax
jmp 0x4090de
sbb eax, eax
or eax, 1
test eax, eax
jne 0x409103
push dword [ebp - 0x224]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x22c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4090ab
pop esi
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
leave
ret
Function at 0x4126c1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x38], ebx
je 0x41271b
cmp byte [edi + 0x3d], bl
je 0x41271b
mov eax, dword [edi]
push 0xffffffffffffffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4725ac]
mov ecx, edi
call esi
cmp eax, 0xffffffff
je 0x41274b
mov ecx, dword [edi + 0x38]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [edi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, ebx
je 0x412722
sub eax, 1
je 0x412725
dec eax
sub eax, 1
jne 0x41274b
mov byte [edi + 0x3d], bl
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
mov byte [edi + 0x3d], bl
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x412743
push dword [edi + 0x4c]
push esi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x41274b
cmp byte [edi + 0x3d], bl
sete al
jmp 0x41271d
xor al, al
jmp 0x41271d

Function at 0x416799
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, dword [esp + 8]
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [esi + ecx]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0x4167a5
pop esi
mov eax, edx
ret 4

Function at 0x416d75
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, 0x270
cmp dword [esi], edi
jne 0x416dbd
lea edx, [esi + 8]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x416d85
jmp 0x416dca
cmp dword [esi], 0x4e0
jb 0x416dca
call fcn.00416e04
mov eax, dword [esi]
pop edi
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
pop esi
ret
Function at 0x416e04
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, 0xe3
push edi
lea edi, [esi + 0x9c4]
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ecx, eax
lea edi, [edx + 4]
mov ebx, dword [edi]
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub ebp, 1
jne 0x416e17
lea edi, [esi + 0xd50]
mov ebp, 0x18c
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ecx, eax
lea edi, [edx + 4]
mov ebx, dword [edi]
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub ebp, 1
jne 0x416e5e
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
and dword [esi], ebp
and eax, 0x9908b0df
shr ecx, 1
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
pop esi
pop ebp
pop ebx
ret

Function at 0x418615
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp byte [0x507b85], 0
push esi
jne 0x418655
cmp dword [0x5068cc], 0xffffffff
jne 0x418635
mov ecx, str.Set_HotKey
jmp 0x418641
mov eax, dword [0x5064a8]
mov ecx, dword [eax*4 + 0x475418]
push ecx
call fcn.0045019c
pop ecx
test al, al
je 0x4186b5
mov byte [0x507b85], 1
jmp 0x4186b5
push ecx
mov ecx, 0x473790
call fcn.0045019c
and dword [ebp - 4], 0
lea edx, [ebp - 8]
pop ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 8], 1
call fcn.00412e3b
mov ecx, eax
call fcn.004167bd
xor esi, esi
push dword [esi*4 + 0x475140]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x41869d
inc esi
cmp esi, 0xb6
jb 0x418680
jmp 0x4186b5
mov eax, dword [esi*4 + 0x475140]
mov dword [0x5064a8], eax
mov dword [0x5068cc], eax
mov byte [0x507b85], 0
pop esi
leave
ret

Function at 0x4186b8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push dword [ebp - 4]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0041a425
xor edx, edx
mov cl, byte [eax + edx + 1]
xor cl, byte [eax]
mov byte [edx + 0x50a648], cl
inc edx
cmp edx, 0x16
jb 0x4186cc
mov ecx, 0x50a648
mov byte [0x50a65e], 0
call fcn.00451f4c
call fcn.0040782b
lea edx, [ebp - 8]
mov dword [ebp - 8], 0x42be0000
mov dword [ebp - 4], 0x41e00000
call fcn.00418615
call fcn.004361ce
push dword [ebp - 4]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0041a4bb
xor edx, edx
mov cl, byte [eax + edx + 1]
xor cl, byte [eax]
mov byte [edx + 0x50a620], cl
inc edx
cmp edx, 0x12
jb 0x41871d
push 0x5079dd
push 0x50a620
mov byte [0x50a632], 0
call fcn.0045ff3a
call fcn.00436222
mov ecx, 0x472d3e
call fcn.00451f4c
xorps xmm0, xmm0
call fcn.00438985
leave
ret
Function at 0x4192c4
Capabilities:
Delete file

Disassembly:
mov eax, 0x4704c0
call fcn.0046f5a4
sub esp, 0xb8
cmp byte [ebp + 8], 0
push esi
push edi
mov esi, edx
mov edi, ecx
je 0x419368
sub esp, 0xc
lea ecx, [ebp - 0xc0]
push str.log.config
call fcn.0041282f
and dword [ebp - 4], 0
cmp dword [ebp - 0x70], 0
je 0x419355
mov edx, edi
lea ecx, [ebp - 0xc0]
call fcn.00412f0b
mov edi, 0x412f20
mov ecx, eax
push edi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edx, esi
lea ecx, [ebp - 0xc0]
call fcn.00412f0b
push edi
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push dword [ebp + 8]
lea ecx, [ebp - 0xc0]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___bool_]
push edi
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0xc0]
call fcn.00412084
lea ecx, [ebp - 0x58]
call fcn.004120a5
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
jmp 0x419374
push str.log.config
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x41befc
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41bf20
xor al, al
jmp 0x41bf6d
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x41bf5c
lea eax, [ebp - 0x208]
push edi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x41bf62
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x41bf3a
jmp 0x41bf64
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41c30c
Capabilities:
Hide graphical window

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test eax, eax
je 0x41c325
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp dword [sym.imp.KERNEL32.dll_FreeConsole]
ret
Function at 0x421b92
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x470d3e
call fcn.0046f5a4
push ecx
push ecx
push ebx
push esi
xor esi, esi
xor eax, eax
mov dword [ebp - 0x10], esi
mov edx, ecx
mov ebx, dword [ebp + 8]
push edi
mov edi, ebx
mov dword [ebp - 0x14], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], 1
mov cx, word [edx + 0xc]
mov eax, 0xff
and cx, ax
xor cx, word [edx + esi*2]
movzx ecx, cx
push ecx
mov ecx, ebx
call fcn.00419e3d
mov edx, dword [ebp - 0x14]
inc esi
cmp esi, 5
jb 0x421bcf
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x421d30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edx, dword [esp + 8]
mov ecx, 0x811c9dc5
push esi
push edi
mov edi, dword [esp + 0xc]
push 0
pop esi
sub edx, edi
je 0x421d57
movzx eax, byte [edi + esi]
xor eax, ecx
imul ecx, eax, 0x1000193
inc esi
cmp esi, edx
jb 0x421d46
pop edi
mov eax, ecx
pop esi
ret 8
Function at 0x4267a7
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x470f78
call fcn.0046f5a4
push ecx
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
push edi
mov dword [esi], eax
lea ecx, [esi + 0x14]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ebp - 0x14], ecx
mov dword [ecx + 0xc], ebx
push ebx
mov dword [ebp - 4], ebx
call fcn.00426a32
xor edi, edi
inc edi
push 0x24
mov dword [ebp - 4], edi
call fcn.0046e2cb
mov dword [ebp - 0x14], eax
pop ecx
mov ecx, esi
mov dword [eax + 4], 0x14
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax], vtable.std::_Root_node.0
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ebx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 0x100
mov dword [esi + 0x38], 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov dword [esi + 0x50], 0x8775dfb
call fcn.00426a95
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x42767d
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x427813
mov edx, 0x10000000
cmp eax, 0x7c
je 0x427813
cmp eax, 0x29
jne 0x4276e9
cmp dword [esi + 0x10], 0
jne 0x427813
test dword [esi + 0x50], edx
je 0x427819
cmp eax, 0x5d
jne 0x4276c4
test dword [esi + 0x50], edx
je 0x4277a9
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00428307
mov bl, 1
mov ecx, esi
call fcn.00427655
test bl, bl
je 0x4276e5
mov ecx, esi
call fcn.00428222
mov cl, 1
jmp 0x427684
cmp eax, 0x2e
jne 0x427701
push 5
lea ecx, [esi + 0x24]
call fcn.004278e0
mov ecx, esi
call fcn.00427655
jmp 0x4276de
cmp eax, 0x5c
jne 0x42774d
mov ecx, esi
call fcn.00427655
test byte [esi + 0x50], 0x80
je 0x427744
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x42772d
push 4
lea ecx, [esi + 0x24]
call fcn.004278e0
mov ecx, esi
call fcn.00427655
jmp 0x4276e5
cmp al, 0x42
jne 0x427744
push 4
lea ecx, [esi + 0x24]
call fcn.004278e0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x427724
mov ecx, esi
call fcn.004280bb
jmp 0x4276de
cmp eax, 0x5b
jne 0x4277ad
mov ecx, esi
call fcn.00427655
lea ecx, [esi + 0x24]
call fcn.004292ea
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x42777a
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00427655
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x427798
cmp eax, 0x5d
jne 0x427798
push eax
lea ecx, [esi + 0x24]
call fcn.00429332
mov ecx, esi
call fcn.00427655
mov ecx, esi
call fcn.00428fb1
cmp dword [esi + 0x4c], 0x5d
je 0x4276f8
push 4
jmp 0x42781b
cmp eax, 0x28
jne 0x4277cd
mov ecx, esi
call fcn.00427655
mov ecx, esi
call fcn.00428193
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x427819
jmp 0x4276d3
cmp eax, 0x5e
jne 0x4277d9
push 2
jmp 0x42771c
cmp eax, 0x24
jne 0x4277e5
push 3
jmp 0x42771c
cmp eax, 0x2a
je 0x42780f
cmp eax, 0x2b
je 0x42780f
cmp eax, 0x3f
je 0x42780f
cmp eax, 0x7b
je 0x42780f
cmp eax, 0x7d
jne 0x4276b6
test dword [esi + 0x50], edx
jne 0x4276c4
push 6
jmp 0x42781b
push 0xa
jmp 0x42781b
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.00426a8a
int3

Function at 0x42a851
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x471112
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x30]
test edi, edi
je 0x42a882
mov ecx, edi
call fcn.0042a59f
mov ecx, edi
call fcn.0042fa7f
mov edi, dword [esi + 0x34]
test edi, edi
je 0x42a897
mov ecx, edi
call fcn.0042a59f
mov ecx, edi
call fcn.0042fa7f
and dword [ebp - 4], 0
lea eax, [esi + 0x64]
push 0x43ea30
push 2
push 0xc
push eax
call fcn.0046e588
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x42c3d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, edx
mov edx, dword [esp + 8]
push edi
mov edi, ecx
not edx
movzx eax, byte [edi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x475950]
inc edi
sub esi, 1
jne 0x42c3dc
pop edi
not edx
pop esi
mov eax, edx
ret
Function at 0x42c3fb
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov edx, ebx
test edi, edi
je 0x42c45d
mov al, byte [esi]
dec edi
inc esi
cmp al, 0x23
jne 0x42c425
cmp edi, 2
jb 0x42c425
cmp byte [esi], al
jne 0x42c425
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x475950]
test edi, edi
jne 0x42c40e
jmp 0x42c464
cmp al, 0x23
jne 0x42c44b
cmp byte [esi], al
jne 0x42c44b
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x475950]
mov al, byte [esi]
inc esi
test al, al
jne 0x42c43d
pop edi
not edx
pop esi
mov eax, edx
pop ebx
ret

Function at 0x42c547
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
test ebx, ebx
je 0x42c556
and dword [ebx], 0
mov edx, 0x47c0cc
call fcn.0042c46c
mov esi, eax
test esi, esi
je 0x42c5f0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
pop ecx
cmp ebp, 0xffffffff
je 0x42c5e9
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x42c5e9
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov edi, eax
pop ecx
cmp edi, 0xffffffff
je 0x42c5e9
push 0
push ebp
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x42c5e9
mov ecx, edi
call fcn.0042fa67
mov ebp, eax
test ebp, ebp
je 0x42c5e9
push esi
push edi
push 1
push ebp
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov ecx, esi
cmp eax, edi
je 0x42c5da
call fcn.0042c538
mov ecx, ebp
call fcn.0042fa7f
jmp 0x42c5f0
call fcn.0042c538
test ebx, ebx
je 0x42c5e5
mov dword [ebx], edi
mov eax, ebp
jmp 0x42c5f2
mov ecx, esi
call fcn.0042c538
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x43d73e
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
cmp dword [esi + 0x5aac], 0
lea edi, [esi + 0x5ab0]
mov ecx, edi
je 0x43d799
push 0
call fcn.0043f3c1
push dword [esp + 0x10]
mov ecx, edi
push ebx
call fcn.0042ccd5
mov edx, dword [edi]
mov ecx, 0x507592
push dword [esi + 0x5aac]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x5ab8]
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
jmp 0x43d7a3
push dword [esp + 0x10]
push ebx
call fcn.0042ccd5
pop edi
pop esi
pop ebx
ret

Function at 0x43dd8b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5077a8]
push esi
mov esi, ecx
push edi
and dword [eax + 0x5a44], 0
test esi, esi
je 0x43ddda
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
call fcn.0043ddde
mov edx, 0x47c0d0
mov ecx, esi
mov edi, eax
call fcn.0042c46c
mov esi, eax
test esi, esi
je 0x43ddda
push esi
push dword [ebp - 4]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
mov ecx, esi
call fcn.0042c538
pop edi
pop esi
leave
ret
Function at 0x44540c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x445426
mov dword [esi + 4], edi
mov dword [esi], edi
call fcn.0042fa7f
mov dword [esi + 8], edi
lea ecx, [esi + 0xc]
call fcn.0043efa5
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x445443
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
call fcn.0042fa7f
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x445464
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
call fcn.0042fa7f
mov dword [esi + 0x44], edi
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x445479
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edi
call fcn.0042fa7f
mov dword [esi + 0x50], edi
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x44548e
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], edi
call fcn.0042fa7f
mov dword [esi + 0x5c], edi
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.00447b3e
Function at 0x44d0e1
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x5077a8]
push esi
push 0x11
lea esi, [eax + 8]
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, esi
and al, 1
movzx eax, al
push eax
push 0x1000
call fcn.0042be2f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, esi
and al, 1
movzx eax, al
push eax
push 0x2000
call fcn.0042be2f
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, esi
and al, 1
movzx eax, al
push eax
push 0x4000
call fcn.0042be2f
push 0x5d
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, esi
and al, 1
movzx eax, al
push eax
push 0x8000
call fcn.0042be2f
pop esi
ret