Function at 0x62df40
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x70eced
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0xec], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x104]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x114]
mov ecx, dword [esp + 0x118]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
test eax, eax
je 0x62e257
cmp dword [edi], 0
je 0x62e23b
mov ecx, edi
call fcn.0062d870
test edx, edx
jl 0x62e21f
jg 0x62dfbd
test eax, eax
jb 0x62e21f
mov ecx, edi
call fcn.0062d870
mov ecx, edi
mov dword [esp + 0x1c], edx
mov ebx, eax
call fcn.0062d870
xor ecx, ecx
cmp ebx, eax
jne 0x62e200
cmp ecx, edx
jne 0x62e200
push dword [edi]
call dword [sym.imp.MSVCR120.dll_clearerr]
call fcn.005c92f0
mov dword [esp + 0x1c], eax
lea eax, [ebx + 1]
mov dword [esp + 0x110], 0
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x62e03d
push 0xc
mov byte [ebx + ebp], 0
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x62e039
mov eax, 1
mov dword [esi], ebp
mov dword [esi + 4], ebx
mov word [esi + 8], ax
mov byte [esi + 0xa], al
jmp 0x62e044
xor esi, esi
jmp 0x62e044
call fcn.005c92f0
mov esi, eax
mov dword [esp + 0x18], esi
push dword [edi]
mov dword [esp + 0x110], 1
push ebx
push 1
push dword [esi]
call dword [sym.imp.MSVCR120.dll_fread]
push dword [edi]
mov ebx, eax
call dword [sym.imp.MSVCR120.dll_ferror]
add esp, 0x14
test eax, eax
je 0x62e1af
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 1
call fcn.00439d10
add esp, 0x24
test al, al
je 0x62e1ab
push str.Read_error_on_file__s
lea ecx, [esp + 0x5c]
call fcn.00418040
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x24]
mov byte [esp + 0x10c], 3
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.00420160
add esp, 8
lea ecx, [esp + 0x44]
push eax
call fcn.0041fd90
push str.wx.sys_error
lea ecx, [esp + 0x9c]
mov byte [esp + 0x110], 4
call fcn.00418040
sub esp, 0xc
lea ecx, [edi + 4]
mov eax, esp
mov dword [esp + 0x20], esp
push eax
call fcn.0041f670
push 0x721844
push str.wxFFile::ReadAll
push 0x71
push str....._srccommon_ffile.cpp
push 1
lea ecx, [esp + 0xd8]
mov byte [esp + 0x12c], 6
call fcn.00439de0
mov esi, eax
mov byte [esp + 0x118], 7
lea eax, [esp + 0x50]
push eax
call sub.KERNEL32.dll_GetLastError
push eax
lea eax, [esp + 0xac]
mov ecx, esi
push eax
call fcn.0049dde0
mov ecx, eax
mov byte [esp + 0x11c], 8
call fcn.00493410
lea ecx, [esp + 0xb8]
mov byte [esp + 0x10c], 5
call fcn.0043f270
lea ecx, [esp + 0x98]
call fcn.00418210
lea ecx, [esp + 0x44]
mov byte [esp + 0x10c], 3
call fcn.00420020
lea ecx, [esp + 0x24]
call fcn.00418210
lea ecx, [esp + 0x58]
call fcn.00418210
xor bl, bl
jmp 0x62e1e5
mov eax, dword [esi]
lea ecx, [esp + 0x78]
push dword [esp + 0x20]
mov byte [eax + ebx], 0
push dword [esi]
call fcn.00449bd0
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0x110], 9
call fcn.004cb610
lea ecx, [esp + 0x78]
mov bl, 1
call fcn.00418210
lea ecx, [esp + 0x18]
mov dword [esp + 0x10c], 0xffffffff
call fcn.004835a0
mov al, bl
jmp 0x62e291
cmp dword [0x82e960], ecx
je 0x62e28f
push 0x77f3b4
push str._wxFileOffset_length__Length__
push str.wxFFile::ReadAll
push 0x64
jmp 0x62e271
cmp dword [0x82e960], 0
je 0x62e28f
push 0x78badc
push str.Length_____0
push str.wxFFile::ReadAll
push 0x62
jmp 0x62e271
cmp dword [0x82e960], 0
je 0x62e28f
push str.cant_read_from_closed_file
push str.IsOpened__
push str.wxFFile::ReadAll
push 0x61
jmp 0x62e271
cmp dword [0x82e960], 0
je 0x62e28f
push 0x7cfb6c
push 0x77f3b0
push str.wxFFile::ReadAll
push 0x60
push str....._srccommon_ffile.cpp
call fcn.005c7220
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x62e28f
mov byte [0x87c8e0], 0
int3
xor al, al
mov ecx, dword [esp + 0x104]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xec]
xor ecx, esp
call fcn.006d1ba7
add esp, 0xfc
ret 8