joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100121c0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100bc040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], str.crash_data
push eax
push 2
push 0
push 0x100aed18
push getpeername
mov dword [ebp - 0xc], str.crash_data1
mov dword [ebp - 8], str.crash_data2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea esi, [ebp - 0x10]
push dword [esi]
push dword [ebp - 0x14]
call edi
add esi, 4
lea eax, [ebp - 4]
cmp esi, eax
jne 0x10012208
pop edi
pop esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a046e
mov esp, ebp
pop ebp
ret

Function at 0x10012ac0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a2c94
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x100bc040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub dword [ebp + 0xc], 1
jne 0x10012b2a
push 0
push 0
push 0
push 0x10012240
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x68
call fcn.100a07ad
mov esi, eax
mov dword [ebp + 0xc], esi
push 0x68
push 0
push esi
mov dword [ebp - 4], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov ecx, esi
call fcn.10007d40
mov dword [0x1019fd14], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x100137e1
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x100137d0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x10014420
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 8], ecx
cmp edx, eax
je 0x100145bc
cmp dword [edx + 0x1c], 0xf
mov eax, dword [ecx + 4]
push esi
mov dword [ebp - 0x1c], eax
mov esi, edx
mov eax, dword [ecx + 0xc]
push edi
mov dword [ebp - 0x18], eax
lea edi, [edx + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x10]
jbe 0x1001445b
mov edi, dword [edi]
xor edx, edx
push ebx
mov ebx, 0x811c9dc5
test eax, eax
je 0x10014484
mov ecx, eax
nop dword [eax]
movzx eax, byte [edi + edx]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x10014470
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x18]
and eax, ebx
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 4]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], eax
nop dword [eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.1000a200
push 0x38
push edi
call fcn.100a0796
mov eax, dword [ebp - 8]
add esp, 8
dec dword [eax + 8]
cmp ebx, dword [ebp - 0x14]
je 0x100144e9
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x100144a0
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x100144d8
mov edx, dword [ebp - 0x10]
mov dword [edx], esi
mov ecx, dword [ebp - 0xc]
pop ebx
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jne 0x100144fb
mov ecx, dword [ebp - 0x1c]
mov dword [edx], ecx
jmp 0x100144fe
mov ecx, dword [ebp - 0xc]
mov dword [edx + 4], ecx
mov ecx, dword [ebp + 0xc]
cmp esi, ecx
je 0x100145af
nop dword [eax]
cmp dword [esi + 0x1c], 0xf
lea edx, [esi + 8]
mov ebx, dword [edx + 0x10]
jbe 0x1001451e
mov edx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
test ebx, ebx
je 0x10014544
nop dword [eax]
movzx eax, byte [edx + ecx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x10014530
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x18]
and eax, edi
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.1000a200
push 0x38
push edi
call fcn.100a0796
mov eax, dword [ebp - 8]
add esp, 8
dec dword [eax + 8]
cmp ebx, dword [ebp - 0x14]
je 0x10014599
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x10014558
mov ecx, dword [ebp - 4]
pop ebx
pop edi
mov dword [ecx], esi
mov ecx, dword [ebp - 0xc]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0x1c]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov ecx, dword [ebp + 0xc]
cmp esi, ecx
jne 0x10014510
mov eax, dword [ebp - 0xc]
pop ebx
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1001b220
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a3663
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100bc040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x14], edi
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 [ebp - 4], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea edx, [edi + 0x40]
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov eax, dword [ebp + 0xc]
mov ecx, 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], ecx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
je 0x1001b30b
test cl, 0x10
jne 0x1001b30b
mov al, 1
jmp 0x1001b30d
xor al, al
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
mov ebx, dword [edx + 4]
mov ecx, ebx
mov esi, dword [esi + 0x18]
sar ecx, 3
cmp esi, ecx
jae 0x1001b331
lea ecx, [esi*8]
mov dword [edx + 4], ecx
jmp 0x1001b363
jbe 0x1001b363
mov eax, dword [edx + 8]
sar eax, 3
cmp esi, eax
jbe 0x1001b348
push ecx
push esi
mov ecx, edx
call fcn.1001d040
jmp 0x1001b363
sub esi, ecx
je 0x1001b360
shl esi, 3
push esi
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea edx, [edi + 0x40]
add ebx, esi
mov dword [edx + 4], ebx
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 0x1c
Function at 0x10023bf0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100bc040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0xb74490]
push esi
push edi
test eax, eax
jne 0x10023c0f
xor edi, edi
jmp 0x10023c15
mov edi, dword [0xb7cd98]
test eax, eax
jne 0x10023c1d
xor esi, esi
jmp 0x10023c23
mov esi, dword [0xb7cd98]
push 0x57
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10023db9
mov eax, dword [esi + 0x14]
movss xmm0, dword [eax + 0x30]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [eax + 0x34]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [eax + 0x38]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [0xb6f178]
xorps xmm0, xmmword [0x100b2e20]
movss dword [edi + 0x558], xmm0
xorps xmm0, xmmword [0x100b2e20]
call fcn.10006b60
mov eax, dword [esi + 0x14]
addss xmm0, dword [eax + 0x30]
movss dword [eax + 0x30], xmm0
movss xmm0, dword [edi + 0x558]
xorps xmm0, xmmword [0x100b2e20]
call fcn.10006b40
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x10], 0x569660
mov dword [ebp - 0xc], 0
addss xmm0, dword [eax + 0x34]
movss dword [eax + 0x34], xmm0
mov eax, dword [esi + 0x14]
movss xmm0, dword [eax + 0x30]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [eax + 0x34]
movss dword [ebp - 0x14], xmm0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [ebp - 0x10]
fstp dword [ebp - 0xc]
add esp, 8
movss xmm0, dword [ebp - 0xc]
movss xmm1, dword [0x100b2860]
mov eax, dword [esi + 0x14]
addss xmm0, xmm1
mov dword [ebp - 0x14], 0x569660
mov dword [ebp - 0xc], 0
movss dword [eax + 0x38], xmm0
mov eax, dword [esi + 0x14]
movss xmm0, dword [eax + 0x30]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [eax + 0x34]
movss dword [ebp - 0x10], xmm0
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call dword [ebp - 0x14]
fstp dword [ebp - 0xc]
add esp, 8
mov eax, dword [esi + 0x14]
movss xmm0, dword [ebp - 0xc]
comiss xmm0, dword [eax + 0x38]
jbe 0x10023d3e
addss xmm0, xmm1
movss dword [eax + 0x38], xmm0
push 0xc
call fcn.100a07ad
movss xmm0, dword [ebp - 0x1c]
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [eax], 0
push eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
lea eax, [ebp - 8]
push 1
push eax
sub esp, 0xc
mov eax, 0x6eb690
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x24]
movss dword [esp], xmm0
call eax
add esp, 0x18
test al, al
je 0x10023db9
mov eax, dword [esi + 0x14]
movss xmm0, dword [ebp - 8]
or dword [esi + 0x46c], 1
comiss xmm0, dword [eax + 0x38]
jbe 0x10023db9
addss xmm0, dword [0x100b2860]
movss dword [eax + 0x38], xmm0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100a046e
mov esp, ebp
pop ebp
ret
Function at 0x10035c70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x10035c9c
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
jmp 0x10035d83
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp dword [ebp + 0x10], 0
jl 0x10035d34
jg 0x10035cc5
cmp dword [ebp + 0xc], 0
jbe 0x10035d34
cmp dword [ebp - 8], 0
jl 0x10035d34
jg 0x10035cd3
cmp dword [ebp - 0xc], 0
jbe 0x10035d34
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 8]
jg 0x10035cf1
jl 0x10035ce5
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0xc]
jae 0x10035cf1
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
push eax
call fcn.100147d0
add esp, 0xc
mov eax, dword [ebp - 0xc]
add eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0x10]
sbb edx, dword [ebp - 8]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int_]
nop
cmp dword [ebp + 0x10], 0
jl 0x10035d77
jg 0x10035d42
cmp dword [ebp + 0xc], 0
jbe 0x10035d77
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x4c], 0
je 0x10035d77
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ebp + 0x10]
sbb eax, ecx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
sbb edx, dword [ebp + 0x10]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10037470
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x100bc040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x38], 0
je 0x10037497
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x1003749e
mov al, 1
jmp 0x1003758b
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x44], edx
call fcn.10014740
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x30]
call dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
call fcn.10014740
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
call fcn.10014760
add esp, 8
movzx eax, al
test eax, eax
je 0x100374e4
xor al, al
jmp 0x1003758b
mov dword [ebp - 0x54], 0x20
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x50], edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x30]
add eax, 0x40
push eax
mov ecx, dword [ebp - 0x50]
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x10037527
cmp dword [ebp - 0x34], 1
je 0x1003752e
cmp dword [ebp - 0x34], 3
je 0x1003757e
jmp 0x10037589
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 0x3d], 0
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x1003755e
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x4c]
push edx
mov eax, dword [ebp - 0x38]
push eax
push 1
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x1003755e
xor al, al
jmp 0x1003758b
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx + 0x3d]
test eax, eax
jne 0x10037572
mov dword [ebp - 0x3c], 1
jmp 0x10037579
mov dword [ebp - 0x3c], 0
mov al, byte [ebp - 0x3c]
jmp 0x1003758b
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 0x3d], 0
mov al, 1
jmp 0x1003758b
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a046e
mov esp, ebp
pop ebp
ret
Function at 0x10042b10
Capabilities:
Create directory

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 0x100a4cfd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x100bc040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0xc
lea ecx, [ebp - 0x38]
call fcn.10025130
mov edx, esi
lea ecx, [ebp - 0x38]
call fcn.10042970
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.10035520
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.10035500
mov edi, eax
cmp esi, edi
je 0x10042c4a
mov ecx, dword [esi + 0x10]
mov eax, closesocket
sub eax, ecx
cmp eax, 1
jb 0x10042d33
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x10042bc1
mov eax, dword [esi]
push 1
push 0x100afd6c
push ecx
push eax
push ecx
push dword [ebp - 0x58]
lea ecx, [ebp - 0x50]
call fcn.100190f0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x2c]
call fcn.10013d10
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x10042c1a
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10042c10
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10042c7c
push ecx
push edx
call fcn.100a0796
add esp, 8
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
push 0
cmova eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x10042c3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10042c82
add esi, 0x18
cmp esi, edi
jne 0x10042ba4
mov byte [ebp - 0x51], 1
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10042cf8
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10042cee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10042cee
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea edx, [eax + str.Dxmp_Create_Error:]
mov dword [ebp - 0x40], 0
mov ecx, edx
mov dword [ebp - 0x3c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x50], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10042ca2
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.10017f00
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x10042ce5
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10042cdb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10042c7c
push ecx
push edx
call fcn.100a0796
add esp, 8
mov byte [ebp - 0x51], 0
jmp 0x10042c4e
push ecx
push edx
call fcn.100a0796
add esp, 8
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.10036b80
mov al, byte [ebp - 0x51]
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.100a046e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10007980
int3
Function at 0x10049100
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
mov esi, 1
mov dword [ebp - 0x14], ebx
mov eax, esi
shl eax, cl
mov ecx, dword [ebp + 8]
push edi
cmp ecx, eax
jbe 0x10049131
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov edi, dword [ebx + 4]
or eax, 1
mov dword [ebp - 0xc], edi
bsr ecx, eax
push edi
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0xc]
lea eax, [esi + esi]
push eax
call fcn.100148a0
lea eax, [esi - 1]
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x18], eax
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
cmp ecx, edi
je 0x1004921a
mov eax, ecx
nop word [eax + eax]
movzx edx, byte [eax + 8]
mov esi, dword [ebx + 0x18]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edx, edx, 0x1000193
and esi, edx
mov edx, dword [ebx + 0xc]
lea ebx, [edx + esi*8]
mov esi, dword [ebx]
mov dword [ebp - 8], ebx
cmp esi, edi
jne 0x1004919d
mov dword [ebx], eax
mov dword [ebx + 4], eax
jmp 0x1004920d
mov edx, dword [ebx + 4]
mov bl, byte [eax + 8]
cmp bl, byte [edx + 8]
mov ebx, dword [ebp - 8]
jne 0x100491da
mov edx, dword [edx]
mov dword [ebp - 0x10], edx
cmp edx, eax
je 0x100491d5
mov edi, dword [eax + 4]
mov ebx, dword [ebp - 0x10]
mov dword [edi], ecx
mov esi, dword [ecx + 4]
mov dword [esi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [ebx + 4], esi
mov ebx, dword [ebp - 8]
mov dword [ecx + 4], edi
mov edi, dword [ebp - 0xc]
mov dword [eax + 4], edx
mov dword [ebx + 4], eax
jmp 0x1004920d
cmp esi, edx
je 0x100491ed
mov bl, byte [eax + 8]
mov edx, dword [edx + 4]
cmp bl, byte [edx + 8]
je 0x10049223
cmp esi, edx
jne 0x100491e1
mov ebx, dword [eax + 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov esi, dword [edx + 4]
mov dword [esi], eax
mov dword [edx + 4], edi
mov edx, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], esi
mov dword [edx], eax
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x14]
mov eax, ecx
cmp ecx, edi
jne 0x10049170
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [eax + 4]
mov ebx, dword [edx]
mov dword [edi], ecx
mov esi, dword [ecx + 4]
mov dword [esi], ebx
mov edx, dword [ebx + 4]
mov dword [edx], eax
mov dword [ebx + 4], esi
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
jmp 0x1004920a
Function at 0x1004bce0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x1004bd41
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x1004bd24
cmp edi, 2
jb 0x1004bd24
cmp byte [esi], cl
jne 0x1004bd24
cmp byte [esi + 1], cl
jne 0x1004bd24
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100aa010]
jmp 0x1004bcf5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100aa010]
test edi, edi
jne 0x1004bcf5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1004bd70
cmp cl, 0x23
jne 0x1004bd57
cmp byte [esi], cl
jne 0x1004bd57
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x100aa010]
test cl, cl
jne 0x1004bd48
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x1004be80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x1004be94
mov dword [ebx], 0
mov edx, 0x100b0fd8
call fcn.1004bd80
mov esi, eax
test esi, esi
je 0x1004bf82
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x1004bf78
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 0x1004bf78
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x1004bf78
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x1004bf78
mov eax, dword [0x1019fdb0]
test eax, eax
je 0x1004bf0c
inc dword [eax + 0xb4]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x1004bf78
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x1004bf5d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x1019fdb0]
add esp, 4
test eax, eax
je 0x1004bf4a
dec dword [eax + 0xb4]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x1004bf6f
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004e750
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100bc040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov esi, 4
mov eax, dword [edi + 0xe4]
mov ebx, dword [edi + 0xec]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x100aa010]
sub esi, 1
jne 0x1004e790
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3e7c], ebx
jne 0x1004e7c7
push esi
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.10063ef0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a046e
mov esp, ebp
pop ebp
ret 4