Function at 0x462b30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a9be
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x4af008]
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, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0xc]
push 0x104
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.0046fc9c
xor eax, eax
add esp, 0xc
mov word [ebp - 0x212], ax
cmp word [ebp - 0x418], ax
je 0x462c20
push eax
push 0x80
push 3
push eax
push 1
push 0x80000000
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x462c20
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, eax
mov dword [ebp - 0x420], esi
test esi, esi
je 0x462c19
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esi + 1]
push 1
push eax
call fcn.0046def4
mov esi, eax
add esp, 8
test esi, esi
je 0x462c19
push 0
lea eax, [ebp - 0x428]
push eax
push dword [ebp - 0x420]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x462c27
push esi
call fcn.0046d737
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x462e5f
mov eax, dword [ebp - 0x420]
push edi
mov byte [esi + eax], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
mov dword [ebp - 0x420], esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x462c43
sub ecx, edx
cmp ecx, 3
jb 0x462c6b
cmp byte [esi], 0xef
jne 0x462c6b
cmp byte [esi + 1], 0xbb
jne 0x462c6b
cmp byte [esi + 2], 0xbf
jne 0x462c6b
lea eax, [esi + 3]
mov dword [ebp - 0x420], eax
push 0x5c
call fcn.0046ef52
add esp, 4
mov dword [ebp - 0x42c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x462c97
push dword [ebp - 0x424]
mov ecx, eax
call fcn.0046a600
mov edi, eax
jmp 0x462c99
xor edi, edi
mov dword [ebp - 4], 0xffffffff
test edi, edi
jne 0x462cb4
push esi
call fcn.0046d737
add esp, 4
xor eax, eax
jmp 0x462e5f
lea ecx, [ebp - 0x210]
push ecx
push dword [ebp - 0x420]
xor eax, eax
lea ecx, [edi + 0xc]
mov byte [ebp - 0x419], 0
mov word [ebp - 0x210], ax
call fcn.0046a4a0
test al, al
je 0x462d4b
lea eax, [ebp - 0x420]
push eax
push 0x48c620
lea ecx, [edi + 0xc]
mov dword [ebp - 0x420], 0
call fcn.0046a250
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 0x420]
test eax, eax
je 0x462d10
cmp ecx, eax
jne 0x462d29
test eax, eax
jne 0x462d22
movzx eax, cx
push eax
mov dword [ebx + 4], ecx
call fcn.00462f10
add esp, 4
mov dword [ebx + 8], eax
mov byte [ebp - 0x419], 1
lea eax, [edi + 0x14]
push eax
push str.dlgfont
lea ecx, [edi + 0xc]
call fcn.0046a320
lea eax, [edi + 0x18]
push eax
push str.dlgfontsize
lea ecx, [edi + 0xc]
call fcn.0046a250
push esi
call fcn.0046d737
add esp, 4
cmp byte [ebp - 0x419], 0
jne 0x462d96
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
cmp word [ebp - 0x210], 0
jne 0x462c20
xor ecx, ecx
jmp 0x462d80
movzx eax, word [ecx + str.Cannot_parse_JSON_file]
lea ecx, [ecx + 2]
test ax, ax
jne 0x462d80
xor eax, eax
jmp 0x462e5f
push dword [ebp - 0x424]
mov ecx, ebx
call fcn.00462ec0
mov esi, eax
cmp esi, 0xffffffff
je 0x462dc0
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + esi*4]
inc dword [eax + 8]
jmp 0x462e4b
mov ecx, dword [ebx + 0xc]
xor esi, esi
test ecx, ecx
jle 0x462ddd
mov eax, dword [ebx + 0x10]
lea esp, [esp]
cmp dword [eax], 0
je 0x462ddd
inc esi
add eax, 4
cmp esi, ecx
jl 0x462dd0
cmp esi, ecx
jne 0x462e45
lea eax, [ecx + 1]
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x424], eax
test ecx, ecx
jne 0x462e10
push 4
push 0x10
call fcn.0046def4
add esp, 8
mov dword [ebx + 0x10], eax
test eax, eax
jne 0x462e3c
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
xor eax, eax
jmp 0x462e5f
and eax, 0x8000000f
jns 0x462e1c
dec eax
or eax, 0xfffffff0
inc eax
jne 0x462e3c
mov eax, dword [ebp - 0x424]
lea eax, [eax*4 + 0x40]
push eax
push ecx
call fcn.0046f1e7
add esp, 8
test eax, eax
je 0x462e04
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x424]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [eax + esi*4], edi
cmp dword [ebp + 0x10], 0
jne 0x462e5a
push esi
call fcn.00469510
add esp, 4
mov eax, 1
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.0046d696
mov esp, ebp
pop ebp
ret 0xc