joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cc90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x541e0d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5d6024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x40cdca
mov eax, dword [0x5dc35c]
mov ecx, edi
push dword [eax - 0xc]
lea eax, [ebp + 8]
push eax
call fcn.0040d100
mov dword [ebp - 4], 0
mov edx, eax
mov ecx, 0x5dc35c
call fcn.0040d060
mov bl, al
mov dword [ebp - 4], 0xffffffff
or esi, 0xffffffff
mov edx, dword [ebp + 8]
mov ecx, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40cd11
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x40cd6a
mov eax, dword [0x5dc35c]
mov ecx, edi
push dword [eax - 0xc]
lea eax, [ebp + 8]
push eax
call fcn.0040d290
mov dword [ebp - 4], 2
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40cdab
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x40cdab
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40cd6a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 1
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.0040d1c0
mov dword [ebp - 4], 5
mov ecx, 0x583fac
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40cde0
test dx, dx
je 0x40cda7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40cde0
add eax, 4
add ecx, 4
test dx, dx
jne 0x40cd85
xor edi, edi
jmp 0x40cde5
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x40cdca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
sbb edi, edi
or edi, 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x40ce04
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x40cdca
mov al, 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 4
Function at 0x4150c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5407d0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5d6024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x415145
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x415145
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x415127
cmp esi, edx
jae 0x415145
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x415115
cmp esi, edx
jae 0x415145
cmp word [esi], 0
je 0x415145
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
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 0x4155d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5436d0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5d6024]
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 ebx, edx
mov esi, ecx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x44], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5dc6a8]
cmp eax, dword [ecx + 4]
jle 0x4156c7
push 0x5dc6a8
call fcn.00521857
add esp, 4
cmp dword [0x5dc6a8], 0xffffffff
jne 0x4156c7
mov dword [ebp - 4], 1
mov dword [0x5dc6ac], 0
mov dword [0x5dc6b0], 0
mov dword [0x5dc6b4], 0
mov byte [ebp - 4], 2
mov dword [0x5dc6b8], 0
mov dword [0x5dc6bc], 0
mov dword [0x5dc6c0], 0
mov byte [ebp - 4], 3
mov dword [0x5dc6c4], 0
mov dword [0x5dc6c8], 0
mov dword [0x5dc6cc], 0
mov byte [ebp - 4], 1
push 0x576e30
call fcn.0052170f
mov byte [ebp - 4], 0
push 0x5dc6a8
call fcn.0052180d
add esp, 8
push 0x5847c8
push str.html
mov edx, 0x5847dc
lea ecx, [ebp - 0x28]
call fcn.00409a30
add esp, 8
mov dword [ebp - 4], 5
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004865b0
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x415700
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x50], 0x583c78
mov dword [ebp - 0x4c], edi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.00407f50
cmp edi, 0xffffffff
jne 0x41576e
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 5
push edi
mov dword [ebp - 0x50], 0x583c78
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x4c], 0
jmp 0x4157f3
mov eax, dword [0x5dc6b0]
lea ecx, [ebp - 0x28]
push ecx
cmp eax, dword [0x5dc6b4]
je 0x415796
mov ecx, eax
mov dword [ebp - 0x58], eax
call fcn.00406c70
mov byte [ebp - 4], 8
add dword [0x5dc6b0], 0x18
jmp 0x4157a1
push eax
mov ecx, 0x5dc6ac
call fcn.004902d0
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x4157ab
mov ecx, dword [ebx]
mov eax, dword [ebx + 0x10]
lea edx, [ebp - 0x48]
push 0
push edx
add eax, eax
mov dword [ebp - 0x48], 0
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
lea ecx, [ebp - 0x28]
call fcn.004865b0
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 5
mov dword [ebp - 0x50], 0x583c78
test edi, edi
je 0x4157f3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00407f50
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.00521461
mov esp, ebp
pop ebp
ret
Function at 0x416240
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543a0d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5d6024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, edx
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
jb 0x41627a
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add eax, eax
je 0x41629b
mov edx, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x416287
mov edx, dword [ebp + 0xc]
push esi
push edx
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.0040add0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4162cc
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 [ebx + 8], 0x5d1745d
je 0x41642f
lea eax, [ebx + 4]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
push 0x2c
mov dword [ebp - 0x14], 0
call fcn.005214a3
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
push dword [ebp + 0xc]
lea eax, [edi + 8]
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.00406c70
mov byte [ebp - 4], 1
xorps xmm0, xmm0
movq qword [edi + 0x20], xmm0
mov dword [edi + 0x28], 0
mov dword [ebp - 4], 3
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x59dab0]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x59dab0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x4163bf
divss xmm0, xmm3
call fcn.0040ae60
call fcn.0053f6f0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x4163a3
cmp eax, 0x200
jae 0x4163a1
shl eax, 3
cmp eax, ecx
jae 0x4163a3
mov eax, ecx
push eax
mov ecx, ebx
call fcn.00416580
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040add0
mov edx, dword [eax]
jmp 0x4163c2
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [ebx + 8], eax
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 dword [ebp - 0x14], 0
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x4163f5
mov dword [ecx + eax*8], edi
jmp 0x416407
cmp esi, edx
jne 0x4163fe
mov dword [ecx + eax*8], edi
jmp 0x41640b
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x41640b
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
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.0051f575
int3
Function at 0x418d10
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x418d8a
mov esi, dword [esp + 0x10]
mov ecx, 1
mov edx, dword [esi]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x418d45
push edi
mov ecx, esi
call fcn.00408d70
mov edx, dword [esi]
push edi
push edx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
mov ecx, edi
cmp edi, 0xffffffff
jne 0x418d6c
mov ecx, dword [esi]
test ecx, ecx
je 0x418d70
push dword [ecx - 8]
push ecx
call fcn.005296e1
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x418d8a
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x418d8a
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, edi
pop edi
pop esi
pop ebx
ret 4
push 0x80070057
call fcn.00408fe0
int3
Function at 0x4228e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545d22
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5d6024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
call fcn.00474df0
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [edi + 0x178], 0
add edi, 0x17c
mov eax, dword [esi]
mov dword [ebp + 0xc], edi
call dword [eax + 8]
mov edx, dword [esi]
mov ecx, esi
mov ebx, eax
call dword [edx + 4]
lea esi, [edi + 8]
mov dword [edi], eax
mov dword [esi + 8], eax
xor eax, eax
mov dword [edi + 4], ebx
mov dword [ebp - 0x14], esi
mov dword [esi], 0x58a36c
mov dword [esi + 4], ebx
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 7
mov word [esi + 0xc], ax
mov byte [ebp - 4], 1
mov byte [esi + 0x24], al
mov byte [ebp - 4], 2
lea ecx, [edi + 0x30]
call fcn.004255f0
mov byte [ebp - 4], 3
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov byte [ebp - 4], 4
lea ecx, [edi + 0x5c]
call fcn.004256c0
mov byte [ebp - 4], 5
mov ecx, esi
mov eax, dword [esi]
push ebx
call dword [eax + 0xc]
mov byte [ebp - 4], 6
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
lea eax, [ebx + 0x1f8]
mov dword [ebp + 0xc], eax
mov dword [eax], str.AI_CHECK_BOX_IMAGES
mov dword [eax + 4], ecx
mov dword [eax + 8], 0
mov byte [ebp - 4], 7
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 9
mov dword [ebx], 0x586d28
mov dword [ebx + 0x24], 0x586c44
mov dword [ebx + 0x28], 0x586c30
mov dword [ebx + 0x20c], 0
mov byte [ebp - 4], 0xa
mov dword [ebx + 0x210], 0x40
mov dword [ebx + 0x214], 0
mov dword [ebx + 0x218], 0
mov dword [ebx + 0x21c], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebx + 0x220]
call fcn.00424b90
mov byte [ebp - 4], 0xc
lea ecx, [ebx + 0x240]
call fcn.00424b90
mov byte [ebp - 4], 0xd
lea ecx, [ebx + 0x260]
call fcn.00424b90
mov byte [ebp - 4], 0xe
lea esi, [ebx + 0x280]
mov dword [ebp + 8], esi
push 0x40
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005214a3
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 0x10
mov dword [ebx + 0x288], 0
mov dword [ebx + 0x28c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
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
Function at 0x422bd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545e8d
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5d6024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 2
lea esi, [edi + 0x5c]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 5
lea ecx, [esi + 0xc]
call fcn.0040a260
mov byte [ebp - 4], 2
mov edx, dword [esi + 4]
call fcn.00426ad0
push 0x38
push dword [esi + 4]
call fcn.00521472
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [edi + 0x50]
call fcn.00424d70
mov byte [ebp - 4], 0
lea esi, [edi + 0x30]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 8
lea ecx, [esi + 0xc]
call fcn.0040a260
mov byte [ebp - 4], 0
mov edx, dword [esi + 4]
call fcn.00426860
push 0x24
push dword [esi + 4]
call fcn.00521472
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 8]
call fcn.0044bdb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x424e30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54671d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x5d6024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x50], edi
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x424ea8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x424e9c
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x30]
push eax
call fcn.00407c80
mov ecx, dword [edi]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
call dword [eax + 0x18]
mov eax, dword [ebp - 0x50]
lea ecx, [edi + 0x50]
mov edi, dword [edi + 0x54]
mov dword [ebp - 0x4c], ecx
cmp edi, dword [eax + 0x58]
lea eax, [ebp - 0x30]
push eax
je 0x424ef7
mov ecx, edi
mov dword [ebp - 0x58], edi
call fcn.00406c70
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x1c], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4c]
add dword [eax + 4], 0x20
jmp 0x424efd
push edi
call fcn.00426650
mov eax, dword [ebp - 0x50]
lea edi, [esi + 0x68]
add eax, 0x5c
mov dword [ebp - 0x58], edi
cmp dword [edi + 0x14], 8
mov esi, edi
mov dword [ebp - 0x4c], eax
mov eax, dword [edi + 0x10]
jb 0x424f19
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
add eax, eax
je 0x424f3a
mov edi, eax
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x424f26
mov edi, dword [ebp - 0x58]
mov esi, dword [ebp - 0x4c]
lea eax, [ebp - 0x5c]
push edx
push edi
push eax
mov ecx, esi
call fcn.0040add0
mov eax, dword [eax + 4]
test eax, eax
jne 0x424f54
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x50]
cmp eax, dword [ecx + 0x60]
jne 0x424fb4
mov ecx, dword [ecx]
lea edx, [ebp - 0x48]
push edi
push edx
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov esi, eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x4c]
push edi
call fcn.004256a0
mov edi, eax
cmp edi, esi
je 0x424fa8
mov ecx, edi
call fcn.00407f50
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00407f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00407f50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00521461
mov esp, ebp
pop ebp
ret 4
Function at 0x425ca0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54699d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5d6024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov eax, 0x1fffffff
mov edi, 1
bsr ecx, eax
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x425e48
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.00416150
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x425dfc
nop dword [eax + eax]
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]
lea eax, [eax + edi*8]
mov dword [ebp + 8], eax
cmp ebx, esi
jne 0x425d81
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x425def
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x425db8
mov eax, dword [eax]
cmp eax, ecx
je 0x425db0
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x14], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x14]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x425def
cmp ebx, eax
je 0x425dcc
nop dword [eax]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x425e26
cmp ebx, eax
jne 0x425dc0
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x14], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x14]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ebx, dword [ebp - 0x18]
mov ecx, edx
cmp edx, esi
jne 0x425d30
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00425bd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
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], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
jmp 0x425def
push str.invalid_hash_bucket_count
call fcn.0051f575
int3
Function at 0x425e60
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5469cd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5d6024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
cmp edx, esi
je 0x42601c
mov ecx, dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], ecx
mov edi, edx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
xor ecx, eax
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp + 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0xc
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.00521472
mov edx, dword [ebp - 0x10]
add esp, 8
dec dword [edx + 8]
test bl, bl
jne 0x425f52
mov eax, dword [ebp - 0x20]
cmp edi, esi
jne 0x425f14
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x42600d
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edi
jmp 0x42600d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x425f64
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x425f67
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
cmp edi, esi
je 0x42600d
nop dword [eax]
nop word [eax + eax]
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor ecx, eax
movzx eax, byte [edi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
and ecx, eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + ecx*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], eax
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0xc
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.00521472
mov eax, dword [ebp - 0x10]
add esp, 8
dec dword [eax + 8]
test bl, bl
jne 0x425ff1
cmp edi, esi
je 0x426008
mov eax, dword [ebp + 0xc]
jmp 0x425fc7
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp edi, esi
je 0x42600d
mov edx, dword [ebp - 0x10]
jmp 0x425f80
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov dword [eax], edi
mov dword [edi + 4], eax
mov eax, esi
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