Function at 0x46ceb0
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5cd2a3
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x15c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x174]
mov dword fs:[0], eax
mov eax, dword [esp + 0x184]
xor ebx, ebx
mov ebp, ecx
mov ecx, dword [esp + 0x188]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], ebx
cmp eax, ebx
je 0x46d30b
cmp dword [ebp], ebx
je 0x46d30b
mov ecx, ebp
call fcn.0046cdd0
cmp edx, ebx
jl 0x46d30b
jg 0x46cf33
cmp eax, ebx
jb 0x46d30b
mov ecx, ebp
call fcn.0046cdd0
mov ecx, ebp
mov esi, eax
mov dword [esp + 0x20], edx
call fcn.0046cdd0
xor ecx, ecx
cmp esi, eax
jne 0x46d30b
cmp ecx, edx
jne 0x46d30b
mov edx, dword [ebp]
push edx
call fcn.0058d83a
call fcn.00420510
mov dword [esp + 0x20], eax
lea eax, [esi + 1]
push eax
mov dword [esp + 0x184], ebx
call fcn.00585ae7
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x46cfac
push 0xc
mov byte [esi + edi], bl
call fcn.00584773
add esp, 4
cmp eax, ebx
je 0x46cfa8
mov ecx, 1
mov dword [eax], edi
mov dword [eax + 4], esi
mov word [eax + 8], cx
mov byte [eax + 0xa], cl
jmp 0x46cfb1
xor eax, eax
jmp 0x46cfb1
call fcn.00420510
mov edi, eax
mov dword [esp + 0x1c], edi
mov edx, dword [ebp]
mov eax, dword [edi]
push edx
push esi
push 1
push eax
mov dword [esp + 0x18c], 1
call fcn.0058d2a7
mov esi, eax
mov eax, dword [ebp]
add esp, 0x10
cmp eax, ebx
je 0x46d337
push eax
call fcn.0058ce7f
add esp, 4
test eax, eax
setne al
cmp al, bl
je 0x46d337
xor al, al
lea esp, [esp]
cmp al, bl
jne 0x46d037
lea eax, [esp + 0xd0]
push 0x5fcf00
push eax
call fcn.00423280
or dword [esp + 0x20], 1
push eax
push 1
mov byte [esp + 0x18c], 2
call fcn.00409f60
add esp, 0x10
mov byte [esp + 0x17], 1
test al, al
jne 0x46d03b
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 1
mov dword [esp + 0x17c], 1
je 0x46d082
mov ecx, dword [esp + 0xec]
and dword [esp + 0x18], 0xfffffffe
push ecx
call fcn.005844d1
mov edi, 8
add esp, 4
cmp dword [esp + 0xe4], edi
jb 0x46d087
mov edx, dword [esp + 0xd0]
push edx
call fcn.00584768
add esp, 4
jmp 0x46d087
mov edi, 8
cmp byte [esp + 0x17], bl
je 0x46d2f7
push str.Read_error_on_file__s
lea ecx, [esp + 0x8c]
call fcn.00402bb0
mov eax, 7
xor ecx, ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], cx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
xor edx, edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], dx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x17c], 5
call fcn.00425e70
cmp eax, ebx
je 0x46d109
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x90]
push ecx
mov ecx, eax
call fcn.00429320
cmp eax, ebx
jne 0x46d119
lea edx, [esp + 0x88]
push edx
call fcn.004292f0
add esp, 4
mov esi, eax
call fcn.00420510
mov dword [esp + 0x2c], eax
mov byte [esp + 0x17c], 6
call fcn.00420510
mov dword [esp + 0x30], eax
mov byte [esp + 0x17c], 7
call fcn.00420510
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ebx
push str.wx.sys_error
lea ecx, [esp + 0xb0]
mov byte [esp + 0x180], 8
call fcn.00402bb0
sub esp, 0x24
lea eax, [ebp + 4]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
mov byte [esp + 0x1a4], 9
call fcn.00402b70
push 0x5fcf00
push str.wxFFile::ReadAll
push 0x6b
push str....._srccommon_ffile.cpp
push 1
lea ecx, [esp + 0x150]
mov byte [esp + 0x1b4], 0xa
call fcn.0040e0e0
mov esi, eax
mov byte [esp + 0x1a0], 0xb
lea ecx, [esp + 0x50]
push ecx
call sub.KERNEL32.dll_GetLastError
push eax
lea edx, [esp + 0xd8]
push edx
mov ecx, esi
call fcn.00429810
mov ecx, eax
mov byte [esp + 0x1a4], 0xc
call fcn.00428340
lea ecx, [esp + 0x118]
mov byte [esp + 0x17c], 9
call fcn.0040e140
mov eax, dword [esp + 0xc8]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xc0], edi
jb 0x46d218
mov ecx, dword [esp + 0xac]
push ecx
call fcn.00584768
add esp, 4
xor edx, edx
mov esi, 7
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], dx
mov byte [esp + 0x17c], 5
call fcn.004020c0
mov eax, dword [esp + 0x5c]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x54], edi
jb 0x46d266
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x80]
xor edx, edx
push eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], dx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x78], edi
jb 0x46d298
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0xa4]
xor edx, edx
push eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], dx
mov byte [esp + 0x180], 1
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x9c], edi
jb 0x46d2d8
mov ecx, dword [esp + 0x88]
push ecx
call fcn.00584768
add esp, 4
xor edx, edx
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], dx
mov al, 1
jmp 0x46d000
lea ecx, [esp + 0x1c]
mov dword [esp + 0x17c], 0xffffffff
call fcn.004138c0
xor al, al
mov ecx, dword [esp + 0x174]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x15c]
xor ecx, esp
call fcn.00585b7b
add esp, 0x16c
ret 8
mov eax, dword [esp + 0x28]
mov dword [edi + 4], esi
mov edi, dword [edi]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0xfc]
mov byte [edi + esi], bl
call fcn.0046a7b0
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0xf4]
push edx
mov byte [esp + 0x180], 0xd
call fcn.0041e910
lea ecx, [esp + 0xf4]
call fcn.00405eb0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x17c], 0xffffffff
call fcn.004138c0
mov al, 1
jmp 0x46d30d