joyce8/EMBER2024-capa huggingface dataset:
Function at 0x488f38
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
mov ebx, eax
xor eax, eax
push ebp
push 0x489089
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x3c0], 0
jne 0x488f76
push 0x4890a0
xor ecx, ecx
mov edx, dword [0x47d498]
mov eax, ebx
call fcn.00485144
mov dword [ebx + 0x3c0], eax
mov eax, dword [ebx + 0x3c0]
mov eax, dword [eax + 0x2fc]
mov edx, 0x4890b0
call fcn.0045ad74
mov eax, dword [ebx + 0x3c0]
call fcn.0047738c
mov eax, dword [ebx + 0x328]
mov eax, dword [eax + 0x208]
xor edx, edx
call fcn.0043dc24
mov edx, 0x4890dc
call fcn.0043db80
lea edx, [ebp - 0x14]
mov eax, dword [0x48c3fc]
mov eax, dword [eax]
call fcn.0047b0a8
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00409300
mov eax, dword [ebp - 0x10]
call fcn.00409470
mov eax, dword [0x48c3fc]
mov eax, dword [eax]
call fcn.0047a82c
lea eax, [ebp - 0xc]
mov edx, 0x4890f4
call fcn.004045dc
push 1
mov eax, dword [ebp - 0xc]
call fcn.00404a04
push eax
call sub.kernel32.dll_WinExec
lea eax, [ebp - 4]
mov edx, 0x489118
call fcn.004045dc
lea eax, [ebp - 8]
mov edx, 0x48912c
call fcn.004045dc
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00485318
mov eax, dword [ebx + 0x328]
mov eax, dword [eax + 0x208]
xor edx, edx
call fcn.0043dc24
mov edx, 0x489140
call fcn.0043db80
mov dl, 1
mov eax, dword [ebx + 0x350]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebx + 0x3c0]
call fcn.004771e4
push 0x40
push 0x48914c
push 0x48915c
push 0
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489090
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404568
ret

Function at 0x489243
Capabilities:
Create process on windows

