joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411b70
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov ebp, ecx
test esi, esi
jg 0x411b91
jl 0x411b88
test ebx, ebx
jne 0x411b91
xor eax, eax
xor edx, edx
jmp 0x411c58
cmp dword [ebp + 0x38], 0
je 0x411ba8
push esi
push ebx
push dword [esp + 0x1c]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
jmp 0x411c58
mov eax, dword [ebp + 0x1c]
push edi
mov edi, ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x411bed
mov eax, dword [ebp + 0x2c]
cmp dword [eax], 0
jbe 0x411bed
cmp dword [eax], ebx
mov esi, ebx
cmovb esi, dword [eax]
push esi
push ecx
push dword [esp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
sub edi, esi
add eax, esi
add esp, 0xc
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x2c]
sub dword [eax], esi
mov eax, dword [ebp + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x20]
jmp 0x411bf5
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
cmp dword [ebp + 0x4c], 0
je 0x411c4e
mov ecx, ebp
call fcn.0041269e
mov ecx, dword [esp + 0x10]
mov edx, edi
mov eax, 0xfff
cmp edi, eax
jbe 0x411c38
push dword [ebp + 0x4c]
push eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov ecx, dword [esp + 0x20]
sub edi, eax
add ecx, eax
add esp, 0x10
mov dword [esp + 0x10], ecx
mov edx, edi
cmp eax, 0xfff
jne 0x411c4e
jmp 0x411c08
test edx, edx
je 0x411c4e
push dword [ebp + 0x4c]
push edi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
sub edi, eax
sub ebx, edi
mov eax, ebx
sbb esi, 0
mov edx, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x411f00
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x2c
push ebx
mov ebx, dword [esp + 0x34]
push esi
push edi
or edi, 0xffffffff
mov esi, ecx
cmp ebx, edi
jne 0x411f1a
xor eax, eax
jmp 0x411fe8
mov eax, dword [esi + 0x20]
push ebp
mov ecx, dword [eax]
test ecx, ecx
je 0x411f43
mov edx, dword [esi + 0x30]
mov ebp, dword [edx]
lea eax, [ecx + ebp]
cmp ecx, eax
jae 0x411f43
lea ecx, [ebp - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
jmp 0x411fb2
cmp dword [esi + 0x4c], 0
je 0x411fe5
mov ecx, esi
call fcn.0041269e
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x411f60
movsx eax, bl
jmp 0x411fa1
lea eax, [esp + 0x14]
mov byte [esp + 0x13], bl
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x27]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x411fb6
sub eax, 1
je 0x411fb6
dec eax
sub eax, 1
jne 0x411fe5
movsx eax, byte [esp + 0x13]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, edi
pop ecx
pop ecx
cmove ebx, edi
mov eax, ebx
jmp 0x411fe7
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x1c]
sub ebp, eax
je 0x411fd6
push dword [esi + 0x4c]
push ebp
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp ebp, eax
jne 0x411fe5
lea eax, [esp + 0x13]
mov byte [esi + 0x3d], 1
cmp dword [esp + 0x18], eax
cmovne edi, ebx
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x2c
ret 4

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

Disassembly:
or dword [ecx + 0x1384], 0xffffffff
mov edx, dword [esp + 4]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jb 0x4122a2
pop edi
pop esi
mov dword [ecx], ebx
mov eax, ecx
pop ebx
ret 4
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 [0x4735d8]
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 [0x5aeb85], 0
push esi
jne 0x418655
cmp dword [0x5ad8cc], 0xffffffff
jne 0x418635
mov ecx, str.Set_HotKey
jmp 0x418641
mov eax, dword [0x5ad4a8]
mov ecx, dword [eax*4 + 0x476458]
push ecx
call fcn.00450bac
pop ecx
test al, al
je 0x4186b5
mov byte [0x5aeb85], 1
jmp 0x4186b5
push ecx
mov ecx, 0x4747d0
call fcn.00450bac
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 + 0x476180]
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 + 0x476180]
mov dword [0x5ad4a8], eax
mov dword [0x5ad8cc], eax
mov byte [0x5aeb85], 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 + 0x5b1648], cl
inc edx
cmp edx, 0x16
jb 0x4186cc
mov ecx, 0x5b1648
mov byte [0x5b165e], 0
call fcn.0045295c
call fcn.00407828
lea edx, [ebp - 8]
mov dword [ebp - 8], 0x42be0000
mov dword [ebp - 4], 0x41e00000
call fcn.00418615
call fcn.00436be1
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 + 0x5b1620], cl
inc edx
cmp edx, 0x12
jb 0x41871d
push 0x5ae9dd
push 0x5b1620
mov byte [0x5b1632], 0
call fcn.0046094a
call fcn.00436c35
mov ecx, 0x473d7e
call fcn.0045295c
xorps xmm0, xmm0
call fcn.00439398
leave
ret
Function at 0x4192c4
Capabilities:
Delete file

