Function at 0x458a10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8395
mov eax, dword fs:[0]
push eax
mov eax, 0x10cc
call fcn.00462020
mov eax, dword [0x4d57fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1048]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10cc], edi
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x1094], eax
mov dword [ebp - 0x1098], 0
call fcn.0041caf0
cmp dword [ebp - 0x1034], 8
lea eax, [ebp - 0x1048]
push 0x4c08fc
cmovae eax, dword [ebp - 0x1048]
push eax
mov dword [ebp - 0x1098], 2
call fcn.00481963
mov esi, eax
mov dword [ebp - 0x10d8], fcn.00482d60
add esp, 8
mov dword [ebp - 0x10bc], esi
mov dword [ebp - 0x10d4], esi
mov edx, dword [ebp - 0x1034]
mov dword [ebp - 4], 1
cmp edx, 8
jb 0x458afb
mov ecx, dword [ebp - 0x1048]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x458af1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458dd0
push edx
push ecx
call fcn.00461556
add esp, 8
xor eax, eax
mov dword [ebp - 0x1038], 0
mov dword [ebp - 0x1034], 7
mov word [ebp - 0x1048], ax
test esi, esi
je 0x458dd5
push esi
push 0x1000
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x10b8], esi
push 1
push eax
mov dword [ebp - 0x10b4], eax
mov dword [ebp - 0x10b0], 0x1000
mov dword [ebp - 0x10a4], 0
mov byte [ebp - 0x109c], 0
mov dword [ebp - 0x10a0], 0
call fcn.004926fc
mov edx, dword [ebp - 0x10b4]
add esp, 0x10
mov dword [ebp - 0x10a4], eax
mov dword [ebp - 0x10a8], edx
lea ecx, [edx - 1]
add ecx, eax
mov dword [ebp - 0x10ac], ecx
cmp eax, dword [ebp - 0x10b0]
jae 0x458b9e
mov byte [eax + edx], 0
inc dword [ebp - 0x10ac]
mov byte [ebp - 0x109c], 1
push 0
push 0x400
push 0
mov ecx, edi
call fcn.004282d0
mov eax, dword [edi + 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x1098], 3
mov dword [ebp - 0x1030], eax
movups xmmword [ebp - 0x102c], xmm0
mov dword [ebp - 0x101c], 0x100
mov dword [ebp - 0x1094], edi
lea eax, [ebp - 0x1030]
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0
mov dword [ebp - 0x10d0], eax
lea eax, [ebp - 0x10b8]
mov byte [ebp - 4], 6
push eax
call fcn.00444e00
mov edx, dword [ebp - 0x1018]
add esp, 4
test edx, edx
jne 0x458caf
mov edx, dword [ebp - 0x10a8]
cmp byte [edx], 0
jne 0x458c48
mov ecx, dword [ebp - 0x10a0]
sub ecx, dword [ebp - 0x10b4]
add ecx, edx
mov edx, 1
mov dword [ebp - 0x1018], edx
mov dword [ebp - 0x1014], ecx
jmp 0x458cb5
push edi
lea eax, [ebp - 0x10b8]
push eax
lea ecx, [ebp - 0x1030]
call fcn.00443cf0
mov edx, dword [ebp - 0x1018]
test edx, edx
jne 0x458caf
lea eax, [ebp - 0x10b8]
push eax
call fcn.00444e00
mov edx, dword [ebp - 0x1018]
add esp, 4
test edx, edx
jne 0x458caf
mov eax, dword [ebp - 0x10a8]
mov al, byte [eax]
test al, al
je 0x458caf
mov ecx, dword [ebp - 0x10a0]
mov edx, 2
sub ecx, dword [ebp - 0x10b4]
add ecx, dword [ebp - 0x10a8]
mov dword [ebp - 0x1018], edx
mov dword [ebp - 0x1014], ecx
jmp 0x458cb5
mov ecx, dword [ebp - 0x1014]
mov eax, dword [ebp - 0x1028]
mov dword [ebp - 0x1024], eax
mov dword [edi + 0x30], edx
mov dword [edi + 0x34], ecx
test edx, edx
jne 0x458ced
mov esi, dword [edi + 0x24]
mov ecx, edi
add esi, 0xfffffff0
mov dword [edi + 0x24], esi
call fcn.00428dc0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
mov word [esi + 0xe], ax
mov esi, dword [ebp - 0x10bc]
lea ecx, [ebp - 0x1094]
call fcn.0044d390
push dword [ebp - 0x1028]
mov byte [ebp - 4], 1
call fcn.004924c8
push 1
push dword [ebp - 0x102c]
call fcn.00461556
add esp, 0xc
cmp dword [edi + 0x30], 0
je 0x458d8a
mov ecx, edi
call fcn.00454690
push eax
call fcn.004546b0
add esp, 4
mov ecx, edi
mov esi, eax
call fcn.00453cb0
push eax
lea eax, [ebp - 0x1078]
push eax
call fcn.00424a60
push eax
lea eax, [ebp - 0x1060]
mov byte [ebp - 4], 7
push str.JSON_parsing_error_
push eax
call fcn.00419ce0
push 0x4c0920
push eax
lea eax, [ebp - 0x1090]
mov byte [ebp - 4], 8
push eax
call fcn.00427490
push esi
push eax
lea eax, [ebp - 0x1028]
mov byte [ebp - 4], 9
push eax
call fcn.00427490
add esp, 0x2c
mov byte [ebp - 4], 0xa
jmp 0x458e04
cmp word [edi + 0xe], 3
je 0x458da3
push str.JSON_document_is_not_an_object
lea ecx, [ebp - 0x10c8]
call fcn.0041ce80
jmp 0x458e10
push esi
mov dword [ebp - 4], 0xb
call fcn.00482d60
add esp, 4
mov eax, edi
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.00461564
mov esp, ebp
pop ebp
ret
call fcn.0046d841
mov ecx, dword [ebp - 0x1094]
lea eax, [ebp - 0x1060]
push eax
call fcn.0042b510
push eax
lea eax, [ebp - 0x1078]
mov byte [ebp - 4], 2
push str.Failed_to_open_json_file
push eax
call fcn.00419ce0
add esp, 0xc
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x10c8]
call fcn.0041a290
push 0x4ce944
lea eax, [ebp - 0x10c8]
push eax
call fcn.00463df0
int3