Disassembly:
add byte [ebx + 0x3c0bb], al
add byte [eax], al
jne 0x489267
push 0x48940c
xor ecx, ecx
mov edx, dword [0x47d498]
mov eax, ebx
call fcn.00485144
mov dword [ebx + 0x3c0], eax
mov eax, dword [ebx + 0x3c0]
mov eax, dword [eax + 0x2fc]
mov edx, 0x48941c
call fcn.0045ad74
mov eax, dword [ebx + 0x3c0]
call fcn.0047738c
mov eax, dword [ebx + 0x328]
mov eax, dword [eax + 0x208]
xor edx, edx
call fcn.0043dc24
mov edx, 0x489450
call fcn.0043db80
mov eax, dword [0x48c3fc]
mov eax, dword [eax]
call fcn.0047a82c
lea eax, [ebp - 0xc]
mov edx, 0x489468
call fcn.004045dc
push 1
mov eax, dword [ebp - 0xc]
call fcn.00404a04
push eax
call sub.kernel32.dll_WinExec
lea eax, [ebp - 4]
mov edx, 0x48948c
call fcn.004045dc
lea eax, [ebp - 8]
mov edx, 0x4894a0
call fcn.004045dc
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00485318
mov eax, dword [ebx + 0x328]
mov eax, dword [eax + 0x208]
xor edx, edx
call fcn.0043dc24
mov edx, 0x4894b4
call fcn.0043db80
mov dl, 1
mov eax, dword [ebx + 0x350]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebx + 0x3c0]
call fcn.004771e4
push 0x40
push 0x48937c
push 0x4894c0
push 0
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48935f
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00404568
ret
Function at 0x401080
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
mov eax, 0x55555556
push esi
lea ecx, [ebp*4]
imul ecx
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax + 4]
push ecx
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov esi, eax
test eax, eax
jne 0x4010b3
pop esi
or eax, 0xffffffff
pop ebp
ret
xor ecx, ecx
push edi
test ebp, ebp
jle 0x401140
mov edi, dword [esp + 0x10]
push ebx
xor edx, edx
mov dl, byte [ecx + edi]
inc ecx
shl edx, 8
cmp ecx, ebp
jge 0x4010d7
xor ebx, ebx
mov bl, byte [ecx + edi]
add edx, ebx
inc ecx
shl edx, 8
cmp ecx, ebp
jge 0x4010e6
xor ebx, ebx
mov bl, byte [ecx + edi]
add edx, ebx
mov ebx, edx
inc ecx
sar ebx, 0x12
and ebx, 0x3f
mov bl, byte [ebx + str.qazwsxedcrfvtgbyhnujmikolpQAZWSXEDCRFVTGBYHNUJMIKOLP0987654321_]
mov byte [esi], bl
mov ebx, edx
sar ebx, 0xc
and ebx, 0x3f
mov bl, byte [ebx + str.qazwsxedcrfvtgbyhnujmikolpQAZWSXEDCRFVTGBYHNUJMIKOLP0987654321_]
mov byte [esi + 1], bl
mov ebx, edx
sar ebx, 6
and ebx, 0x3f
and edx, 0x3f
cmp ecx, ebp
mov bl, byte [ebx + str.qazwsxedcrfvtgbyhnujmikolpQAZWSXEDCRFVTGBYHNUJMIKOLP0987654321_]
mov byte [esi + 2], bl
mov dl, byte [edx + str.qazwsxedcrfvtgbyhnujmikolpQAZWSXEDCRFVTGBYHNUJMIKOLP0987654321_]
mov byte [esi + 3], dl
jle 0x40112d
mov byte [esi + 3], 0x3d
lea edx, [ebp + 1]
cmp ecx, edx
jle 0x401138
mov byte [esi + 2], 0x3d
add esi, 4
cmp ecx, ebp
jl 0x4010c3
pop ebx
mov ecx, dword [esp + 0x18]
mov byte [esi], 0
mov edi, eax
mov dword [ecx], eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
pop esi
mov eax, ecx
pop ebp
ret

Function at 0x4014d0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
mov dl, 0x45
test esi, esi
jle 0x4014f2
mov ecx, dword [esp + 8]
push ebx
mov bl, byte [eax + ecx]
xor bl, dl
mov byte [eax + ecx], bl
inc eax
cmp eax, esi
mov dl, bl
jl 0x4014e2
pop ebx
pop esi
ret

Function at 0x401500
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0x10]
xor eax, eax
test edi, edi
mov bl, 0x45
jle 0x401525
push esi
mov esi, dword [esp + 0x10]
mov dl, byte [eax + esi]
mov cl, dl
xor cl, bl
mov bl, dl
mov byte [eax + esi], cl
inc eax
cmp eax, edi
jl 0x401513
pop esi
pop edi
pop ebx
ret
Function at 0x401ba0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4076fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], 0
call fcn.00402e80
push 0x104
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 1
call fcn.00402f20
mov esi, eax
test esi, esi
je 0x401c0f
push esi
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push str.desktop.ini
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00403040
mov ebx, dword [esp + 0x38]
mov al, byte [esp + 0x38]
push 0
lea edi, [ebx + 4]
mov ecx, edi
mov byte [edi], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov esi, dword [esp + 0x20]
mov dword [ebx], 0x4082c0
mov eax, dword [edi + 8]
mov byte [esp + 0x30], 2
cmp eax, esi
jb 0x401c9e
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ebp, dword [ecx]
jae 0x401c4c
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xran_void_]
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Split_void_]
mov eax, dword [edi + 8]
mov ecx, eax
sub ecx, esi
cmp ecx, ebp
jae 0x401c61
mov ebp, ecx
test ebp, ebp
jbe 0x401cab
mov edx, dword [edi + 4]
sub eax, ebp
sub eax, esi
lea ecx, [edx + ebp]
add edx, esi
add ecx, esi
push eax
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_memmove]
mov esi, dword [edi + 8]
add esp, 0xc
sub esi, ebp
mov ecx, edi
push 0
push esi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x401cab
push esi
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
jmp 0x401cab
sub esi, eax
push 0
push esi
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_unsigned_int__char_]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0xc]
mov edx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
test eax, eax
jne 0x401cbe
mov eax, edx
mov edi, dword [edi + 4]
test edi, edi
jne 0x401cc7
mov edi, edx
mov edx, ecx
mov esi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x10], 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.00402ea0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x403f00
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
ret