Disassembly:
mov eax, 0x470ed0
call fcn.0046ffb4
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 0x41bc63
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
xor eax, eax
inc eax
xor ecx, ecx
push ebx
push esi
cpuid
lea esi, [ebp - 0x18]
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
push edi
mov dword [esi + 0xc], edx
rdtsc
push 0x64
mov esi, eax
mov edi, edx
call dword [sym.imp.KERNEL32.dll_Sleep]
rdtsc
sub eax, esi
sbb edx, edi
jne 0x41bca2
cmp eax, 0x989680
jae 0x41bca2
mov al, 1
jmp 0x41bce8
mov edi, SysReAllocString
lea esi, [ebp - 0x18]
xor ecx, ecx
mov eax, edi
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
lea ecx, [edi + 1]
mov dword [esi + 0xc], edx
mov eax, dword [ebp - 0x18]
cdq
test edx, edx
jne 0x41bcce
cmp eax, ecx
jae 0x41bcce
xor al, al
jmp 0x41bce8
mov eax, ecx
lea esi, [ebp - 0x18]
xor ecx, ecx
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
test dword [ebp - 0x10], edi
setne al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41bd65
Capabilities:
Check for debugger via api
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x41bcf0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x41be7e
mov ecx, dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
call fcn.0041bbc9
test al, al
jne 0x41be7e
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
test eax, eax
je 0x41bdc1
cmp dword [ebp - 8], ebx
jne 0x41be7e
push 0x520cb8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x41bdd7
xor al, al
jmp 0x41be80
push 0x520ccc
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x41be3d
mov ecx, esi
call fcn.0041bbc9
test al, al
jne 0x41be3d
push ebx
push 0x18
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov ecx, esi
call dword [0x4735d8]
call esi
test eax, eax
js 0x41be3d
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x41be3d
push ebx
push 1
lea ecx, [ebp - 1]
mov byte [ebp - 1], bl
push ecx
add eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x41be3d
test byte [ebp - 1], 1
jne 0x41be7e
call fcn.0041bbf5
test al, al
jne 0x41be7e
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push ebx
push 4
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapQueryInformation]
test eax, eax
je 0x41be68
test byte [ebp - 0xc], 0x60
jne 0x41be7e
call fcn.0041bc63
test al, al
jne 0x41be7e
call fcn.0041bd19
test al, al
je 0x41bdd0
mov al, 1
pop esi
pop ebx
leave
ret
Function at 0x41c46c
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 0x41c490
xor al, al
jmp 0x41c4dd
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x41c4cc
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 0x41c4d2
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x41c4aa
jmp 0x41c4d4
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 0x41c87c
Capabilities:
Hide graphical window

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

