joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c15f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040ab70
mov eax, dword [0x43a050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004179f2
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41c1a1
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41c2fd
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00429ab0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x43bac0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041da82
mov ecx, dword [esi*4 + 0x43bac0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41c2f6
cmp eax, dword [edi + ecx + 0x24]
jne 0x41c2f6
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c2f6
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041da82
add esp, 0x14
test edx, edx
jl 0x41c2f6
jg 0x41c26c
test eax, eax
jb 0x41c2f6
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41c2f6
jl 0x41c286
cmp dword [ebp - 0x1008], eax
ja 0x41c2f6
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41c2a4
test ebx, ebx
je 0x41c2dd
cmp ecx, edi
jae 0x41c2dd
mov al, byte [ecx]
cmp al, 0xd
jne 0x41c2be
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41c2ca
cmp byte [ecx + 1], 0xa
jne 0x41c2ca
inc ecx
jmp 0x41c2ca
movzx eax, al
movsx eax, byte [eax + 0x43a488]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41c2a4
cmp edx, ebx
jne 0x41c2a4
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41c2fb
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00409df5
leave
ret
Function at 0x41cf20
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x43bac0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41cf60
cmp byte [ebx], 0xa
jne 0x41cf60
or byte [eax + edi + 0x28], 4
jmp 0x41cf65
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41d063
mov al, byte [edx]
cmp al, 0x1a
je 0x41d045
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41cf94
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41cfb9
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41cfc3
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41cf76
jmp 0x41d063
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d040
cmp dword [ebp - 0xc], 0
je 0x41d040
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x43bac0]
test byte [eax + edi + 0x28], 0x48
je 0x41d01a
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41d005
mov byte [esi], dl
jmp 0x41d016
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x43bac0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41d063
cmp byte [ebp - 1], 0xa
jne 0x41d029
cmp esi, ebx
jne 0x41d029
mov byte [esi], 0xa
jmp 0x41d062
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041daa0
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41d063
mov byte [esi], 0xd
jmp 0x41d062
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x43bac0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d05f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d063
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41d06c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x43bac0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41d0af
cmp word [esi], dx
jne 0x41d0af
or byte [edi + eax + 0x28], 4
jmp 0x41d0b4
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41d207
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41d1e7
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41d0f6
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41d12c
cmp eax, edx
jae 0x41d138
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41d0ce
jmp 0x41d207
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d1e3
cmp dword [ebp - 0x14], 0
je 0x41d1e3
mov eax, dword [ebx*4 + 0x43bac0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41d1bb
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41d184
mov word [esi], cx
jmp 0x41d1b7
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x43bac0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x43bac0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x43bac0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41d207
pop ebx
cmp word [ebp - 4], bx
jne 0x41d1cc
cmp esi, dword [ebp + 0xc]
jne 0x41d1cc
mov word [esi], bx
jmp 0x41d204
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041daa0
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41d207
push 0xd
jmp 0x41d200
mov ecx, dword [ebx*4 + 0x43bac0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d1fe
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d207
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x421576
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x421613
push ebx
push esi
call fcn.0042153f
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041a271
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4215c0
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x421612
push edi
push eax
call fcn.0041a1a7
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4215e0
call fcn.00419dc3
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x421611
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041a271
add esp, 0x20
test eax, eax
jne 0x4215ff
push edi
call fcn.00419dc3
jmp 0x421607
push ebx
call fcn.00419dc3
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x421616
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x421627
pop esi
ret
push ebx
push edi
push esi
call fcn.0042153f
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0041a1a7
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x42164f
push ebx
push esi
push edi
call fcn.0040b220
add esp, 0xc
push 0
call fcn.00419dc3
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x421d9b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004218c2
Function at 0x429045
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00428fc1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4291bd
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4291bd
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x42916c
jg 0x42909e
test eax, eax
je 0x429162
push 1
push 0x1000
call fcn.0041848c
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4290c4
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x429159
push 0x8000
push ebx
call fcn.00415b6b
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4290f0
jg 0x4290eb
cmp ecx, 0x1000
jb 0x4290f0
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00419bc3
add esp, 0x10
cmp eax, 0xffffffff
je 0x429135
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x4290eb
jl 0x42911c
test ecx, ecx
jne 0x4290dd
push dword [ebp - 0xc]
push ebx
call fcn.00415b6b
push esi
call fcn.00419dc3
add esp, 0xc
xor edi, edi
jmp 0x4291ce
cmp byte [edi + 0x24], 0
je 0x42914c
cmp dword [edi + 0x20], 5
jne 0x42914c
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x429157
mov edi, dword [edi + 0x18]
jmp 0x429159
xor edi, edi
push esi
call fcn.00419dc3
pop ecx
jmp 0x4291ce
test ecx, ecx
jg 0x42912e
jl 0x42916c
test eax, eax
jae 0x42912e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041daa0
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x42918f
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x42912e
jmp 0x4291c6
push ebx
call fcn.004221a1
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x42912e
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x4291ce
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4291cb
mov edi, dword [edi + 0x18]
jmp 0x4291ce
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0041daa0
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1003fa70
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a584b
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10210050]
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 eax, dword [ebp - 0x18]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x28], eax
push 0x10
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x28], 0x102b22f0
mov dword [0x102b22f0], 0
mov dword [0x102b22f4], 0
mov dword [0x102b22f8], 0
call fcn.1016fd4c
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [0x102b22f4], eax
mov dword [ebp - 4], 0
mov dword [0x102b22fc], 0
mov dword [0x102b2300], 0
mov dword [0x102b2304], 0
mov byte [ebp - 4], 1
mov ecx, 0x102b22fc
push dword [0x102b22f4]
mov dword [0x102b2308], 7
push 0x10
mov dword [0x102b230c], 8
mov dword [0x102b22f0], 0x3f800000
call fcn.10040460
mov dword [ebp - 4], 2
cmp esi, ebx
je 0x1003fc6a
nop dword [eax + eax]
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 0x1c]
imul edi, ecx, 0x1000193
push edi
push esi
push eax
call fcn.10040fd0
cmp dword [ebp - 0x18], 0
jne 0x1003fc5f
cmp dword [0x102b22f8], 0xfffffff
je 0x1003fc94
mov dword [ebp - 0x24], 0x102b22f4
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 3
push 0x10
mov dword [ebp - 0x20], 0
call fcn.1016fd4c
mov ecx, dword [esi]
mov ebx, eax
mov edx, dword [esi + 4]
add esp, 4
mov dword [ebp - 0x20], ebx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov byte [ebp - 4], 4
mov eax, dword [0x102b22f8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101ede20]
mov eax, dword [0x102b230c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101ede20]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [0x102b22f0]
jbe 0x1003fc46
call fcn.100409d0
push edi
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10040fd0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
jmp 0x1003fc49
mov ecx, dword [ebp - 0x1c]
push ebx
push ecx
push edi
mov dword [ebp - 0x20], 0
call fcn.10040a30
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x14]
add esi, 8
cmp esi, ebx
jne 0x1003fb50
mov dword [ebp - 4], 0xffffffff
mov eax, 0x102b22f0
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.1016fd3e
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.1016e2ab
int3
Function at 0x10040b60
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a599d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10210050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 0x1fffffff
mov edi, 1
bsr ecx, eax
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x10040d00
lea eax, [ecx - 1]
mov esi, dword [0x102b22f4]
or eax, edi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x102b22fc
lea eax, [edi + edi]
push eax
call fcn.10040460
lea eax, [edi - 1]
mov dword [0x102b230c], edi
mov dword [0x102b2308], eax
mov dword [ebp - 0x18], 0x102b22f0
mov dword [ebp - 4], 0
mov ecx, dword [0x102b22f4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x10040cbc
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
mov eax, dword [0x102b22fc]
imul edi, edi, 0x1000193
and edi, dword [0x102b2308]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp - 0x14], eax
cmp ebx, esi
jne 0x10040c48
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x10040cb2
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x10040c7f
mov eax, dword [eax]
cmp eax, ecx
je 0x10040c77
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], 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 - 0x10]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], ecx
jmp 0x10040cb2
cmp ebx, eax
je 0x10040c8f
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x10040cde
cmp ebx, eax
jne 0x10040c83
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], 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 - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ecx, edx
cmp edx, esi
jne 0x10040bf4
mov dword [ebp - 0x18], 0
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 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 0x10], 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 - 0x10]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
jmp 0x10040cb2
push str.invalid_hash_bucket_count
call fcn.1016e2ab
int3
Function at 0x10040de0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a59cd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10210050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
cmp edx, esi
je 0x10040f9a
mov ecx, dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x24], ecx
mov edi, edx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], 0
mov eax, dword [edx + 4]
mov dword [ebp - 0x1c], 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 - 0x20]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x28], eax
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x30], edi
call fcn.10170096
mov edx, dword [ebp - 0x18]
add esp, 8
dec dword [edx + 8]
test bl, bl
jne 0x10040ed2
mov eax, dword [ebp - 0x28]
cmp edi, esi
jne 0x10040e94
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x10040f8b
mov ecx, dword [ebp - 0x14]
mov dword [ecx], edi
jmp 0x10040f8b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x10040ee4
mov eax, dword [ebp - 0x24]
mov dword [ecx], eax
jmp 0x10040ee7
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
cmp edi, esi
je 0x10040f8b
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 [ebp - 0x20]
and eax, dword [edx + 0x18]
lea eax, [ecx + eax*8]
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x30], edi
call fcn.10170096
mov eax, dword [ebp - 0x18]
add esp, 8
dec dword [eax + 8]
test bl, bl
jne 0x10040f6f
cmp edi, esi
je 0x10040f86
mov eax, dword [ebp - 0x1c]
jmp 0x10040f45
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp edi, esi
je 0x10040f8b
mov edx, dword [ebp - 0x18]
jmp 0x10040f00
mov eax, dword [ebp - 0x10]
mov dword [eax], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
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
Function at 0x10041980
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a5c8f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10210050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
call fcn.1016e33e
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [ebp - 4], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [ebp - 4], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [ebp - 4], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [ebp - 4], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
test eax, eax
je 0x10041a31
push eax
push esi
call fcn.1016e621
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.1016e2eb
int3
Function at 0x10044260
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x10044292
jl 0x10044285
test ecx, ecx
jne 0x10044292
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x10044352
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.10046240
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x100442fe
jg 0x100442bd
test esi, esi
je 0x100442fe
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x100442d5
mov eax, dword [esp + 0x10]
jl 0x100442cf
cmp eax, esi
jae 0x100442d5
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.10171890
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x1004431f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x1004433b
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x100442a4
jl 0x1004433b
test ecx, ecx
jne 0x100442a4
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x10044396
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x10044396
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.10171890
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x10044407
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x100443bc
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x100443f2
nop dword [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.10176635
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x10044407
cmp edi, eax
ja 0x100443d0
test edi, edi
je 0x10044407
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.10176635
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc