Function at 0x434830
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a5026
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c4
push ebx
push ebp
mov ebp, ecx
push esi
mov esi, dword [sym.imp.MSVCRT.dll_strchr]
push edi
mov eax, dword [ebp + 0x538]
push 0x22
push eax
mov dword [esp + 0x1c], 0
call esi
add esp, 8
test eax, eax
je 0x434884
mov ecx, dword [ebp + 0x538]
push 0x22
push ecx
call esi
mov ebx, eax
add esp, 8
inc ebx
jmp 0x43488a
mov ebx, dword [ebp + 0x538]
push 0x22
push ebx
call esi
add esp, 8
test eax, eax
je 0x4348aa
push 0x22
push ebx
call esi
push 0x22
push ebx
mov byte [eax], 0
call esi
add esp, 0x10
test eax, eax
jne 0x434896
push 0x23
push ebx
call esi
add esp, 8
test eax, eax
je 0x4348cb
push 0x23
push ebx
call esi
inc eax
push 0x23
push ebx
mov dword [esp + 0x24], eax
call esi
add esp, 0x10
mov byte [eax], 0
lea edx, [ebp + 0x128]
lea eax, [esp + 0xd0]
push edx
push eax
push ebx
mov ecx, ebp
call fcn.0042eb60
test eax, eax
je 0x434b15
lea ecx, [esp + 0xd0]
push 0x4c3cfc
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x434b15
lea edx, [esp + 0x68]
lea eax, [esp + 0xd0]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__stat]
mov eax, dword [esp + 0x84]
push eax
mov dword [esp + 0x1c], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 0xc
test edi, edi
mov dword [esp + 0x18], edi
je 0x43494d
mov ecx, dword [esp + 0x10]
push esi
push 1
push ecx
push edi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
mov esi, edi
je 0x434a10
push str.PROTO
push edi
call dword [sym.imp.MSVCRT.dll_strstr]
mov esi, eax
mov eax, dword [esp + 0x18]
mov edx, esi
add esp, 8
sub edx, edi
cmp edx, eax
jge 0x4349e1
lea edx, [esi + 5]
mov dword [esp + 0x1c], edx
mov al, byte [edx]
cmp al, 0x20
je 0x434993
cmp al, 9
jne 0x434996
inc edx
jmp 0x434989
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x14]
not ecx
dec ecx
push ecx
push eax
push edx
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x4349dd
mov ecx, dword [esp + 0x1c]
push str.PROTO
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
mov ecx, dword [esp + 0x20]
mov esi, eax
mov eax, dword [esp + 0x18]
mov edx, esi
sub edx, ecx
add esp, 8
cmp edx, eax
jl 0x434982
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov eax, esi
sub eax, edi
cmp eax, ecx
jl 0x434a10
mov edx, dword [ebp + 0x54c]
mov ecx, dword [esp + 0x14]
push ebx
push ecx
mov eax, dword [edx + 0x30]
push eax
push str.ERROR_at_line__d__the_PROTO__s_cannot_be_found_in_the_file__s_n
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 0x10
jmp 0x434b2e
test esi, esi
mov eax, esi
je 0x434a1e
cmp byte [eax], 0x7b
je 0x434a1e
inc eax
jne 0x434a16
mov edx, 1
mov ecx, eax
inc eax
test ecx, ecx
je 0x434a3e
mov cl, byte [eax]
cmp cl, 0x7b
jne 0x434a34
inc edx
jmp 0x434a3a
cmp cl, 0x7d
jne 0x434a3a
dec edx
test edx, edx
jne 0x434a23
mov ecx, dword [esp + 0x10]
mov edx, eax
sub edx, edi
cmp edx, ecx
jge 0x434a4e
mov byte [eax + 1], 0
mov ebx, dword [ebp + 0x550]
push 0x4000
push ebp
lea ecx, [esp + 0x28]
call fcn.00427ee0
mov dword [esp + 0x60], esi
xor eax, eax
mov esi, 0x4a6ca4
mov dword [esp + 0x5c], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x64], eax
lea ecx, [esp + 0x20]
push 0x7d0
mov dword [ebp + 0x550], ecx
push ebp
lea ecx, [esp + 0x94]
mov dword [esp + 0x1e4], eax
mov dword [ebp + 0x558], eax
call fcn.0042abb0
lea edx, [esp + 0x20]
mov ecx, eax
push edx
mov byte [esp + 0x1e0], 1
call fcn.0042ac60
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1dc], 0
call fcn.0042ac30
mov eax, dword [ebp + 0x434]
mov dword [ebp + 0x550], ebx
xor ebx, ebx
cmp eax, ebx
mov dword [ebp + 0x558], ebx
je 0x434af2
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp + 0x434], ebx
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x1dc], 0xffffffff
mov dword [esp + 0x20], esi
call fcn.00427f70
jmp 0x434b2e
mov eax, dword [ebp + 0x550]
mov ecx, dword [eax + 0x30]
push ecx
push ebx
push str.ERROR:_Cannot_resolve_the_extern_proto_URL__s_at_line__d_n
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 0xc
mov ecx, dword [esp + 0x1d4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1d0
ret