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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x6a9068]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, edx
sub eax, 0x80
push edi
mov edi, dword [ebp + 8]
je 0x5662e4
sub eax, 0x40
je 0x5662dc
sub eax, 0x40
jne 0x5664a4
mov dword [edi], 0xe
jmp 0x5662ea
mov dword [edi], 0xc
jmp 0x5662ea
mov dword [edi], 0xa
push esi
push edx
push ecx
lea eax, [ebp - 0x11c]
lea esi, [edi + 8]
push eax
mov dword [edi + 4], esi
call fcn.00565d40
mov eax, dword [ebp - 0x11c]
shl eax, 4
add eax, dword [ebp - 0x118]
add esp, 0xc
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov ecx, dword [edi]
dec ecx
add esi, 0x10
sub eax, 0x10
test ecx, ecx
jle 0x56648d
jmp 0x566340
movzx edx, byte [eax + 3]
movzx edx, byte [edx + 0x6e7010]
mov edx, dword [edx*4 + 0x6e7110]
movzx edi, byte [eax + 2]
movzx edi, byte [edi + 0x6e7010]
xor edx, dword [edi*4 + 0x6e7510]
movzx edi, byte [eax + 1]
movzx edi, byte [edi + 0x6e7010]
xor edx, dword [edi*4 + 0x6e7938]
mov edi, dword [eax]
and edi, 0xff
movzx edi, byte [edi + 0x6e7010]
xor edx, dword [edi*4 + 0x6e7d38]
dec ecx
mov dword [esi], edx
mov edx, dword [eax + 4]
movzx edi, byte [eax + 7]
movzx edi, byte [edi + 0x6e7010]
and edx, 0xff
movzx edx, byte [edx + 0x6e7010]
mov edx, dword [edx*4 + 0x6e7d38]
xor edx, dword [edi*4 + 0x6e7110]
movzx edi, byte [eax + 6]
movzx edi, byte [edi + 0x6e7010]
xor edx, dword [edi*4 + 0x6e7510]
movzx edi, byte [eax + 5]
movzx edi, byte [edi + 0x6e7010]
xor edx, dword [edi*4 + 0x6e7938]
add esi, 0x10
mov dword [esi - 0xc], edx
mov edx, dword [eax + 8]
movzx edi, byte [eax + 0xb]
movzx edi, byte [edi + 0x6e7010]
and edx, 0xff
movzx edx, byte [edx + 0x6e7010]
mov edx, dword [edx*4 + 0x6e7d38]
xor edx, dword [edi*4 + 0x6e7110]
movzx edi, byte [eax + 0xa]
movzx edi, byte [edi + 0x6e7010]
xor edx, dword [edi*4 + 0x6e7510]
movzx edi, byte [eax + 9]
movzx edi, byte [edi + 0x6e7010]
xor edx, dword [edi*4 + 0x6e7938]
sub eax, 0x10
mov dword [esi - 8], edx
mov edx, dword [eax + 0x1c]
movzx edi, byte [eax + 0x1f]
movzx edi, byte [edi + 0x6e7010]
and edx, 0xff
movzx edx, byte [edx + 0x6e7010]
mov edx, dword [edx*4 + 0x6e7d38]
xor edx, dword [edi*4 + 0x6e7110]
movzx edi, byte [eax + 0x1e]
movzx edi, byte [edi + 0x6e7010]
xor edx, dword [edi*4 + 0x6e7510]
movzx edi, byte [eax + 0x1d]
movzx edi, byte [edi + 0x6e7010]
xor edx, dword [edi*4 + 0x6e7938]
mov dword [esi - 4], edx
test ecx, ecx
jg 0x566340
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0056d9d2
mov esp, ebp
pop ebp
ret
Function at 0x5672a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x730
mov eax, dword [0x6a9068]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x72c], eax
mov dword [ebp - 0x730], ecx
test eax, eax
jne 0x5672df
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056d9d2
mov esp, ebp
pop ebp
ret 0x10
test ecx, ecx
je 0x5672cc
push ebx
push edi
push eax
push 1
lea eax, [ebp - 0x720]
push 1
push eax
call fcn.0056deb5
push 0x200
xor ebx, ebx
lea ecx, [ebp - 0x604]
push ebx
push ecx
add esi, 0x10
call fcn.0056d420
lea edx, [ebp - 0x728]
push edx
push str._02X
push esi
call fcn.0056f7d2
add esp, 0x28
test eax, eax
jle 0x567358
cmp ebx, 0x200
jge 0x567358
mov al, byte [ebp - 0x728]
lea ecx, [ebp - 0x728]
push ecx
add esi, 2
push str._02X
mov byte [ebp + ebx - 0x604], al
push esi
inc ebx
call fcn.0056f7d2
add esp, 0xc
test eax, eax
jg 0x567326
push 0x100
lea edx, [ebp - 0x604]
push edx
lea eax, [ebp - 0x71c]
push eax
call fcn.005662a0
mov cl, byte [ebp + 0x14]
xor edi, edi
add esp, 0xc
mov byte [ebp - 0x71d], cl
cmp dword [ebp + 0x10], edi
jle 0x567445
mov edx, dword [ebp - 0x72c]
push edx
push 0x10
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.0056deb5
add esp, 0x10
cmp eax, 0x10
jne 0x56748d
lea ecx, [ebp - 0x404]
push ecx
mov edx, ecx
push edx
lea eax, [ebp - 0x71c]
push 0
push eax
call fcn.005664c0
mov ecx, dword [ebp - 0x730]
xor eax, eax
add esp, 0x10
xor dl, dl
mov byte [ebp - 0x71f], al
mov byte [ebp - 0x71e], al
lea esi, [ecx + edi + 1]
nop
mov cl, byte [ebp + eax - 0x404]
add byte [ebp - 0x71d], cl
mov byte [esi + eax - 1], cl
mov cl, byte [ebp + eax - 0x403]
add byte [ebp - 0x71e], cl
mov byte [esi + eax], cl
mov cl, byte [ebp + eax - 0x402]
add byte [ebp - 0x71f], cl
mov byte [esi + eax + 1], cl
mov cl, byte [ebp + eax - 0x401]
mov byte [esi + eax + 2], cl
add eax, 4
add dl, cl
cmp eax, 0x10
jl 0x5673e0
add dl, byte [ebp - 0x71f]
add edi, 0x10
add dl, byte [ebp - 0x71e]
add byte [ebp - 0x71d], dl
cmp edi, dword [ebp + 0x10]
jl 0x567387
mov edx, dword [ebp - 0x72c]
push edx
push 1
lea eax, [ebp - 0x721]
push 1
push eax
call fcn.0056deb5
mov al, byte [ebp - 0x720]
add esp, 0x10
cmp al, byte [ebp - 0x721]
jne 0x56748d
cmp al, byte [ebp - 0x71d]
jne 0x56748d
pop edi
pop ebx
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056d9d2
mov esp, ebp
pop ebp
ret 0x10
push 0
push str.Error__
push str.Header_Version_Error__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
pop edi
pop ebx
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0056d9d2
mov esp, ebp
pop ebp
ret 0x10

