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

Disassembly:
push 0xffffffffffffffff
push 0x5c76ee
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov edi, dword [esp + 0x180]
xor ebx, ebx
mov dword [esp + 0x18], ebx
cmp dword [edi + 0x14], 8
mov dword [esp + 0x20], edi
jb 0x435fc6
mov edx, dword [edi]
jmp 0x435fc8
mov edx, edi
cmp edx, ebx
jne 0x435fd1
mov edx, 0x5f64c4
xor eax, eax
mov word [esp + 0xa8], ax
mov ebp, 7
mov eax, edx
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xb8], ebx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x435ff3
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0xb0]
call fcn.00402710
mov eax, dword [esp + 0xa8]
mov esi, 8
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
cmp dword [esp + 0xbc], esi
jae 0x43603a
lea eax, [esp + 0xa8]
push eax
call fcn.0058791a
mov ecx, dword [esp + 0xc8]
test eax, eax
push ecx
setne byte [esp + 0x1f]
call fcn.005844d1
add esp, 8
cmp dword [esp + 0xbc], esi
jb 0x436070
mov edx, dword [esp + 0xa8]
push edx
call fcn.00584768
add esp, 4
cmp byte [esp + 0x17], bl
je 0x4365b0
xor al, al
lea esp, [esp]
cmp al, bl
jne 0x4360df
lea eax, [esp + 0xa8]
push 0x5fcf00
push eax
call fcn.00423280
add esp, 8
mov esi, eax
or dword [esp + 0x18], 1
mov dword [esp + 0x178], ebx
cmp dword [0x695aa8], ebx
je 0x4360c3
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x4360c3
call fcn.004443b0
jmp 0x4360c8
mov al, byte [0x68a580]
cmp al, bl
je 0x4360df
push esi
call fcn.00445fa0
add esp, 4
mov byte [esp + 0x17], 1
cmp eax, 1
jae 0x4360e3
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 1
mov dword [esp + 0x178], 0xffffffff
je 0x436124
mov ecx, dword [esp + 0xc4]
and dword [esp + 0x18], 0xfffffffe
push ecx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xbc], 8
jb 0x436124
mov edx, dword [esp + 0xa8]
push edx
call fcn.00584768
add esp, 4
cmp byte [esp + 0x17], bl
je 0x4365ac
push str.Directory__s_couldnt_be_created
lea ecx, [esp + 0x14c]
call fcn.00402bb0
xor eax, eax
mov dword [esp + 0x178], 1
mov dword [esp + 0x94], ebp
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], ebp
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], cx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x178], 3
call fcn.00425e70
cmp eax, ebx
je 0x4361b8
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x150]
push edx
mov ecx, eax
call fcn.00429320
cmp eax, ebx
jne 0x4361c8
lea eax, [esp + 0x148]
push eax
call fcn.004292f0
add esp, 4
mov esi, eax
call fcn.00420510
mov dword [esp + 0x48], eax
mov byte [esp + 0x178], 4
call fcn.00420510
mov dword [esp + 0x4c], eax
mov byte [esp + 0x178], 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 + 0x128]
mov byte [esp + 0x17c], 6
call fcn.00402bb0
push 0xffffffffffffffff
xor ecx, ecx
push ebx
mov word [esp + 0x2c], cx
push edi
lea ecx, [esp + 0x30]
mov byte [esp + 0x184], 7
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
call fcn.00402610
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x178], 8
mov dword [esp + 0xcc], 1
mov dword [esp + 0xd4], str....._srccommon_filefn.cpp
mov dword [esp + 0xdc], str.wxMkdir
mov dword [esp + 0xd8], 0x430
mov dword [esp + 0xe0], 0x5fcf00
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
call sub.KERNEL32.dll_GetCurrentThreadId
xor edx, edx
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], ebx
mov dword [esp + 0x110], ebp
mov dword [esp + 0x10c], ebx
mov word [esp + 0xfc], dx
mov dword [esp + 0x118], ebx
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x178], 9
call sub.KERNEL32.dll_GetLastError
push 0xffffffffffffffff
mov edi, eax
push ebx
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x108]
call fcn.00402610
mov ecx, dword [esp + 0xf8]
cmp ecx, ebx
jne 0x436372
push 0x20
call fcn.00584773
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov byte [esp + 0x178], 0xa
cmp esi, ebx
je 0x436361
push 0x64
call fcn.00447710
push 4
push eax
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
call fcn.00585c5e
mov dword [esi], eax
push 0x64
mov byte [esp + 0x188], 0xb
call fcn.00447710
push 4
push eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ebx
call fcn.00585c5e
add esp, 0x18
mov dword [esi + 0x10], eax
mov ecx, esi
jmp 0x436363
xor ecx, ecx
mov byte [esp + 0x178], 9
mov dword [esp + 0xf8], ecx
lea edx, [esp + 0x124]
push edx
call fcn.004775a0
mov dword [eax], edi
lea eax, [esp + 0x24]
lea ecx, [esp + 0x48]
mov byte [esp + 0x178], 0xd
mov dword [esp + 0x1c], eax
call fcn.0041de00
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.0041d2a0
push eax
lea ecx, [esp + 0xd0]
push esi
push ecx
call fcn.0040b680
mov edx, dword [esp + 0x4c]
push edx
call fcn.005844d1
mov edi, 8
add esp, 0x10
cmp dword [esp + 0x38], edi
jb 0x4363d9
mov eax, dword [esp + 0x24]
push eax
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0x118]
xor ecx, ecx
push edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], cx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x110], edi
jb 0x436411
mov eax, dword [esp + 0xfc]
push eax
call fcn.00584768
add esp, 4
mov esi, dword [esp + 0xf8]
xor ecx, ecx
mov dword [esp + 0x110], ebp
mov dword [esp + 0x10c], ebx
mov word [esp + 0xfc], cx
mov dword [esp + 0xa4], esi
cmp esi, ebx
je 0x436493
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
push 0x40b5f0
push edx
push eax
mov byte [esp + 0x184], 0xe
call fcn.00447740
mov edi, dword [esi + 0x10]
push edi
mov dword [esi + 0x18], ebx
call fcn.005844d1
mov ecx, dword [esi]
mov edx, dword [esi + 4]
push 0x475ea0
push ecx
push edx
mov byte [esp + 0x194], 7
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
mov eax, dword [esp + 0x140]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x138], edi
jb 0x4364bc
mov ecx, dword [esp + 0x124]
push ecx
call fcn.00584768
add esp, 4
xor edx, edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x138], ebp
mov dword [esp + 0x134], ebx
mov word [esp + 0x124], dx
mov byte [esp + 0x178], 3
call fcn.004020c0
mov eax, dword [esp + 0x78]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x70], edi
jb 0x436505
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x9c]
xor edx, edx
push eax
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], dx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x94], edi
jb 0x43653d
mov ecx, dword [esp + 0x80]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x164]
xor edx, edx
push eax
mov dword [esp + 0x98], ebp
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], dx
mov dword [esp + 0x17c], 0xffffffff
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x15c], edi
jb 0x436589
mov ecx, dword [esp + 0x148]
push ecx
call fcn.00584768
add esp, 4
mov edi, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x15c], ebp
mov dword [esp + 0x158], ebx
mov word [esp + 0x148], dx
mov al, 1
jmp 0x436080
xor al, al
jmp 0x4365b2
mov al, 1
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.00585b7b
add esp, 0x168
ret