joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e4a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40e557
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0040e0f0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00403850
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCreateKeyA
test eax, eax
jne 0x40e53d
xor eax, eax
push ebp
push 0x40e536
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00403850
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e541
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov byte [ebp - 0xd], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e55e
lea eax, [ebp - 0x14]
call fcn.00403434
ret

Function at 0x40e5d4
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40e65d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0040e0f0
lea eax, [ebp - 0x18]
push eax
push 0x20006
push 0
mov eax, dword [ebp - 0x10]
call fcn.00403850
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x40e647
mov eax, dword [ebp - 8]
call fcn.00403850
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegDeleteValueA
test eax, eax
sete byte [ebp - 9]
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e664
lea eax, [ebp - 0x10]
call fcn.00403434
ret
Function at 0x40e66c
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40e7e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 6], 0
mov dl, 1
mov eax, dword [0x4097a0]
call fcn.00402ae4
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x40e7b4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 5], 0
je 0x40e717
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0040e354
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x40e717
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.0040f72c
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.00403694
mov eax, dword [ebp - 0x28]
mov dl, 1
call fcn.0040e66c
inc dword [ebp - 0x20]
dec dword [ebp - 0x24]
jne 0x40e6df
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040f7b4
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0040683c
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.00406808
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.0040f7b4
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0xc]
call fcn.004034cc
lea ecx, [ebp - 0xc]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.0040e0f0
lea eax, [ebp - 0x18]
push eax
push 0x20006
push 0
mov eax, dword [ebp - 0xc]
call fcn.00403850
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x40e79e
mov eax, dword [ebp - 0x10]
call fcn.00403850
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete byte [ebp - 6]
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e7bb
mov eax, dword [ebp - 0x1c]
call fcn.00402b0c
ret

Function at 0x40ec48
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x40eca1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
lea eax, [ebp - 8]
mov ecx, 0x40ecb8
call fcn.004036d8
mov eax, dword [ebp - 8]
call fcn.00403850
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x20
setge byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40eca8
lea eax, [ebp - 8]
call fcn.00403434
ret
Function at 0x40ef5c
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc8
xor edx, edx
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x1d4], edx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 0x1dc], edx
mov byte [ebp - 0x1cd], al
xor eax, eax
push ebp
push 0x40f1e4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x238]
call fcn.004109f0
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x234]
call fcn.00406808
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x1d8]
call fcn.0040f7b4
lea edx, [ebp - 0x1dc]
mov eax, dword [ebp - 0x1d8]
call fcn.00406808
push 1
lea eax, [ebp - 0x234]
push eax
mov ecx, 0x40f1f8
xor edx, edx
mov eax, dword [ebp - 0x1dc]
call fcn.0040f4b0
mov ecx, dword [ebp - 0x234]
lea eax, [ebp - 0x1d4]
mov edx, dword [ebp - 0x1dc]
call fcn.004036d8
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x1cc]
call fcn.00404a36
lea eax, [ebp - 0x1cc]
call fcn.00404cbe
call fcn.00402620
push ebp
mov eax, 0x40f208
call fcn.0040eeec
pop ecx
push ebp
push 0x40f218
lea eax, [ebp - 0x238]
call fcn.004109f0
push dword [ebp - 0x238]
push 0x40f228
lea eax, [ebp - 0x234]
mov edx, 3
call fcn.0040374c
mov eax, dword [ebp - 0x234]
call fcn.0040eeec
pop ecx
push ebp
push 0x40f234
lea eax, [ebp - 0x238]
call fcn.004109f0
push dword [ebp - 0x238]
push 0x40f228
push 0x40f248
lea eax, [ebp - 0x234]
mov edx, 4
call fcn.0040374c
mov eax, dword [ebp - 0x234]
call fcn.0040eeec
pop ecx
cmp byte [ebp - 0x1cd], 0
je 0x40f0e1
push ebp
push 0x40f25c
push dword [ebp - 0x1d8]
push 0x40f228
lea eax, [ebp - 0x234]
mov edx, 3
call fcn.0040374c
mov eax, dword [ebp - 0x234]
call fcn.0040eeec
pop ecx
push ebp
push 0x40f218
push dword [ebp - 0x1d4]
push 0x40f228
lea eax, [ebp - 0x234]
mov edx, 3
call fcn.0040374c
mov eax, dword [ebp - 0x234]
call fcn.0040eeec
pop ecx
lea eax, [ebp - 0x1cc]
call fcn.00404ad8
call fcn.00402620
lea eax, [ebp - 0x230]
xor ecx, ecx
mov edx, 0x44
call fcn.004028ac
mov dword [ebp - 0x204], 1
mov word [ebp - 0x200], 0
lea eax, [ebp - 0x1ec]
push eax
lea eax, [ebp - 0x230]
push eax
mov eax, dword [ebp - 0x1dc]
call fcn.00403850
push eax
push 0
push 0x40
push 0
push 0
push 0
push 0x40f228
push dword [ebp - 0x1d4]
push 0x40f228
lea eax, [ebp - 0x234]
mov edx, 3
call fcn.0040374c
mov eax, dword [ebp - 0x234]
call fcn.00403850
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x40f1b6
mov eax, dword [ebp - 0x1e8]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x1ec]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f1eb
lea eax, [ebp - 0x238]
mov edx, 2
call fcn.00403458
lea eax, [ebp - 0x1dc]
mov edx, 3
call fcn.00403458
ret

