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

Disassembly:
push 0xffffffffffffffff
push 0x5cd6fe
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1a8]
mov esi, dword [esp + 0x1ac]
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0x1c], ebx
xor ecx, ecx
push ebx
mov word [esp + 0xb4], cx
mov ebp, 7
push eax
lea ecx, [esp + 0xb8]
mov dword [esp + 0x30], esi
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xc8], ebx
call fcn.00402610
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0x1a0], ebx
cmp dword [esi + 0x10], ebx
jne 0x46f7f1
mov edx, dword [0x5fcc58]
push edx
push ebx
push 0x604048
lea ecx, [esp + 0xb8]
call fcn.0046f5a0
cmp eax, dword [0x5fcc58]
je 0x46f7e0
cmp eax, 0xffffffff
jne 0x46f7f1
push 0x604048
lea ecx, [esp + 0xb0]
call fcn.00421a80
call sub.KERNEL32.dll_GetLastError
push eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x12c]
push eax
call fcn.004456f0
add esp, 8
push 0x604044
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1a4], 1
call fcn.00402bb0
push ebx
push esi
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x134]
mov byte [esp + 0x1ac], 2
call fcn.004224a0
mov edx, dword [esp + 0xa4]
push edx
mov byte [esp + 0x1a4], 1
call fcn.005844d1
mov edi, 8
add esp, 4
cmp dword [esp + 0x9c], edi
jb 0x46f878
mov eax, dword [esp + 0x88]
push eax
call fcn.00584768
add esp, 4
xor al, al
lea ebx, [ebx]
cmp al, bl
jne 0x46f8e0
lea ecx, [esp + 0x88]
push 0x5fcf00
push ecx
call fcn.00423280
add esp, 8
mov esi, eax
or dword [esp + 0x18], 1
mov byte [esp + 0x1a0], 3
cmp dword [0x695aa8], ebx
je 0x46f8c4
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x46f8c4
call fcn.004443b0
jmp 0x46f8c9
mov al, byte [0x68a580]
cmp al, bl
je 0x46f8e0
push esi
call fcn.00445fa0
add esp, 4
mov byte [esp + 0x17], 1
cmp eax, 1
jae 0x46f8e4
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 1
mov dword [esp + 0x1a0], 1
je 0x46f924
mov edx, dword [esp + 0xa4]
and dword [esp + 0x18], 0xfffffffe
push edx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x9c], edi
jb 0x46f924
mov eax, dword [esp + 0x88]
push eax
call fcn.00584768
add esp, 4
cmp byte [esp + 0x17], bl
je 0x46fd14
push str._error__d:__s_
lea ecx, [esp + 0x8c]
call fcn.00402bb0
xor ecx, ecx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], cx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
xor edx, edx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
push 0x604030
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x178]
push ecx
mov byte [esp + 0x1ac], 6
call fcn.00422e30
add esp, 0xc
mov esi, eax
mov byte [esp + 0x1a0], 7
call fcn.00425e70
cmp eax, ebx
je 0x46f9c5
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x90]
push edx
mov ecx, eax
call fcn.00429320
cmp eax, ebx
jne 0x46f9d5
lea eax, [esp + 0x88]
push eax
call fcn.004292f0
add esp, 4
push eax
lea ecx, [esp + 0x150]
push esi
push ecx
call fcn.00422d10
mov esi, eax
mov byte [esp + 0x1ac], 8
call fcn.00420510
mov dword [esp + 0x34], eax
mov byte [esp + 0x1ac], 9
call fcn.00420510
mov dword [esp + 0x38], eax
mov byte [esp + 0x1ac], 0xa
call fcn.00420510
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ebx
sub esp, 0x18
mov esi, esp
mov dword [esp + 0xa8], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x154]
xor edx, edx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esp + 0x1d0], 0xb
mov word [esi], dx
call fcn.00402610
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
push ecx
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x6c], esp
push 0xffffffffffffffff
push ebx
xor edx, edx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esp + 0x1f8], 0xc
mov word [esi], dx
call fcn.00402610
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov byte [esp + 0x1ec], 0xd
mov dword [esp + 0x11c], 1
mov dword [esp + 0x124], str....._srcmswdlmsw.cpp
mov dword [esp + 0x12c], str.wxDynamicLibrary::ReportError
mov dword [esp + 0x128], 0xa7
mov dword [esp + 0x130], 0x5fcf00
mov dword [esp + 0x134], ebx
mov dword [esp + 0x138], ebx
mov dword [esp + 0x13c], ebx
mov dword [esp + 0x140], ebx
call sub.KERNEL32.dll_GetCurrentThreadId
xor ecx, ecx
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], ebx
mov dword [esp + 0x160], ebp
mov dword [esp + 0x15c], ebx
mov word [esp + 0x14c], cx
mov dword [esp + 0x168], ebx
mov dword [esp + 0x16c], ebx
mov byte [esp + 0x1ec], 0xe
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x120]
mov byte [esp + 0x1f0], 0xf
call fcn.0046f640
mov eax, dword [esp + 0x11c]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x114], edi
jb 0x46fb6c
mov ecx, dword [esp + 0x100]
push ecx
call fcn.00584768
add esp, 4
mov esi, dword [esp + 0xfc]
xor edx, edx
mov dword [esp + 0x114], ebp
mov dword [esp + 0x110], ebx
mov word [esp + 0x100], dx
mov dword [esp + 0x20], esi
cmp esi, ebx
je 0x46fbeb
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
push 0x40b5f0
push eax
push ecx
mov byte [esp + 0x1ac], 0x10
call fcn.00447740
mov edi, dword [esi + 0x10]
push edi
mov dword [esi + 0x18], ebx
call fcn.005844d1
mov edx, dword [esi]
mov eax, dword [esi + 4]
push 0x475ea0
push edx
push eax
mov byte [esp + 0x1bc], 0xb
call fcn.00447740
mov eax, dword [esi]
push eax
mov dword [esi + 8], ebx
call fcn.005844d1
push esi
call fcn.00584768
add esp, 0x24
mov edi, 8
lea ecx, [esp + 0x28]
mov byte [esp + 0x1a0], 8
call fcn.004020c0
mov ecx, dword [esp + 0x168]
push ecx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x160], edi
jb 0x46fc25
mov edx, dword [esp + 0x14c]
push edx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x18c]
xor eax, eax
push ecx
mov dword [esp + 0x164], ebp
mov dword [esp + 0x160], ebx
mov word [esp + 0x150], ax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x184], edi
jb 0x46fc66
mov edx, dword [esp + 0x170]
push edx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x58]
xor eax, eax
push ecx
mov dword [esp + 0x188], ebp
mov dword [esp + 0x184], ebx
mov word [esp + 0x174], ax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x50], edi
jb 0x46fc9e
mov edx, dword [esp + 0x3c]
push edx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x7c]
xor eax, eax
push ecx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], ax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x74], edi
jb 0x46fccd
mov edx, dword [esp + 0x60]
push edx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0xa4]
xor eax, eax
push ecx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], ax
mov byte [esp + 0x1a4], 1
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x9c], edi
jb 0x46fd0d
mov edx, dword [esp + 0x88]
push edx
call fcn.00584768
add esp, 4
mov al, 1
jmp 0x46f880
mov eax, dword [esp + 0x144]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x13c], edi
jb 0x46fd3d
mov ecx, dword [esp + 0x128]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0xc8]
xor edx, edx
push eax
mov dword [esp + 0x140], ebp
mov dword [esp + 0x13c], ebx
mov word [esp + 0x12c], dx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xc0], edi
jb 0x46fd7e
mov ecx, dword [esp + 0xac]
push ecx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x180]
xor ecx, esp
call fcn.00585b7b
add esp, 0x190
ret