Function at 0x56d9d2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6a9068]
jne 0x56d9dc
repz ret
jmp fcn.00576193
Function at 0x57a1f3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6a9068]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00578125
and dword [ebp - 0x14], 0
cmp dword [0x6e96ec], 0
mov dword [ebp - 0x18], eax
jne 0x57a2a6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x57a34e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x57a34e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x5a21dc
push ebx
mov dword [0x6e96ec], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x6e96f0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x6e96f4], eax
call edi
push eax
call esi
mov dword [0x6e96fc], eax
test eax, eax
je 0x57a2a6
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x6e96f8], eax
mov eax, dword [0x6e96f8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x57a2ff
cmp dword [0x6e96fc], ecx
je 0x57a2ff
push eax
call esi
push dword [0x6e96fc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x57a2ff
test ebx, ebx
je 0x57a2ff
call edi
test eax, eax
je 0x57a2f6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x57a2f6
test byte [ebp - 8], 1
jne 0x57a2ff
or dword [ebp + 0x10], 0x200000
jmp 0x57a332
mov eax, dword [0x6e96f0]
cmp eax, dword [ebp - 0x18]
je 0x57a332
push eax
call esi
test eax, eax
je 0x57a332
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x57a332
mov eax, dword [0x6e96f4]
cmp eax, dword [ebp - 0x18]
je 0x57a332
push eax
call esi
test eax, eax
je 0x57a332
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x6e96ec]
call esi
test eax, eax
je 0x57a34e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x57a350
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056d9d2
leave
ret
Function at 0x343f19f8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x343f6b04]
jne 0x34415a46
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x34419cd8], eax
mov dword [0x34419cd4], ecx
mov dword [0x34419cd0], edx
mov dword [0x34419ccc], ebx
mov dword [0x34419cc8], esi
mov dword [0x34419cc4], edi
mov word [0x34419cf0], ss
mov word [0x34419ce4], cs
mov word [0x34419cc0], ds
mov word [0x34419cbc], es
mov word [0x34419cb8], fs
mov word [0x34419cb4], gs
pushfd
pop dword [0x34419ce8]
mov eax, dword [ebp]
mov dword [0x34419cdc], eax
mov eax, dword [ebp + 4]
mov dword [0x34419ce0], eax
lea eax, [ebp + 8]
mov dword [0x34419cec], eax
mov eax, dword [ebp - 0x320]
mov dword [0x34419c28], 0x10001
mov eax, dword [0x34419ce0]
mov dword [0x34419bdc], eax
mov dword [0x34419bd0], 0xc0000409
mov dword [0x34419bd4], 1
mov eax, dword [0x343f6b04]
mov dword [ebp - 0x328], eax
mov eax, dword [0x34417ca0]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x34419c20], eax
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x34415b4c
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x34419c20], 0
jne 0x34415b36
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x593cad16
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x593cad25
pop dword [ebp - 0x30]
mov eax, 0x593cad25
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x9776f167
sub dword [ebp - 0x40], 0x4924ac1c
mov dword [ebp - 0x3c], 0x62df4de0
add dword [ebp - 0x3c], 0xcf53fe65
mov dword [ebp - 0x38], 0xe4847efd
sub dword [ebp - 0x38], 0x98383acf
mov dword [ebp - 0x34], 0xec991c65
sub dword [ebp - 0x34], 0xec991c65
lea eax, [ebp - 0x40]
push eax
mov eax, 0xf4318c43
sub eax, 0x9af67bdf
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x9701bc3a
sub dword [ebp - 0x40], 0x228f52e4
mov dword [ebp - 0x3c], 0xdaa41e3e
sub dword [ebp - 0x3c], 0x9937bcc9
mov dword [ebp - 0x38], 0xb0a3dffc
add dword [ebp - 0x38], 0xb2cb8c70
mov dword [ebp - 0x34], 0x65c8a986
add dword [ebp - 0x34], 0x9a37567a
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x39ffe
push 0
call eax
mov ecx, 0xaa2ac973
sub ecx, 0xaa2a7c80
xor edx, edx
add edx, eax
mov ebx, 0x593e2000
add ebx, dword [ebp - 0x30]
mov edi, 0x9535fd28
sub edi, 0xf52d2518
xor dword [ebp - 0x10], edx
mov esi, dword [ebx]
sub dword [ebp - 0x1c], esi
sub esi, edi
add dword [ebp - 0x10], edi
mov dword [edx], esi
sub dword [ebp - 0x28], ebx
add edx, 0xb7ea73
sub edx, 0xb7ea6f
add ebx, 0xf841bd51
add ebx, 0x7be42b3
loop 0x593cae39
add eax, 0x7ff5aba2
add eax, 0x800b7afd
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x2560cacc
sub ecx, 0xcc25cacc
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x4013f0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
push edi
movzx eax, byte [esi + 0x68]
mov byte [eax + esi + 0x28], 0x80
mov eax, 0x40
inc byte [esi + 0x68]
movzx edx, byte [esi + 0x68]
sub eax, edx
push eax
lea eax, [esi + 0x28]
add eax, edx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp byte [esi + 0x68], 0x38
jbe 0x40148e
lea edx, [esi + 0x28]
mov ecx, esi
call fcn.00401160
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov ecx, dword [esi]
lea edx, [esi + 0x28]
mov eax, dword [esi + 4]
shld eax, ecx, 3
shl ecx, 3
mov byte [esi + 0x67], cl
shrd ecx, eax, 8
shr eax, 8
mov byte [esi + 0x66], cl
shrd ecx, eax, 8
shr eax, 8
mov byte [esi + 0x65], cl
shrd ecx, eax, 8
shr eax, 8
mov byte [esi + 0x64], cl
shrd ecx, eax, 8
shr eax, 8
mov byte [esi + 0x63], cl
shrd ecx, eax, 8
shr eax, 8
mov byte [esi + 0x62], cl
shrd ecx, eax, 8
shr eax, 8
mov byte [esi + 0x61], cl
shrd ecx, eax, 8
mov byte [esi + 0x60], cl
mov ecx, esi
pop edi
pop esi
jmp fcn.00401160

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
movups xmm0, xmmword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov dword [edi], eax
mov dword [edi + 4], edx
movups xmmword [edi + 8], xmm0
mov dword [edi + 0x18], 0x78
mov dword [edi + 0x1c], 0x18
mov dword [edi + 0x20], 0
call dword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [edi + 0x13ac], 0xffffffff
mov dword [edi + 0x2c], edx
lea esi, [edi + 0x30]
mov ecx, 1
mov eax, edx
lea esi, [esi + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
inc ecx
mov dword [esi - 4], edx
cmp ecx, 0x270
jb 0x401852
push 0
mov dword [edi + 0x28], 0x270
lea ecx, [edi + 0x13b8]
push 0
mov dword [edi + 0x13b0], 0x20
mov dword [edi + 0x13b4], 0x78
call fcn.00406210
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x20
Function at 0x4068f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 4], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
jbe 0x406921
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, 1
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.00406420
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x406a2c
nop word [eax + eax]
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
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 8], edx
cmp edi, esi
jne 0x4069b1
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x406a22
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x4069eb
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x4069e3
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0xc]
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 - 8]
mov dword [edx + 4], eax
jmp 0x406a1f
cmp edi, edx
je 0x4069fc
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x406a35
cmp edi, edx
jne 0x4069f0
mov ebx, dword [eax + 4]
mov dword [ebp - 0xc], 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 - 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 8]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 4]
mov eax, ecx
cmp ecx, esi
jne 0x406960
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 0xc], 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 0x406a1f
Function at 0x406d50
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8405
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.00406a60
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x406dd8
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 0xc
cmp dword [edi + 8], 0xfffffff
jne 0x406dec
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [edi + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x14], 0
call fcn.004c6b73
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov dword [esi + 0xc], ecx
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0xbca750]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0xbca750]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x406ed7
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x24], xmm0
fld qword [ebp - 0x24]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x24]
movsd xmm0, qword [ebp - 0x24]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.004c7290
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x406eb9
cmp ebx, 0x200
jae 0x406eb7
shl ebx, 3
cmp ebx, ecx
jae 0x406eb9
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.004068f0
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00406a60
mov edx, dword [eax]
jmp 0x406eda
mov edx, dword [ebp - 0x24]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x18]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x14]
jne 0x406f05
mov dword [ecx + eax*8], esi
jmp 0x406f14
cmp edi, edx
jne 0x406f0e
mov dword [ecx + eax*8], esi
jmp 0x406f18
cmp dword [ecx + eax*8 + 4], ebx
jne 0x406f18
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 0xc
Function at 0x4074b0
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 0x4074dc
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 [0xc747e0]
or eax, 1
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0xc747e8
lea eax, [edi + edi]
push eax
call fcn.00406420
mov eax, dword [0xc747e0]
lea ebx, [edi - 1]
mov dword [0xc747f4], ebx
mov dword [0xc747f8], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x407616
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 [0xc747e8]
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 0x407574
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x4075e1
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x4075ae
mov edx, dword [edx]
mov dword [ebp - 8], edx
cmp edx, eax
je 0x4075a6
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 0x4075e1
cmp ebx, edx
je 0x4075be
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x4075f2
cmp ebx, edx
jne 0x4075b2
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 0x407616
mov ebx, dword [0xc747f4]
jmp 0x407522
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 0x4075e1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x407620
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x40767d
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
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 0x407640
mov eax, dword [esi]
jmp 0x40775b
cmp eax, 0x4e0
jb 0x40775b
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
lea edx, [edi]
mov eax, ebx
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, ebx
xor ecx, eax
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 esi, 1
jne 0x407696
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, eax
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 esi, 1
jne 0x4076e1
mov esi, dword [ebp - 4]
pop ebx
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
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
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
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret