joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f10d0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5672b8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5cf024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0x68]
lea ecx, [ebp - 0x28]
push 0xa
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push str.TRANSFORMS
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00407b80
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.004eeec0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00407e00
cmp dword [ebp - 0x30], 0
je 0x4f1266
cmp dword [edi + 0xc8], 0
je 0x4f125a
mov eax, dword [edi + 0x68]
add eax, 4
push eax
call fcn.004f5770
test al, al
jne 0x4f122e
mov eax, dword [edi + 0x68]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x4f118c
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x44]
call fcn.00415390
mov byte [ebp - 4], 3
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x4c], 0x57cb58
mov dword [ebp - 0x48], esi
mov byte [ebp - 4], 4
cmp esi, 0xffffffff
jne 0x4f11df
mov byte [ebp - 4], 3
push eax
mov dword [ebp - 0x4c], 0x57cb58
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0x4f1200
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x4c], 0x57cb58
test esi, esi
je 0x4f1207
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4f1226
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp ebx, 0x3200000
jbe 0x4f125a
push ecx
mov ecx, dword [edi + 0xc8]
push 0
push 0xdc
call fcn.004b17b0
lea eax, [edi + 0x58]
push eax
call fcn.004b1a30
mov ecx, dword [edi + 0xc8]
lea ecx, [ecx + 0xc]
call fcn.004b13d0
jmp 0x4f1266
mov eax, dword [edi + 0x58]
lea ecx, [edi + 0x58]
push 0
push 0
call dword [eax]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00407e00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051dacc
mov esp, ebp
pop ebp
ret
Function at 0x4f15e0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567408
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x5cf024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x10]
mov ecx, str.AI_InstallPrerequisite
mov eax, dword [ebp + 8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4f163b
test dx, dx
je 0x4f1637
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4f163b
add eax, 4
add ecx, 4
test dx, dx
jne 0x4f1615
xor eax, eax
jmp 0x4f1640
sbb eax, eax
or eax, 1
test eax, eax
je 0x4f164b
xor al, al
jmp 0x4f174b
push 0
push 0
mov edx, str.prereq
lea ecx, [ebp - 0x44]
call fcn.00409a80
add esp, 8
mov dword [ebp - 4], 0
xor eax, eax
push 0x37
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0
push str.SELECT__Data__FROM__Binary__WHERE__Name___Prereq.dll
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00407b80
mov byte [ebp - 4], 1
push dword [ebp + 0xc]
call dword [sym.imp.msi.dll_MsiGetFeatureCostA]
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x2c]
mov ecx, eax
call fcn.004d9500
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00407e00
cmp dword [ebp - 0x30], 8
lea esi, [ebp - 0x44]
push 0x5c
cmovae esi, dword [ebp - 0x44]
push esi
call fcn.0051f258
add esp, 8
test eax, eax
je 0x4f16e6
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x48], eax
lea edx, [ebp - 0x50]
push dword [ebp - 0x48]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x60]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x4c], eax
call fcn.004f7510
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4f172c
push str.InstallPrereq
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4f172c
push dword [ebp + 0xc]
call eax
mov dword [ebx], eax
mov bl, 1
jmp 0x4f172e
xor bl, bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.004f7200
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00407e00
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0051dacc
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4f6110
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568259
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x5cf024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x21c]
mov edi, dword [ebp + 8]
push 0x104
mov dword [ebp - 0x254], edi
push eax
mov dword [ebp - 0x250], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
add eax, eax
cmp eax, 0x208
jae 0x4f62c1
xor ecx, ecx
mov word [ebp + eax - 0x21c], cx
xor eax, eax
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x224], ecx
lea edx, [eax + 2]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], 7
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4f61b0
sub eax, edx
lea ecx, [ebp - 0x234]
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00407b80
mov dword [ebp - 4], 1
lea eax, [ebp - 0x234]
push 1
sub esp, 0x18
mov dword [ebp - 0x258], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x25c], esp
push eax
call fcn.004071f0
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.00487fb0
add esp, 0x18
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.004883e0
mov byte [ebp - 4], 1
mov dword [ebp - 0x250], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.00407e00
push 0xb
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x24c]
push str.msiexec.exe
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
call fcn.00407b80
mov dword [ebp - 4], 5
lea eax, [ebp - 0x24c]
push eax
mov ecx, edi
call fcn.00446900
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.00407e00
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0051dacc
mov esp, ebp
pop ebp
ret 4
call fcn.0051e0ba
int3
Function at 0x4f66e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568378
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x5cf024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe8], ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xe0], ebx
xor edi, edi
xor eax, eax
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xe4], edi
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc8], 7
mov word [ebp - 0xdc], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
mov byte [ebp - 4], 1
lea eax, [ebp - 0xdc]
push eax
mov ecx, esi
call fcn.004e6360
test al, al
jne 0x4f691a
nop dword [eax]
mov ecx, esi
call fcn.004e6770
lea eax, [ebp - 0xac]
mov ecx, esi
push eax
call fcn.004e6360
test al, al
jne 0x4f691a
cmp dword [ebp - 0xc8], 8
lea eax, [ebp - 0xdc]
cmovae eax, dword [ebp - 0xdc]
push eax
call fcn.00527486
mov edi, eax
add esp, 4
and eax, 0xff000000
cmp eax, 0xd000000
je 0x4f68d8
mov eax, dword [ebp - 0xe8]
cmp dword [ebp - 0x98], 8
mov ecx, dword [eax + 0x74]
mov eax, dword [ecx]
mov edx, dword [eax]
lea eax, [ebp - 0xac]
cmovae eax, dword [ebp - 0xac]
push eax
push edi
call edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x94]
push 0xa
push 0x40
push ecx
push eax
call fcn.00527cea
add esp, 0x10
mov dword [ebp - 0xb4], 0
xor eax, eax
mov dword [ebp - 0xb0], 0
mov word [ebp - 0xc4], ax
lea eax, [ebp - 0x94]
mov dword [ebp - 0xb4], 0
lea edx, [eax + 2]
mov dword [ebp - 0xb0], 7
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4f6853
sub eax, edx
lea ecx, [ebp - 0xc4]
sar eax, 1
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00407b80
or ebx, 1
lea edx, [ebp - 0xec]
mov dword [ebp - 0xe0], ebx
mov eax, dword [ebp - 0xb4]
cmp dword [ebp - 0xb0], 8
push 0
push edx
lea ecx, [eax + eax]
lea eax, [ebp - 0xc4]
cmovae eax, dword [ebp - 0xc4]
push ecx
push eax
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
and ebx, 0xfffffffe
mov dword [ebp - 0xe0], ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4]
call fcn.00407e00
mov edi, dword [ebp - 0xe4]
jmp 0x4f6904
cmp dword [ebp - 0x98], 8
lea eax, [ebp - 0xac]
cmovae eax, dword [ebp - 0xac]
push eax
call fcn.00527486
add esp, 4
mov edi, eax
mov ecx, esi
mov dword [ebp - 0xe4], edi
call fcn.004e6770
lea eax, [ebp - 0xdc]
mov ecx, esi
push eax
call fcn.004e6360
test al, al
je 0x4f6790
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xac]
call fcn.00407e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.00407e00
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0051dacc
mov esp, ebp
pop ebp
ret 4
Function at 0x4f7200
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568530
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5cf024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
cmp byte [esi + 8], 0
jne 0x4f725d
mov dword [ebp - 4], 0
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esi + 4]
cmp dword [eax + 0x14], 8
jb 0x4f724f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x506e70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ecx
push ebx
push ebp
mov ebx, ecx
xor al, al
push esi
push edi
mov edi, dword [esp + 0x18]
cmp dword [ebx + 0xfc], 0
mov byte [esp + 0x13], al
je 0x506f3e
cmp dword [edi + 0x14], 8
lea eax, [ebx + 0xf4]
mov ebp, dword [edi + 0x10]
mov esi, edi
jb 0x506ea1
mov esi, dword [edi]
xor edx, edx
mov ecx, 0x811c9dc5
add ebp, ebp
je 0x506ec7
nop dword [eax]
movzx eax, byte [edx + esi]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, ebp
jb 0x506eb0
lea eax, [ebx + 0xf4]
push ecx
push edi
mov ecx, eax
call fcn.00508510
mov esi, eax
cmp esi, dword [ebx + 0xf8]
je 0x506f3e
mov ebp, dword [esp + 0x24]
nop
cmp dword [edi + 0x14], 8
lea ecx, [esi + 8]
mov edx, edi
jb 0x506eed
mov edx, dword [edi]
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
jb 0x506ef8
mov ecx, dword [ecx]
cmp eax, dword [edi + 0x10]
jne 0x506f33
push eax
call fcn.00407580
add esp, 4
test eax, eax
jne 0x506f33
push ebp
push dword [esp + 0x24]
lea eax, [esi + 0x20]
push ecx
push eax
push edi
mov ecx, ebx
call fcn.00505700
mov esi, dword [esi]
mov byte [esp + 0x13], 1
cmp esi, dword [ebx + 0xf8]
jne 0x506ee0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
cmp byte [esp + 0x13], 0
jne 0x507041
cmp dword [ebx + 0x11c], 0
je 0x506ffd
cmp dword [edi + 0x14], 8
lea eax, [ebx + 0x114]
mov ebp, dword [edi + 0x10]
mov esi, edi
jb 0x506f5e
mov esi, dword [edi]
xor edx, edx
mov ecx, 0x811c9dc5
add ebp, ebp
je 0x506f87
nop dword [eax]
movzx eax, byte [edx + esi]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, ebp
jb 0x506f70
lea eax, [ebx + 0x114]
push ecx
push edi
mov ecx, eax
call fcn.00508510
mov esi, eax
cmp esi, dword [ebx + 0x118]
je 0x506ffd
nop word [eax + eax]
cmp dword [edi + 0x14], 8
lea ecx, [esi + 8]
mov edx, edi
jb 0x506fad
mov edx, dword [edi]
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
jb 0x506fb8
mov ecx, dword [ecx]
cmp eax, dword [edi + 0x10]
jne 0x506ff6
push eax
call fcn.00407580
add esp, 4
test eax, eax
jne 0x506ff6
push dword [esp + 0x24]
lea eax, [esi + 0x20]
push dword [esp + 0x24]
push ecx
push eax
push edi
mov ecx, ebx
call fcn.00505700
mov esi, dword [esi]
mov byte [esp + 0x13], 1
cmp esi, dword [ebx + 0x118]
jne 0x506fa0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
cmp byte [esp + 0x13], 0
jne 0x507041
cmp byte [esp + 0x24], 0
jne 0x507041
mov eax, dword [edi + 0x10]
test eax, eax
je 0x507041
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x507015
mov ecx, dword [edi]
cmp eax, 0xd
jne 0x50702c
push eax
mov edx, str.ExecuteAction
call fcn.00407580
add esp, 4
test eax, eax
je 0x507041
push 1
push dword [ebx + 0xc4]
mov ecx, edi
push dword [ebx + 0xc0]
call fcn.00503b90
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
Function at 0x5073f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
cmp dword [ebx + 8], 0
je 0x507507
mov edx, dword [esp + 0x10]
mov edi, edx
push ebp
cmp dword [edx + 0x14], 8
mov ebp, dword [edx + 0x10]
jb 0x507413
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebp, ebp
je 0x507431
nop
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebp
jb 0x507420
push esi
push edx
mov ecx, ebx
call fcn.00508510
pop ebp
cmp eax, dword [ebx + 4]
je 0x507507
mov edi, dword [esp + 0x14]
lea esi, [eax + 0x20]
cmp edi, esi
je 0x507464
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x507459
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.00407b80
lea eax, [esi + 0x18]
lea ecx, [edi + 0x18]
cmp ecx, eax
je 0x507480
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x507479
mov eax, dword [eax]
push edx
push eax
call fcn.00407b80
lea eax, [esi + 0x30]
lea ecx, [edi + 0x30]
cmp ecx, eax
je 0x50749c
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x507495
mov eax, dword [eax]
push edx
push eax
call fcn.00407b80
mov eax, dword [esi + 0x48]
lea ecx, [edi + 0x50]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
lea eax, [esi + 0x50]
cmp ecx, eax
je 0x5074c4
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x5074bd
mov eax, dword [eax]
push edx
push eax
call fcn.00407b80
lea eax, [esi + 0x68]
lea ecx, [edi + 0x68]
cmp ecx, eax
je 0x5074e0
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x5074d9
mov eax, dword [eax]
push edx
push eax
call fcn.00407b80
sub esi, 0xffffff80
lea ecx, [edi + 0x80]
cmp ecx, esi
je 0x5074ff
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x5074f8
mov esi, dword [esi]
push eax
push esi
call fcn.00407b80
pop edi
pop esi
mov al, 1
pop ebx
ret 0xc
pop edi
pop esi
xor al, al
pop ebx
ret 0xc
Function at 0x508340
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c65b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5cf024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
cmp dword [ebx + 8], 0x1642c85
je 0x508503
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
push 0xb8
mov dword [ebp - 0x1c], 0
call fcn.0051db0e
mov esi, dword [ebp + 0xc]
mov edi, eax
add esp, 4
mov dword [ebp - 0x1c], edi
lea eax, [edi + 8]
push esi
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.004071f0
mov byte [ebp - 4], 1
lea eax, [esi + 0x18]
lea ecx, [edi + 0x20]
push eax
call fcn.005081a0
mov dword [ebp - 4], 3
lea eax, [edi + 8]
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
mov dword [ebp + 0xc], eax
jb 0x5083e3
mov ecx, dword [eax]
mov dword [ebp + 0xc], ecx
xor ecx, ecx
mov esi, 0x811c9dc5
add edx, edx
je 0x508405
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x5083f1
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 8]
movss xmm3, dword [ebx]
inc eax
mov ebx, dword [ebx + 0x1c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movd xmm1, ebx
addsd xmm0, qword [eax*8 + 0x596760]
cvtdq2pd xmm1, xmm1
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x596760]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x508488
divss xmm0, xmm3
call fcn.0040b0b0
call fcn.0053be00
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x50847b
cmp ebx, 0x200
jae 0x508479
shl ebx, 3
cmp ebx, ecx
jae 0x50847b
mov ebx, ecx
push ebx
mov ebx, dword [ebp - 0x10]
mov ecx, ebx
call fcn.00508710
jmp 0x50848b
mov ebx, dword [ebp - 0x10]
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040b020
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
mov ecx, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi], edx
mov dword [edi + 4], ecx
mov dword [ecx], edi
mov dword [edx + 4], edi
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0xc], ecx
and eax, esi
mov ecx, dword [ebx + 0xc]
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x5084cd
mov dword [ecx + eax*8], edi
jmp 0x5084df
cmp esi, edx
jne 0x5084d6
mov dword [ecx + eax*8], edi
jmp 0x5084e3
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x5084e3
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebp - 4], 0xffffffff
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.0051bc15
int3
Function at 0x516570
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56eb20
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5cf024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x4c], ebx
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x3c]
cmp dword [ecx + 0x14], 8
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], 0x580438
mov dword [ebp - 0x38], eax
jb 0x5165e0
mov ecx, dword [ecx]
cmp dword [edx + 0x10], 0
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x58], 0
mov eax, dword [ecx]
jne 0x5165f9
xor edx, edx
jmp 0x516601
cmp dword [edx + 0x14], 8
jb 0x516601
mov edx, dword [edx]
lea edi, [ebp - 0x54]
push edi
push edx
push 0
lea edx, [ebp - 0x5c]
push edx
push esi
call dword [eax + 4]
mov edi, dword [ebp - 0x38]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x44], edi
cmp esi, edi
je 0x5166da
mov edx, dword [esi]
mov ecx, dword [edx + 0x10]
test ecx, ecx
je 0x5166cf
cmp dword [edx + 0x14], 8
lea eax, [ebx + 0x34]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x30], edx
jb 0x516642
mov eax, dword [edx]
mov dword [ebp - 0x30], eax
lea eax, [ecx + ecx]
mov ebx, 0x811c9dc5
xor ecx, ecx
mov dword [ebp - 0x40], eax
test eax, eax
je 0x51666e
mov edx, dword [ebp - 0x30]
mov edi, eax
movzx eax, byte [ecx + edx]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, edi
jb 0x516658
mov edi, dword [ebp - 0x44]
mov edx, dword [esi]
push ebx
mov ebx, dword [ebp - 0x48]
lea eax, [ebp - 0x64]
push edx
push eax
mov ecx, ebx
call fcn.0040b020
mov eax, dword [eax + 4]
test eax, eax
jne 0x516688
mov eax, dword [ebx + 4]
mov ebx, dword [ebp - 0x4c]
cmp eax, dword [ebx + 0x38]
jne 0x5166cf
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
push dword [esi]
mov ecx, ebx
call fcn.00517bc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00407e00
add esi, 0xc
cmp esi, edi
jne 0x516621
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0042da10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0051dacc
mov esp, ebp
pop ebp
ret 0xc
Function at 0x516eb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ec71
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5cf024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0xc]
xor eax, eax
mov esi, dword [ebp + 8]
mov ecx, edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea edi, [ecx + 2]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x516f15
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00407b80
mov dword [ebp - 4], 1
lea edi, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov edx, 0x811c9dc5
cmp dword [ebp - 0x14], 8
cmovae edi, dword [ebp - 0x28]
xor ecx, ecx
lea ebx, [eax + eax]
test ebx, ebx
je 0x516f62
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x516f51
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push edx
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebx + 0x34]
call fcn.0040b020
mov edi, dword [eax + 4]
test edi, edi
jne 0x516f80
mov edi, dword [ebx + 0x38]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00407e00
mov eax, ebx
cmp edi, dword [eax + 0x38]
jne 0x516fa8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x516fb3
lea eax, [edi + 0x20]
mov ecx, esi
push eax
call fcn.004071f0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051dacc
mov esp, ebp
pop ebp
ret 8