Function at 0x46bc60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5cd0c5
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x154], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x16c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], ebx
mov ecx, dword [ecx]
cmp ecx, ebx
je 0x46c1b4
mov eax, dword [esp + 0x184]
sub eax, ebx
je 0x46bccc
dec eax
je 0x46bcc5
dec eax
jne 0x46bccc
lea eax, [ebx + 2]
jmp 0x46bcce
mov eax, 1
jmp 0x46bcce
xor eax, eax
mov edx, dword [esp + 0x17c]
push eax
mov eax, dword [esp + 0x184]
push eax
push edx
push ecx
call fcn.0058d360
add esp, 0x10
test eax, eax
je 0x46c1b0
xor al, al
cmp al, bl
jne 0x46bd51
lea eax, [esp + 0x144]
push 0x5fcf00
push eax
call fcn.00423280
add esp, 8
mov esi, eax
or dword [esp + 0x18], 1
mov dword [esp + 0x174], ebx
cmp dword [0x695aa8], ebx
je 0x46bd35
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x46bd35
call fcn.004443b0
jmp 0x46bd3a
mov al, byte [0x68a580]
cmp al, bl
je 0x46bd51
push esi
call fcn.00445fa0
add esp, 4
mov byte [esp + 0x17], 1
cmp eax, 1
jae 0x46bd55
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 1
mov dword [esp + 0x174], 0xffffffff
je 0x46bd9c
mov ecx, dword [esp + 0x160]
and dword [esp + 0x18], 0xfffffffe
push ecx
call fcn.005844d1
mov ebp, 8
add esp, 4
cmp dword [esp + 0x158], ebp
jb 0x46bda1
mov edx, dword [esp + 0x144]
push edx
call fcn.00584768
add esp, 4
jmp 0x46bda1
mov ebp, 8
cmp byte [esp + 0x17], bl
je 0x46c1b4
push str.Seek_error_on_file__s
lea ecx, [esp + 0x124]
call fcn.00402bb0
mov edi, 7
xor eax, eax
mov dword [esp + 0x174], 1
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], ax
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
xor ecx, ecx
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], cx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x174], 3
call fcn.00425e70
cmp eax, ebx
je 0x46be3a
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x128]
push edx
mov ecx, eax
call fcn.00429320
cmp eax, ebx
jne 0x46be4a
lea eax, [esp + 0x120]
push eax
call fcn.004292f0
add esp, 4
mov esi, eax
call fcn.00420510
mov dword [esp + 0x48], eax
mov byte [esp + 0x174], 4
call fcn.00420510
mov dword [esp + 0x4c], eax
mov byte [esp + 0x174], 5
call fcn.00420510
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ebx
push str.wx.sys_error
lea ecx, [esp + 0x100]
mov byte [esp + 0x178], 6
call fcn.00402bb0
mov edx, dword [esp + 0x20]
push 0xffffffffffffffff
xor ecx, ecx
push ebx
add edx, 4
mov word [esp + 0x2c], cx
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x180], 7
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
call fcn.00402610
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x174], 8
mov dword [esp + 0xa4], 1
mov dword [esp + 0xac], str....._srccommon_ffile.cpp
mov dword [esp + 0xb4], str.wxFFile::Seek
mov dword [esp + 0xb0], 0xed
mov dword [esp + 0xb8], 0x5fcf00
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0xcc], eax
xor eax, eax
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xe8], edi
mov dword [esp + 0xe4], ebx
mov word [esp + 0xd4], ax
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], ebx
mov byte [esp + 0x174], 9
call sub.KERNEL32.dll_GetLastError
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x104]
push ecx
lea ecx, [esp + 0xe0]
mov esi, eax
call fcn.00402610
mov ecx, dword [esp + 0xd0]
cmp ecx, ebx
jne 0x46bfc6
push 0x20
call fcn.00584773
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x174], 0xa
cmp eax, ebx
je 0x46bfb3
mov ecx, eax
call fcn.004287b0
jmp 0x46bfb5
xor eax, eax
mov ecx, eax
mov byte [esp + 0x174], 9
mov dword [esp + 0xd0], ecx
lea edx, [esp + 0xfc]
push edx
call fcn.004775a0
mov dword [eax], esi
lea eax, [esp + 0x24]
lea ecx, [esp + 0x48]
mov byte [esp + 0x174], 0xc
mov dword [esp + 0x1c], eax
call fcn.0041de00
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.0041d2a0
push eax
lea ecx, [esp + 0xa8]
push esi
push ecx
call fcn.0040b680
mov edx, dword [esp + 0x4c]
push edx
call fcn.005844d1
add esp, 0x10
cmp dword [esp + 0x38], ebp
jb 0x46c028
mov eax, dword [esp + 0x24]
push eax
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0xf0]
xor ecx, ecx
push edx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], cx
mov byte [esp + 0x178], 7
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xe8], ebp
jb 0x46c068
mov eax, dword [esp + 0xd4]
push eax
call fcn.00584768
add esp, 4
xor ecx, ecx
mov word [esp + 0xd4], cx
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0xe8], edi
mov dword [esp + 0xe4], ebx
mov esi, ecx
cmp ecx, ebx
je 0x46c09b
call fcn.0040c030
push esi
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0x118]
push edx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x110], ebp
jb 0x46c0c4
mov eax, dword [esp + 0xfc]
push eax
call fcn.00584768
add esp, 4
xor ecx, ecx
mov word [esp + 0xfc], cx
lea ecx, [esp + 0x48]
mov dword [esp + 0x110], edi
mov dword [esp + 0x10c], ebx
mov byte [esp + 0x174], 3
call fcn.004020c0
mov edx, dword [esp + 0x78]
push edx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x70], ebp
jb 0x46c10d
mov eax, dword [esp + 0x5c]
push eax
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0x9c]
xor ecx, ecx
push edx
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], cx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x94], ebp
jb 0x46c145
mov eax, dword [esp + 0x80]
push eax
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0x13c]
xor ecx, ecx
push edx
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], cx
mov dword [esp + 0x178], 0xffffffff
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x134], ebp
jb 0x46c191
mov eax, dword [esp + 0x120]
push eax
call fcn.00584768
add esp, 4
xor ecx, ecx
mov dword [esp + 0x134], edi
mov dword [esp + 0x130], ebx
mov word [esp + 0x120], cx
mov al, 1
jmp 0x46bcf2
mov al, 1
jmp 0x46c1b6
xor al, al
mov ecx, dword [esp + 0x16c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.00585b7b
add esp, 0x164
ret 0xc