Disassembly:
mov eax, 0x47177e
call fcn.0046ffb4
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 0x4223a4
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x422570
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 0x422597
movzx eax, byte [edi + esi]
xor eax, ecx
imul ecx, eax, 0x1000193
inc esi
cmp esi, edx
jb 0x422586
pop edi
mov eax, ecx
pop esi
ret 8
Function at 0x427197
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4719e8
call fcn.0046ffb4
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.00427422
xor edi, edi
inc edi
push 0x24
mov dword [ebp - 4], edi
call fcn.0046ecdb
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.00427485
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x42806d
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 0x428203
mov edx, 0x10000000
cmp eax, 0x7c
je 0x428203
cmp eax, 0x29
jne 0x4280d9
cmp dword [esi + 0x10], 0
jne 0x428203
test dword [esi + 0x50], edx
je 0x428209
cmp eax, 0x5d
jne 0x4280b4
test dword [esi + 0x50], edx
je 0x428199
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00428cf7
mov bl, 1
mov ecx, esi
call fcn.00428045
test bl, bl
je 0x4280d5
mov ecx, esi
call fcn.00428c12
mov cl, 1
jmp 0x428074
cmp eax, 0x2e
jne 0x4280f1
push 5
lea ecx, [esi + 0x24]
call fcn.004282d0
mov ecx, esi
call fcn.00428045
jmp 0x4280ce
cmp eax, 0x5c
jne 0x42813d
mov ecx, esi
call fcn.00428045
test byte [esi + 0x50], 0x80
je 0x428134
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x42811d
push 4
lea ecx, [esi + 0x24]
call fcn.004282d0
mov ecx, esi
call fcn.00428045
jmp 0x4280d5
cmp al, 0x42
jne 0x428134
push 4
lea ecx, [esi + 0x24]
call fcn.004282d0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x428114
mov ecx, esi
call fcn.00428aab
jmp 0x4280ce
cmp eax, 0x5b
jne 0x42819d
mov ecx, esi
call fcn.00428045
lea ecx, [esi + 0x24]
call fcn.00429cda
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x42816a
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00428045
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x428188
cmp eax, 0x5d
jne 0x428188
push eax
lea ecx, [esi + 0x24]
call fcn.00429d22
mov ecx, esi
call fcn.00428045
mov ecx, esi
call fcn.004299a1
cmp dword [esi + 0x4c], 0x5d
je 0x4280e8
push 4
jmp 0x42820b
cmp eax, 0x28
jne 0x4281bd
mov ecx, esi
call fcn.00428045
mov ecx, esi
call fcn.00428b83
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x428209
jmp 0x4280c3
cmp eax, 0x5e
jne 0x4281c9
push 2
jmp 0x42810c
cmp eax, 0x24
jne 0x4281d5
push 3
jmp 0x42810c
cmp eax, 0x2a
je 0x4281ff
cmp eax, 0x2b
je 0x4281ff
cmp eax, 0x3f
je 0x4281ff
cmp eax, 0x7b
je 0x4281ff
cmp eax, 0x7d
jne 0x4280a6
test dword [esi + 0x50], edx
jne 0x4280b4
push 6
jmp 0x42820b
push 0xa
jmp 0x42820b
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.0042747a
int3

Function at 0x42b261
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x471b82
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x30]
test edi, edi
je 0x42b292
mov ecx, edi
call fcn.0042afaf
mov ecx, edi
call fcn.0043048f
mov edi, dword [esi + 0x34]
test edi, edi
je 0x42b2a7
mov ecx, edi
call fcn.0042afaf
mov ecx, edi
call fcn.0043048f
and dword [ebp - 4], 0
lea eax, [esi + 0x64]
push 0x43f440
push 2
push 0xc
push eax
call fcn.0046ef98
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x42cde0
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 + 0x51c118]
inc edi
sub esi, 1
jne 0x42cdec
pop edi
not edx
pop esi
mov eax, edx
ret
Function at 0x42ce0b
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 0x42ce6d
mov al, byte [esi]
dec edi
inc esi
cmp al, 0x23
jne 0x42ce35
cmp edi, 2
jb 0x42ce35
cmp byte [esi], al
jne 0x42ce35
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 + 0x51c118]
test edi, edi
jne 0x42ce1e
jmp 0x42ce74
cmp al, 0x23
jne 0x42ce5b
cmp byte [esi], al
jne 0x42ce5b
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 + 0x51c118]
mov al, byte [esi]
inc esi
test al, al
jne 0x42ce4d
pop edi
not edx
pop esi
mov eax, edx
pop ebx
ret

Function at 0x42cf57
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
test ebx, ebx
je 0x42cf66
and dword [ebx], 0
mov edx, 0x5228ac
call fcn.0042ce7c
mov esi, eax
test esi, esi
je 0x42d000
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 0x42cff9
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 0x42cff9
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 0x42cff9
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 0x42cff9
mov ecx, edi
call fcn.00430477
mov ebp, eax
test ebp, ebp
je 0x42cff9
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 0x42cfea
call fcn.0042cf48
mov ecx, ebp
call fcn.0043048f
jmp 0x42d000
call fcn.0042cf48
test ebx, ebx
je 0x42cff5
mov dword [ebx], edi
mov eax, ebp
jmp 0x42d002
mov ecx, esi
call fcn.0042cf48
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x43e151
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 0x43e1ac
push 0
call fcn.0043fdd1
push dword [esp + 0x10]
mov ecx, edi
push ebx
call fcn.0042d6e5
mov edx, dword [edi]
mov ecx, 0x5ae592
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 0x43e1b6
push dword [esp + 0x10]
push ebx
call fcn.0042d6e5
pop edi
pop esi
pop ebx
ret

Function at 0x43e79e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5ae7a8]
push esi
mov esi, ecx
push edi
and dword [eax + 0x5a44], 0
test esi, esi
je 0x43e7ed
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
call fcn.0043e7f1
mov edx, 0x5228b0
mov ecx, esi
mov edi, eax
call fcn.0042ce7c
mov esi, eax
test esi, esi
je 0x43e7ed
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.0042cf48
pop edi
pop esi
leave
ret