joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52ded0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x18], 0x20
jb 0x52deec
xor al, al
mov esp, ebp
pop ebp
ret
push 0x7204e0
call fcn.0052dfa0
add esp, 4
test eax, eax
jne 0x52df16
push str.AuthenticAMD
call fcn.0052dfa0
add esp, 4
test eax, eax
jne 0x52df16
xor cl, cl
mov al, cl
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
setne cl
test eax, eax
je 0x52df96
mov eax, dword [ebp - 4]
push edi
cmp dword [ebp - 8], eax
je 0x52df61
mov edi, dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
push eax
push esi
call edi
test eax, eax
setne cl
test eax, eax
je 0x52df5e
push dword [ebp - 8]
push esi
call edi
test eax, eax
setne cl
mov eax, dword [ebp - 4]
test cl, cl
je 0x52df95
cmp eax, 1
jbe 0x52df95
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [ebp - 8]
mov edi, dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
mov esi, eax
push esi
call edi
test eax, eax
je 0x52df93
push eax
push esi
call edi
test eax, eax
pop edi
setne cl
pop esi
mov al, cl
mov esp, ebp
pop ebp
ret
xor cl, cl
pop edi
pop esi
mov al, cl
mov esp, ebp
pop ebp
ret
Function at 0x52e820
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
push ebx
push esi
mov esi, ecx
mov cl, byte [ebp + 0xc]
mov byte [esi], al
mov byte [esi + 1], cl
cmp cl, al
jbe 0x52e83b
mov byte [esi + 1], al
mov cl, al
xor edx, edx
movzx eax, al
movzx ecx, cl
div ecx
mov dl, 8
mov cl, 0x80
dec al
jmp 0x52e850
test al, cl
jne 0x52e85a
dec dl
shr cl, 1
jne 0x52e850
mov bl, byte [esi + 1]
mov cl, 8
mov byte [esi + 2], dl
dec bl
mov al, 0x80
test bl, al
jne 0x52e870
dec cl
shr al, 1
jne 0x52e866
mov al, 8
mov byte [esi + 4], cl
sub al, cl
or bl, 0xff
sub al, dl
movzx ecx, cl
mov byte [esi + 6], al
movzx eax, dl
or dl, 0xff
add ecx, eax
shl dl, cl
mov ecx, eax
shl bl, cl
mov al, bl
mov byte [esi + 7], dl
not bl
xor al, dl
mov byte [esi + 3], bl
mov byte [esi + 5], al
pop esi
pop ebx
pop ebp
ret 8

Function at 0x533d60
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 8
mov ecx, dword [0x838428]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x8077b0]
cmp eax, dword [ecx + 0x480]
jg 0x533e45
push ebx
mov ebx, dword [0x8077ac]
test ebx, ebx
je 0x533e3e
cmp byte [ebx + 0x1c], 0
jne 0x533e3e
lea eax, [ebp - 4]
push eax
call fcn.00526d90
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, eax
test edx, edx
je 0x533def
test ecx, ecx
je 0x533def
cmp dword [ecx], 0
je 0x533def
mov eax, dword [ebx]
push ecx
push edx
mov ecx, ebx
mov eax, dword [eax]
cmp eax, fcn.00533150
jne 0x533dd3
call fcn.00533150
jmp 0x533dd5
call eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x533df9
push 0x6cca60
lea ecx, [ebx + 4]
call fcn.0049ec40
mov eax, dword [0x8077ac]
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
push 4
push 0
push 0
push eax
call fcn.00534900
mov esi, eax
push esi
call fcn.005383bb
push 0
mov edi, eax
push esi
push edi
push dword [ebp - 8]
call fcn.00534900
add esp, 0x24
lea ecx, [ebx + 4]
push edi
call fcn.0049ec40
push edi
call fcn.005383c4
mov eax, dword [0x8077ac]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x8077b0
call fcn.00538861
add esp, 4
cmp dword [0x8077b0], 0xffffffff
jne 0x533d86
push 0
push 0
push 4
mov ecx, 0x7acf68
call fcn.00498ef0
push 0
push 0
push 0x10
mov ecx, 0x7acf80
mov dword [0x7acf78], 0
call fcn.00498ef0
mov eax, dword [0x7acf84]
push 0x6cbb50
mov dword [0x7acf90], 0xffffffff
mov dword [0x7acf94], 0xffffffff
mov dword [0x7acf98], 0xffffffff
mov dword [0x7acfa0], 0
mov dword [0x7acf9c], 0
mov dword [0x7acfa4], eax
mov word [0x7acf7c], 0
mov dword [0x8077ac], 0x7acf60
call fcn.00538613
push 0x8077b0
call fcn.00538817
add esp, 8
jmp 0x533d86

Function at 0x55bf5b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0055bdd1

