Function at 0x406600
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf020
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x5049c8]
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 dword [ebp - 0x44], edi
xor eax, eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
lea esi, [edi + 0x28]
mov dword [ebp - 4], eax
mov dword [ebp - 0x44], esi
mov dword [esi], eax
push 0x28
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call fcn.004ab3b0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push dword [esi + 4]
mov byte [ebp - 4], 2
push 0x10
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
call fcn.0040b160
lea esi, [edi + 0x48]
mov byte [ebp - 4], 3
mov dword [ebp - 0x44], esi
mov dword [esi], 0
push 0x30
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.004ab3b0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push dword [esi + 4]
mov byte [ebp - 4], 5
push 0x10
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
call fcn.0040b160
lea esi, [edi + 0x68]
mov byte [ebp - 4], 6
mov dword [ebp - 0x44], esi
mov dword [esi], 0
push 0x20
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.004ab3b0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 8
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
push 0x10
call fcn.0040b160
lea esi, [edi + 0x88]
mov byte [ebp - 4], 9
mov ecx, esi
call fcn.00406550
add edi, 0xa8
mov byte [ebp - 4], 0xa
mov ecx, edi
call fcn.00406550
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x12c]
push 1
push 0x40
push 1
push str.Emulator.json
mov byte [ebp - 4], 0xb
mov dword [eax + 0xc8], 0
mov byte [eax + 0xcc], 0
call fcn.00406170
cmp dword [ebp - 0xd0], 0
mov byte [ebp - 4], 0xc
je 0x4068af
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0x20
push eax
push ecx
mov eax, esp
mov word [ebp - 0x54], 0
mov byte [ebp - 0x52], 0
mov dword [eax], 0
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004a8600
mov dword [ebp - 0x44], eax
push 0x20
mov byte [ebp - 4], 0xd
call fcn.004ab3b0
add esp, 0x14
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x40684d
push dword [ebp - 0x44]
xorps xmm0, xmm0
lea ecx, [eax + 0x10]
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_obj2_class_boost::json::value_.0
call fcn.004a63f0
mov edx, dword [ebp - 0x4c]
jmp 0x40684f
xor edx, edx
mov ecx, dword [ebp - 0x50]
lea eax, [edx + 0x10]
mov dword [ebp - 0x48], 2
mov dword [ecx + 4], eax
mov eax, dword [ecx + 8]
mov dword [ecx + 8], edx
mov ecx, eax
mov dword [ebp - 0x4c], eax
test ecx, ecx
je 0x40688e
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x40688e
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x4c]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x40688e
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xc
call fcn.004a6a70
lea ecx, [ebp - 0x12c]
call fcn.0040d360
mov ecx, dword [ebp - 0x50]
call fcn.0040a830
jmp 0x4068c7
push str.Run_emulator_without_config
push 0x507e68
call fcn.004044e0
push eax
call fcn.00405ac0
add esp, 0xc
push 0x14
call fcn.004ab3b0
mov ecx, eax
add esp, 4
mov dword [ebp - 0x4c], ecx
test ecx, ecx
je 0x40692a
mov al, byte [0x4d97a8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 9
movq xmm0, qword [str.127.0.0.1]
mov dword [ebp - 0x14], 0xf
movq qword [ebp - 0x28], xmm0
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1f], 0
mov eax, dword [ebp - 0x48]
or eax, 1
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x28]
push 0x75bc
push eax
call fcn.00417920
mov ecx, eax
jmp 0x40692c
xor ecx, ecx
test byte [ebp - 0x48], 1
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], 0xc
mov dword [eax + 0xc], ecx
je 0x406973
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x406973
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406969
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406f31
push ecx
push edx
call fcn.004ab3e0
add esp, 8
push 0x11778
call fcn.004ab3b0
mov ecx, dword [ebp - 0x50]
push 0x11778
push 0
push eax
mov dword [ecx], eax
call fcn.004ad580
mov ecx, dword [ebp - 0x50]
add esp, 0x10
mov eax, dword [ecx]
mov dword [eax + 8], 0xdead0008
mov eax, dword [ecx]
mov dword [eax + 4], 0xdeef137
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x406e29
sub esp, 8
mov eax, esp
mov dword [eax], str.firmware
mov dword [eax + 4], 8
call fcn.0040d160
mov edx, eax
mov cl, byte [edx + 4]
mov al, cl
and al, 0x3f
cmp al, 5
jne 0x406f36
cmp cl, 0x85
jne 0x4069e4
add edx, 5
jmp 0x4069ea
mov edx, dword [edx + 8]
add edx, 8
mov ecx, edx
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x44], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406a07
sub ecx, dword [ebp - 0x44]
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00404950
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
mov byte [ebp - 4], 0x11
cmp eax, 4
jne 0x406aaa
sub eax, eax
mov edx, str.SDR8
mov dword [ebp - 0x48], eax
jb 0x406a57
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x406a5c
mov eax, dword [ebp - 0x48]
add ecx, 4
add edx, 4
sub eax, 4
mov dword [ebp - 0x48], eax
jae 0x406a40
cmp eax, 0xfffffffc
je 0x406a93
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x406a8c
cmp dword [ebp - 0x48], 0xfffffffd
je 0x406a93
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x406a8c
cmp dword [ebp - 0x48], 0xfffffffe
je 0x406a93
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x406a8c
cmp dword [ebp - 0x48], 0xffffffff
je 0x406a93
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x406a93
sbb eax, eax
or eax, 1
jmp 0x406a95
xor eax, eax
test eax, eax
jne 0x406aaa
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov dword [eax + 8], 0xdead0008
jmp 0x406d8f
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x48], 0
mov eax, dword [eax]
mov dword [eax + 8], 0xdead0004
xor al, al
mov byte [ebp - 0x44], al
xor edx, edx
mov byte [ebp - 0x4c], al
nop word [eax + eax]
movzx eax, al
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, dword [ebp - 0x44]
movzx eax, al
xor ecx, eax
mov eax, dword [ebp - 0x4c]
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, esi
xor eax, edx
imul eax, eax, 0x1000193
push eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00404a60
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x406bf3
cmp dword [esi + 8], 0xccccccc
je 0x406f5f
lea eax, [esi + 4]
mov dword [ebp - 0x60], eax
push 0x14
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x5c], 0
call fcn.004ab3b0
mov dword [ebp - 0x4c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x5c], eax
add esp, 4
lea ecx, [eax + 8]
mov eax, dword [ebp - 0x48]
mov dword [ecx], eax
movq qword [ecx + 4], xmm0
mov dword [ecx + 8], 0
mov eax, dword [esi + 8]
inc eax
mov byte [ebp - 4], 0x13
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4d9a50]
mov eax, dword [esi + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4d9a50]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [esi]
seta al
test al, al
je 0x406bd7
mov ecx, esi
call fcn.0040cad0
push dword [ebp - 0x44]
mov eax, dword [ebp - 0x4c]
mov ecx, esi
add eax, 8
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00404a60
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], eax
jmp 0x406bda
mov ecx, dword [ebp - 0x58]
push dword [ebp - 0x4c]
mov dword [ebp - 0x5c], 0
push ecx
push dword [ebp - 0x44]
mov ecx, esi
call fcn.0040c120
mov byte [ebp - 4], 0x11
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov eax, dword [ebp - 0x48]
inc eax
mov edx, eax
mov dword [ebp - 0x48], eax
mov ecx, edx
shr ecx, 8
mov dword [ebp - 0x44], ecx
mov ecx, edx
shr ecx, 0x10
shr edx, 0x18
mov dword [ebp - 0x4c], ecx
cmp eax, 4
jl 0x406ad0
xor al, al
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x44], al
xor edx, edx
mov byte [ebp - 0x4c], al
nop word [eax + eax]
movzx eax, al
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, dword [ebp - 0x44]
movzx eax, al
xor ecx, eax
mov eax, dword [ebp - 0x4c]
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
xor eax, edx
imul esi, eax, 0x1000193
lea eax, [ebp - 0x48]
push esi
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00404a60
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x406d5c
cmp dword [edi + 8], 0xccccccc
je 0x406f5f
lea eax, [edi + 4]
mov dword [ebp - 0x60], eax
push 0x14
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x5c], 0
call fcn.004ab3b0
mov dword [ebp - 0x44], eax
xorps xmm0, xmm0
mov dword [ebp - 0x5c], eax
add esp, 4
lea ecx, [eax + 8]
mov eax, dword [ebp - 0x48]
mov dword [ecx], eax
movq qword [ecx + 4], xmm0
mov dword [ecx + 8], 0
mov eax, dword [edi + 8]
inc eax
mov byte [ebp - 4], 0x15
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4d9a50]
mov eax, dword [edi + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4d9a50]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edi]
seta al
test al, al
je 0x406d42
mov ecx, edi
call fcn.0040cad0
mov eax, dword [ebp - 0x44]
mov ecx, edi
push esi
add eax, 8
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00404a60
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], eax
jmp 0x406d45
mov ecx, dword [ebp - 0x58]
push dword [ebp - 0x44]
mov dword [ebp - 0x5c], 0
push ecx
push esi
mov ecx, edi
call fcn.0040c120
mov byte [ebp - 4], 0x11
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov eax, dword [ebp - 0x48]
inc eax
mov edx, eax
mov dword [ebp - 0x48], eax
mov ecx, edx
shr ecx, 8
mov dword [ebp - 0x44], ecx
mov ecx, edx
shr ecx, 0x10
shr edx, 0x18
mov dword [ebp - 0x4c], ecx
cmp eax, 0x40
jl 0x406c40
push str._Firmware_0x
push 0x507e68
call fcn.004044e0
mov esi, eax
add esp, 8
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x50]
mov ecx, dword [edx + esi + 0x14]
and ecx, 0xfffff9ff
or ecx, 0x800
mov dword [edx + esi + 0x14], ecx
mov ecx, esi
mov eax, dword [eax]
push dword [eax + 8]
call fcn.00408430
mov esi, eax
push esi
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, dword [edx + esi + 0x14]
and ecx, 0xfffff3ff
or ecx, 0x200
mov dword [edx + esi + 0x14], ecx
call fcn.00405ac0
mov eax, dword [ebp - 0x2c]
add esp, 4
mov byte [ebp - 4], 0xc
cmp eax, 0x10
jb 0x406e29
mov edx, dword [ebp - 0x40]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x406e1f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406f5a
push ecx
push edx
call fcn.004ab3e0
add esp, 8
mov esi, dword [ebp - 0x50]
push 8
mov byte [esi + 0x10], 1
call fcn.004ab3b0
add esp, 4
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 0x16
test eax, eax
je 0x406e60
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], esi
push ecx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0x40f3b0
push ecx
mov ecx, eax
call fcn.00403cc0
jmp 0x406e62
xor eax, eax
push 8
mov byte [ebp - 4], 0xc
mov dword [esi + 0x14], eax
call fcn.004ab3b0
add esp, 4
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 0x17
test eax, eax
je 0x406e99
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], esi
push ecx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0x40b0b0
push ecx
mov ecx, eax
call fcn.00403cc0
jmp 0x406e9b
xor eax, eax
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x12c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x130], eax
lea ecx, [ebp - 0x11c]
call fcn.004079b0
mov eax, dword [ebp - 0x12c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x12c]
mov edx, dword [eax + 4]
lea ecx, [edx - 0x18]
mov dword [ebp + edx - 0x130], ecx
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0x18
push eax
mov dword [ebp - 0xbc], vtable.std::ios_base.0
call fcn.004aaac4
add esp, 4
mov eax, esi
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.004ab3ee
mov esp, ebp
pop ebp
ret
call fcn.004b081f
push 0x15
push str.as_string
push 0xa1c
push str.C:Usersdeef1Downloads_vcpkg_master_vcpkg_masterinstalledx86_windows_staticinclude_boost_json_value.hpp
lea ecx, [ebp - 0x20]
call fcn.004075a0
push eax
push str.not_a_string
call fcn.004a9420
call fcn.004b081f
push str.unordered_map_set_too_long
call fcn.004a9ece
int3