Function at 0x40f31c
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040f2f8
mov ebx, eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetFileSize_1
cmp ebx, eax
jge 0x40f345
mov byte [ebp - 5], 0
jmp 0x40f349
mov byte [ebp - 5], 1
mov al, byte [ebp - 5]
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x40f6c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403840
xor eax, eax
push ebp
push 0x40f71b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00403850
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x40f6fc
test byte [ebp - 0xc], 0x10
jne 0x40f700
xor eax, eax
jmp 0x40f702
mov al, 1
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f722
lea eax, [ebp - 4]
call fcn.00403434
ret

Function at 0x40f968
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
push 0x80
mov eax, dword [ebp - 4]
call fcn.00403850
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [ebp - 4]
call fcn.004066b8
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x412f44
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4130b9
push dword fs:[eax]
mov dword fs:[eax], esp
or edi, 0xffffffff
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4130cc
mov edx, ebx
mov eax, 1
call fcn.0040c320
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 4]
mov dl, 0x22
call fcn.0040c0f0
lea eax, [ebp - 8]
push eax
mov ecx, 0x4130cc
mov edx, ebx
mov eax, 2
call fcn.0040c320
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x4130cc
mov edx, ebx
mov eax, 3
call fcn.0040c320
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4130cc
mov edx, ebx
mov eax, 4
call fcn.0040c320
mov eax, dword [ebp - 0x14]
mov edx, 1
call fcn.004064d8
sub eax, 1
jb 0x412fe1
je 0x412fe5
dec eax
je 0x412fec
dec eax
je 0x412ff3
jmp 0x412ffa
xor esi, esi
jmp 0x412fff
mov esi, 1
jmp 0x412fff
mov esi, 3
jmp 0x412fff
mov esi, 7
jmp 0x412fff
mov esi, 1
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4130cc
mov edx, ebx
mov eax, 5
call fcn.0040c320
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov dl, 0x22
call fcn.0040c0f0
cmp dword [ebp - 0x10], 0
je 0x41302f
mov eax, dword [ebp - 0x10]
call fcn.0041208c
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4130cc
mov edx, ebx
mov eax, 6
call fcn.0040c320
mov eax, dword [ebp - 0x14]
mov edx, 1
call fcn.004064d8
test al, al
je 0x41306e
mov eax, dword [ebp - 0xc]
push eax
push esi
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [0x416664]
call fcn.004119d4
mov edi, eax
jmp 0x41309e
push esi
mov eax, dword [ebp - 0xc]
call fcn.00403850
push eax
mov eax, dword [ebp - 8]
call fcn.00403850
push eax
mov eax, dword [ebp - 4]
call fcn.00403850
push eax
push 0
mov eax, dword [0x416664]
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jle 0x41309e
xor edi, edi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4130c0
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00403458
ret
Function at 0x413d20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x413f5d
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.comctl32.dll_InitCommonControls
mov eax, dword [0x4153a0]
mov dword [eax], 0x10000
mov eax, dword [0x415354]
mov edx, 0x413f70
call fcn.00403488
push 0
call sub.kernel32.dll_GetModuleHandleA_1
mov dword [0x41665c], eax
lea eax, [ebp - 0xc]
call fcn.004109f0
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00406808
mov edx, dword [ebp - 8]
mov eax, 0x41667c
call fcn.00403488
mov eax, dword [0x41667c]
call fcn.004068f8
mov dl, 1
mov eax, dword [0x4097a0]
call fcn.00402ae4
mov dword [0x416668], eax
mov dl, 1
mov eax, dword [0x4097a0]
call fcn.00402ae4
mov dword [0x41666c], eax
xor eax, eax
push ebp
push 0x413f3b
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004026fc
test eax, eax
jne 0x413de1
mov eax, 0x416660
mov ecx, 0x413f8c
mov edx, dword [0x41667c]
call fcn.004036d8
jmp 0x413df0
mov edx, 0x416660
mov eax, 1
call fcn.0040275c
mov eax, dword [0x416660]
call fcn.004066a8
test al, al
jne 0x413e3c
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0xc]
mov eax, 3
call fcn.00411e1c
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x416660]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x14]
xor ecx, ecx
pop eax
call fcn.00406ee8
mov eax, dword [ebp - 8]
call fcn.00410278
call fcn.00402fec
jmp 0x413f42
lea edx, [ebp - 8]
mov eax, 4
call fcn.00411e1c
mov eax, dword [ebp - 8]
call fcn.00410348
cmp eax, 6
jne 0x413f19
push 0x416674
push 4
push 0
push 0x413254
push 0
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x416670], eax
xor eax, eax
push ebp
push 0x413f12
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x413bc0
mov edx, 0x413f98
xor ecx, ecx
mov eax, dword [0x41665c]
call fcn.00405740
inc eax
jne 0x413eb6
mov eax, 0x413fb0
call fcn.00410278
call fcn.00402fec
call fcn.00402fec
jmp 0x413f42
lea eax, [ebp - 4]
push eax
mov eax, dword [0x416670]
push eax
call sub.kernel32.dll_GetExitCodeThread
cmp dword [ebp - 4], 0
je 0x413ed7
call fcn.00402fec
call fcn.00402fec
jmp 0x413f42
lea eax, [ebp - 8]
mov ecx, 0x413fdc
mov edx, dword [0x41667c]
call fcn.004036d8
mov eax, dword [ebp - 8]
call fcn.0040f968
mov al, 1
call fcn.0040ef5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413f19
mov eax, dword [0x416670]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413f42
mov eax, dword [0x41666c]
call fcn.00402b0c
mov eax, dword [0x416668]
call fcn.00402b0c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413f64
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403458
ret
Function at 0x404c20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433bb5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 0x18]
imul ebx, ecx, 0x1000193
push ebx
push edi
push eax
call fcn.00404fc0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x404ca1
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [0x54272c], 0x9249249
jne 0x404cb8
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x20], 0x542728
mov dword [ebp - 4], 0
push 0x1c
mov dword [ebp - 0x1c], 0
call fcn.00432901
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 1
mov ecx, dword [edi]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov ecx, dword [0x54272c]
mov edi, dword [0x542740]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x53fc80]
mov eax, edi
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x53fc80]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x542724]
comiss xmm1, xmm0
jbe 0x404dc4
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00433a20
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp edi, ecx
jae 0x404da6
cmp edi, 0x200
jae 0x404da4
shl edi, 3
cmp edi, ecx
jae 0x404da6
mov edi, ecx
push edi
call fcn.00404e50
push ebx
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00404fc0
mov ecx, dword [0x54272c]
mov edx, dword [eax]
jmp 0x404dc7
mov edx, dword [ebp - 0x18]
mov edi, dword [edx + 4]
inc ecx
mov dword [0x54272c], ecx
mov dword [esi], edx
mov dword [esi + 4], edi
mov dword [edi], esi
mov dword [edx + 4], esi
mov eax, dword [0x54273c]
mov ecx, dword [0x542730]
and eax, ebx
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [0x542728]
jne 0x404df8
mov dword [ecx + eax*8], esi
jmp 0x404e07
cmp ebx, edx
jne 0x404e01
mov dword [ecx + eax*8], esi
jmp 0x404e0b
cmp dword [ecx + eax*8 + 4], edi
jne 0x404e0b
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x404e50
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 8
bsr ecx, eax
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x404e7c
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [0x542728]
or eax, 1
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x542730
lea eax, [edi + edi]
push eax
call fcn.00404ae0
mov eax, dword [0x542728]
lea ebx, [edi - 1]
mov dword [0x54273c], ebx
mov dword [0x542740], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x404fb6
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [0x542730]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 4], edx
cmp ebx, esi
jne 0x404f14
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x404f81
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x404f4e
mov edx, dword [edx]
mov dword [ebp - 8], edx
cmp edx, eax
je 0x404f46
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 8]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
jmp 0x404f81
cmp ebx, edx
je 0x404f5e
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x404f92
cmp ebx, edx
jne 0x404f52
mov ebx, dword [eax + 4]
mov dword [ebp - 8], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov dword [eax + 4], edi
mov dword [edx], eax
mov eax, ecx
cmp ecx, esi
je 0x404fb6
mov ebx, dword [0x54273c]
jmp 0x404ec2
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 8], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x404f81
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x409dc0
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 0x409e21
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x409e04
cmp edi, 2
jb 0x409e04
cmp byte [esi], cl
jne 0x409e04
cmp byte [esi + 1], cl
jne 0x409e04
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x53a2c8]
jmp 0x409dd5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x53a2c8]
test edi, edi
jne 0x409dd5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x409e50
cmp cl, 0x23
jne 0x409e37
cmp byte [esi], cl
jne 0x409e37
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 + 0x53a2c8]
test cl, cl
jne 0x409e28
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x409f70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x409f84
mov dword [edi], 0
mov edx, 0x53f344
call fcn.00409e60
mov esi, eax
test esi, esi
je 0x40a080
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebx
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x40a076
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 0x40a076
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
cmp ebx, 0xffffffff
je 0x40a076
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 0x40a076
mov eax, dword [0x542698]
test eax, eax
je 0x40a000
inc dword [eax + 0xac]
push dword [0x54269c]
push ebx
call fcn.00409200
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40a076
push esi
push dword [ebp + 8]
push 1
push ebx
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 0x40a05b
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x542698]
add esp, 4
test eax, eax
je 0x40a043
dec dword [eax + 0xac]
push dword [0x54269c]
push ebx
call fcn.00409220
add esp, 8
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 edi, edi
je 0x40a06d
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, ebx
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 0x40c940
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov edx, ecx
push esi
push edi
lea esi, [ebp - 0x14]
mov edi, 0x10
movss xmm1, dword [edx + 0x100]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x104]
subss xmm0, xmm1
mov ecx, dword [edx + 0xe4]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xec]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [ebp - 8], xmm0
not edx
nop
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x53a2c8]
sub edi, 1
jne 0x40c9b0
not edx
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret 4