Function at 0x5619ff
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00561552
Function at 0x565780
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 8
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
push esi
mov esi, dword [ebp + 8]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, esi
push eax
push edx
lea eax, [ebp - 8]
push eax
call fcn.00565a10
mov eax, dword [eax + 4]
test eax, eax
je 0x5657e0
cmp eax, dword [esi + 4]
je 0x5657e0
mov eax, dword [eax + 0xc]
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x565d60
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c3615
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x7ad084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
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 - 0x1c]
push ebx
push eax
call fcn.00565a10
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x565df3
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 ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0xfffffff
je 0x565f4f
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.0053837d
mov ecx, dword [ebx]
mov esi, eax
mov edx, dword [ebx + 4]
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov ecx, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
movss xmm3, dword [edi]
mov dword [ebp - 4], 1
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6d3d40]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x6d3d40]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x565eee
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call fcn.00551260
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00538e70
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x565ecd
cmp ebx, 0x200
jae 0x565ecb
shl ebx, 3
cmp ebx, ecx
jae 0x565ecd
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.00567e40
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00565a10
mov ecx, dword [edi + 8]
mov edx, dword [eax]
jmp 0x565ef1
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
lea eax, [ecx + 1]
mov dword [edi + 8], eax
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 - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x565f1f
mov dword [ecx + eax*8], esi
jmp 0x565f2e
cmp edi, edx
jne 0x565f28
mov dword [ecx + eax*8], esi
jmp 0x565f32
cmp dword [ecx + eax*8 + 4], ebx
jne 0x565f32
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.00537843
int3
Function at 0x567e40
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
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 - 0xc], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x567fa3
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp - 4], 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.0047d070
mov ecx, dword [ebx + 4]
lea eax, [edi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x567f76
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
mov dword [ebp + 8], ebx
lea eax, [eax + edi*8]
mov dword [ebp - 8], eax
cmp ebx, esi
jne 0x567ef6
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x567f69
mov eax, dword [eax + 4]
mov ebx, dword [ecx + 8]
cmp ebx, dword [eax + 8]
jne 0x567f30
mov eax, dword [eax]
mov dword [ebp + 8], eax
cmp eax, ecx
je 0x567f28
mov ebx, dword [ecx + 4]
mov esi, dword [ebp + 8]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 4]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
jmp 0x567f69
mov edi, eax
cmp dword [ebp + 8], eax
je 0x567f46
mov eax, dword [eax + 4]
mov edi, eax
cmp ebx, dword [eax + 8]
je 0x567f7f
cmp dword [ebp + 8], eax
jne 0x567f37
mov eax, dword [ecx + 4]
mov dword [ebp + 8], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp + 8]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax], ecx
mov ebx, dword [ebp - 0xc]
mov ecx, edx
cmp edx, esi
jne 0x567ea2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp + 8], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 4]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x567f69
push str.invalid_hash_bucket_count
call fcn.00537843
int3
Function at 0x58d820
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c4f42
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x7ad084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
mov dword [esi], vtable.google::protobuf::DescriptorProto.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
push eax
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 6
call fcn.0046ea80
mov dword [esi + 0x90], 0x7b9440
mov eax, esi
mov dword [esi + 0x94], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x58d950
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c4f7b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x7ad084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
mov dword [esi], vtable.google::protobuf::EnumDescriptorProto.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
push eax
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.0046ea80
mov dword [esi + 0x40], 0x7b9440
mov eax, esi
mov dword [esi + 0x44], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x58dbf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c4fe7
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x7ad084]
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 + 8]
lea ecx, [edi + 0x10]
mov dword [edi + 4], esi
mov dword [edi], vtable.google::protobuf::FileDescriptorProto.0
mov dword [edi + 8], 0
push esi
mov dword [edi + 0xc], 0
call fcn.0046ea80
mov dword [ebp - 4], 0
mov dword [edi + 0x20], esi
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], esi
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], esi
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
push esi
lea ecx, [edi + 0x60]
mov byte [ebp - 4], 4
call fcn.0046e9a0
push esi
lea ecx, [edi + 0x6c]
mov byte [ebp - 4], 5
call fcn.0046e9a0
xorps xmm0, xmm0
mov dword [edi + 0x78], 0x7b9440
mov dword [edi + 0x7c], 0x7b9440
mov eax, edi
mov dword [edi + 0x80], 0x7b9440
movq qword [edi + 0x84], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x58dfa0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c505b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x7ad084]
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 + 8]
lea ecx, [edi + 0x10]
mov dword [edi + 4], esi
mov dword [edi], vtable.google::protobuf::SourceCodeInfo_Location.0
mov dword [edi + 8], 0
push esi
mov dword [edi + 0xc], 0
call fcn.0046e9a0
push esi
lea ecx, [edi + 0x20]
mov dword [ebp - 4], 0
mov dword [edi + 0x1c], 0
call fcn.0046e9a0
push esi
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 1
mov dword [edi + 0x2c], 0
call fcn.0046ea80
mov dword [edi + 0x40], 0x7b9440
mov eax, edi
mov dword [edi + 0x44], 0x7b9440
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, eax
cmp dword [eax + 0x14], 0x10
jb 0x591802
mov esi, dword [eax]
mov edi, dword [eax + 0x10]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x591821
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x591810
pop edi
mov eax, edx
pop esi
pop ebp
ret 4
Function at 0x593ed0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
xor ecx, ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov edx, dword [edi + 4]
mov esi, dword [edi + 8]
add esi, edx
cmp edx, esi
jae 0x593efd
nop dword [eax]
movsx eax, byte [edx]
lea ecx, [ecx + ecx*4]
inc edx
add ecx, eax
cmp edx, esi
jb 0x593ef0
imul eax, dword [edi], 0x1000193
xor eax, ecx
mov ecx, ebx
push eax
push edi
lea eax, [ebp - 8]
push eax
call fcn.00595140
mov eax, dword [eax + 4]
test eax, eax
je 0x593f28
cmp eax, dword [ebx + 4]
je 0x593f28
mov eax, dword [eax + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x596080
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 8]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0x10
mov edi, edx
mov dword [ebp - 4], eax
jb 0x59609b
mov edi, dword [edx]
mov ebx, dword [edx + 0x10]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x5960c4
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x5960b0
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 8]
push ecx
mov ecx, eax
call fcn.005951d0
xor ecx, ecx
pop edi
pop esi
cmp dword [eax + 4], ecx
pop ebx
setne cl
mov eax, ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x596140
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c35d5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x7ad084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
imul eax, dword [ebx], 0x100011b
imul ecx, dword [ebx + 4], 0x1000193
xor ecx, eax
lea eax, [ebp - 0x14]
push ecx
push ebx
mov dword [ebp + 0xc], ecx
mov ecx, edi
push eax
call fcn.00477c90
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x5961b0
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 ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0xccccccc
je 0x596312
lea eax, [edi + 4]
mov dword [ebp - 0x1c], eax
push 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.0053837d
movq xmm0, qword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
movq qword [esi + 8], xmm0
mov ecx, dword [ebx + 8]
mov dword [esi + 0x10], ecx
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6d3d40]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x6d3d40]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x5962ab
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
fstp qword [esp]
call fcn.00551260
fstp qword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x14]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00538e70
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x59628c
cmp ebx, 0x200
jae 0x59628a
shl ebx, 3
cmp ebx, ecx
jae 0x59628c
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.005b7820
mov ebx, dword [ebp + 0xc]
lea eax, [esi + 8]
push ebx
push eax
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.00477c90
mov edx, dword [eax]
jmp 0x5962b1
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp + 0xc]
mov eax, dword [edi + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [edi + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ecx
mov dword [ecx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, ebx
mov dword [ebp + 0xc], ecx
mov ecx, dword [edi + 0xc]
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ecx + eax*8]
cmp edi, dword [ebx]
jne 0x5962df
mov dword [ecx + eax*8], esi
jmp 0x5962f1
cmp edi, edx
jne 0x5962e8
mov dword [ecx + eax*8], esi
jmp 0x5962f5
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x5962f5
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.00537843
int3
Function at 0x596320
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c5485
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x7ad084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov esi, dword [ecx + 4]
mov edi, dword [ecx + 8]
add edi, esi
cmp esi, edi
jae 0x59636d
nop dword [eax + eax]
movsx eax, byte [esi]
lea edx, [edx + edx*4]
inc esi
add edx, eax
cmp esi, edi
jb 0x596360
imul eax, dword [ecx], 0x1000193
mov edi, dword [ebp - 0x14]
xor eax, edx
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push ecx
push eax
mov ecx, edi
call fcn.00595140
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x5963ab
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 ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0xaaaaaaa
je 0x596507
lea eax, [edi + 4]
mov dword [ebp - 0x18], eax
push 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
call fcn.0053837d
mov esi, eax
add esp, 4
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], esi
movups xmm0, xmmword [eax]
movups xmmword [esi + 8], xmm0
mov eax, dword [edi + 8]
inc eax
movss xmm3, dword [edi]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6d3d40]
mov eax, dword [edi + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x6d3d40]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x5964a0
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call fcn.00551260
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00538e70
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [edi + 0x1c]
cmp eax, ecx
jae 0x596482
cmp eax, 0x200
jae 0x596480
shl eax, 3
cmp eax, ecx
jae 0x596482
mov eax, ecx
push eax
mov ecx, edi
call fcn.005b7980
push dword [ebp - 0x10]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00595140
mov edx, dword [eax]
jmp 0x5964a3
mov edx, dword [ebp - 0x20]
mov eax, dword [edi + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [edi + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ecx
mov dword [ecx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
mov dword [ebp + 0xc], ecx
mov ecx, dword [edi + 0xc]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x14]
jne 0x5964d5
mov dword [ecx + eax*8], esi
jmp 0x5964e7
cmp edi, edx
jne 0x5964de
mov dword [ecx + eax*8], esi
jmp 0x5964eb
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x5964eb
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.00537843
int3