Function at 0x405a00
Capabilities:
Create http request

Disassembly:
push 0xffffffffffffffff
push 0x407a21
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 4]
call fcn.00402e80
xor edi, edi
lea ecx, [esi + 0x18]
mov dword [esp + 0x14], edi
call fcn.00402e80
lea ecx, [esi + 0x2c]
mov byte [esp + 0x14], 1
call fcn.00402e80
lea ecx, [esi + 0x40]
mov byte [esp + 0x14], 2
call fcn.00402e80
mov eax, dword [esp + 0x1c]
push edi
push edi
push edi
push edi
push eax
mov dword [esi], 0x4082c4
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], edi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x5c], eax
mov dword [esi + 0x54], 0x40a1b4
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4069c0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0xc]
push esi
push 0x459e58
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x4069fe
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push esi
push 1
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x406a50
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x128
push ebp
push esi
push 0
push 2
or ebp, 0xffffffff
mov dword [esp + 0x10], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x406acf
push ebx
lea eax, [esp + 0xc]
push edi
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x406abb
mov edi, dword [esp + 0x13c]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea ecx, [esp + 0x34]
push ecx
push edi
call ebx
test eax, eax
je 0x406ab7
lea edx, [esp + 0x10]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x406abb
lea eax, [esp + 0x34]
push eax
push edi
call ebx
test eax, eax
jne 0x406a9c
mov ebp, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov eax, ebp
pop esi
pop ebp
add esp, 0x128
ret
mov eax, ebp
pop esi
pop ebp
add esp, 0x128
ret
Function at 0x402250
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464dcd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebx + 8]
lea esi, [ebx + 0x2c]
push esi
mov dword [ebp - 0x24], esi
mov eax, dword [eax + 8]
mov cl, byte [eax + 0xd]
xor eax, eax
test cl, cl
mov byte [ebp - 0xd], cl
sete al
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x10]
mov edi, dword [eax]
cmp edi, eax
je 0x402365
nop word [eax + eax]
mov eax, dword [edi + 0x24]
mov ecx, dword [edi]
mov dword [ebp - 0x18], ecx
cmp byte [eax + 0x48], 0
jne 0x402357
cmp dword [edi + 0x1c], 8
lea eax, [edi + 8]
mov ecx, dword [eax + 0x10]
mov esi, eax
jb 0x4022d2
mov esi, dword [eax]
add ecx, ecx
mov edx, 0x811c9dc5
mov dword [ebp - 0x14], ecx
xor ecx, ecx
cmp dword [ebp - 0x14], ecx
jbe 0x4022fd
mov ebx, dword [ebp - 0x14]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x4022e6
mov ebx, dword [ebp - 0x1c]
lea eax, [edi + 8]
mov ecx, dword [eax + 0x18]
mov eax, dword [ebx + 0x18]
xor ecx, edx
and ecx, dword [ebx + 0x24]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], edi
jne 0x402328
cmp eax, edi
jne 0x402320
mov eax, dword [ebx + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x402331
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x402331
cmp eax, edi
jne 0x402331
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
mov edx, dword [edi]
lea ecx, [edi + 8]
dec dword [ebx + 0x14]
mov eax, dword [edi + 4]
mov dword [eax], edx
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
call fcn.00406850
push 0x2c
push edi
call fcn.004418b1
mov ecx, dword [ebp - 0x18]
add esp, 8
mov edi, ecx
cmp ecx, dword [ebx + 0x10]
jne 0x4022b0
lea esi, [ebx + 0x2c]
push dword [ebp - 0x20]
mov edi, dword [ebp + 8]
mov ecx, ebx
push edi
call fcn.00404480
test edi, edi
jne 0x402387
cmp byte [ebp - 0xd], 0
je 0x402387
push 1
push edi
mov ecx, ebx
call fcn.00404480
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x403f40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x148
push esi
push edi
push 0x40
lea eax, [esp + 0x1c]
mov esi, ecx
push 0
push eax
call fcn.00445960
push 0xf8
lea eax, [esp + 0x68]
push 0
push eax
call fcn.00445960
mov eax, dword [ebp + 8]
add esp, 0x18
mov edx, dword [ebp + 0xc]
xorps xmm0, xmm0
or eax, edx
mov ecx, dword [esi + 4]
movlpd qword [esp + 8], xmm0
je 0x404015
mov eax, dword [ecx + 0x4c]
lea edi, [esp + 8]
push edi
push 0x40
lea edi, [esp + 0x20]
mov ecx, dword [eax + 8]
push edi
mov edi, dword [ebp + 8]
push edx
mov eax, dword [ecx]
push edi
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jne 0x404015
mov eax, 0x5a4d
cmp word [esp + 0x18], ax
jne 0x404015
mov eax, dword [esi + 4]
xorps xmm0, xmm0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
cdq
mov esi, eax
movlpd qword [esp + 0x10], xmm0
add esi, edi
mov ecx, esi
adc edx, dword [ebp + 0xc]
or ecx, edx
je 0x404015
mov eax, dword [esp + 8]
lea edi, [esp + 0x10]
push edi
push 0xf8
lea edi, [esp + 0x60]
mov eax, dword [eax + 0x4c]
push edi
push edx
push esi
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jne 0x404015
cmp dword [esp + 0x58], 0x4550
sete al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x404330
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov edx, dword [ebp + 8]
push esi
push edi
sub esp, 0x18
mov dword [esp + 0x2c], ecx
mov ecx, esp
call fcn.0040ebc0
lea ecx, [esp + 0x30]
call fcn.0040f390
xorps xmm0, xmm0
xor ecx, ecx
movaps xmmword [esp + 0x48], xmm0
add esp, 0x18
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x30], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x40], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [esp + 0x2c]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x48], eax
cmp ecx, 8
jb 0x4043c9
mov edx, dword [esp + 0x18]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4043bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404472
push ecx
push edx
call fcn.004418b1
add esp, 8
cmp dword [esp + 0x44], 8
lea edi, [esp + 0x30]
mov esi, dword [esp + 0x30]
mov edx, 0x811c9dc5
mov eax, dword [esp + 0x40]
cmovae edi, esi
xor ecx, ecx
add eax, eax
je 0x404405
mov esi, eax
nop word [eax + eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4043f0
mov esi, dword [esp + 0x30]
xor edx, dword [ebp + 0xc]
lea eax, [esp + 0x30]
mov edi, dword [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [edi + 0xc]
call fcn.004067c0
cmp dword [eax + 4], 0
je 0x404436
lea eax, [esp + 0x30]
push eax
lea ecx, [edi + 0xc]
call fcn.00404b10
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x44]
cmp eax, 8
jb 0x40446a
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x404460
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404477
push ecx
push esi
call fcn.004418b1
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.00449a39
call fcn.00449a39
int3
Function at 0x404b10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], ecx
mov edi, esi
cmp dword [esi + 0x14], 8
mov ebx, dword [esi + 0x10]
jb 0x404b2c
mov edi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
add ebx, ebx
je 0x404b48
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x404b37
mov edi, dword [esi + 0x18]
lea eax, [ebp - 0xc]
mov ebx, dword [ebp - 4]
xor edi, edx
push edi
push esi
push eax
mov ecx, ebx
call fcn.004067c0
mov esi, dword [eax + 4]
test esi, esi
je 0x404bc5
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0xc]
and ecx, edi
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x404b8c
cmp eax, esi
jne 0x404b84
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x404b94
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x404b94
cmp eax, esi
jne 0x404b94
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
dec dword [ebx + 8]
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea ecx, [esi + 8]
call fcn.00406850
push 0x2c
push esi
call fcn.004418b1
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4057e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x465045
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov esi, ebx
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
jb 0x405810
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
add eax, eax
je 0x405834
mov ebx, eax
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x405820
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x18]
mov ecx, edi
xor eax, edx
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.004067c0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x40586c
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [edi + 8], 0x5d1745d
je 0x4059d2
lea eax, [edi + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 0x2c
mov dword [ebp - 0x18], 0
call fcn.00441881
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
lea ecx, [esi + 8]
push ebx
call fcn.00404d00
mov ecx, dword [ebx + 0x18]
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov eax, dword [ecx]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + 4]
mov dword [esi + 0x28], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
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
movd xmm1, ebx
addsd xmm0, qword [eax*8 + 0x49b8a0]
cvtdq2pd xmm1, xmm1
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x49b8a0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x405970
divss xmm0, xmm3
call fcn.00401550
call fcn.00441f10
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x405951
cmp ebx, 0x200
jae 0x40594f
shl ebx, 3
cmp ebx, ecx
jae 0x405951
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.004064d0
mov ebx, dword [ebp + 0xc]
lea eax, [esi + 8]
push ebx
push eax
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.004067c0
mov edx, dword [eax]
jmp 0x405976
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [edi + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 0x18]
and eax, ebx
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ecx + eax*8]
cmp edi, dword [ebx]
jne 0x4059a0
mov dword [ecx + eax*8], esi
jmp 0x4059b2
cmp edi, edx
jne 0x4059a9
mov dword [ecx + eax*8], esi
jmp 0x4059b6
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x4059b6
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
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push str.unordered_map_set_too_long
call fcn.00442bd2
int3
Function at 0x405c30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x465045
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov esi, ebx
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
jb 0x405c60
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
add eax, eax
je 0x405c84
mov ebx, eax
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x405c70
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x18]
mov ecx, edi
xor eax, edx
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.004067c0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x405cbc
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 [edi + 8], 0x5d1745d
je 0x405e0f
lea eax, [edi + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 0x2c
mov dword [ebp - 0x18], 0
call fcn.00441881
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
lea ecx, [esi + 8]
push ebx
call fcn.00404d00
mov ecx, dword [ebx + 0x18]
xorps xmm0, xmm0
mov dword [esi + 0x20], ecx
movq qword [esi + 0x24], xmm0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
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
movd xmm1, ebx
addsd xmm0, qword [eax*8 + 0x49b8a0]
cvtdq2pd xmm1, xmm1
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x49b8a0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x405dad
divss xmm0, xmm3
call fcn.00401550
call fcn.00441f10
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x405d8e
cmp ebx, 0x200
jae 0x405d8c
shl ebx, 3
cmp ebx, ecx
jae 0x405d8e
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.004064d0
mov ebx, dword [ebp + 0xc]
lea eax, [esi + 8]
push ebx
push eax
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.004067c0
mov edx, dword [eax]
jmp 0x405db3
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [edi + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 0x18]
and eax, ebx
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ecx + eax*8]
cmp edi, dword [ebx]
jne 0x405ddd
mov dword [ecx + eax*8], esi
jmp 0x405def
cmp edi, edx
jne 0x405de6
mov dword [ecx + eax*8], esi
jmp 0x405df3
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x405df3
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
push str.unordered_map_set_too_long
call fcn.00442bd2
int3