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

Disassembly:
push 0xffffffffffffffff
push 0x487227
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4a9750]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a9750]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov dword [esp + 0x20], ecx
mov ebx, dword [esp + 0xa8]
mov edi, dword [esp + 0xa4]
mov eax, dword [esp + 0xac]
mov esi, dword [esp + 0xb0]
mov ebp, dword [esp + 0xb4]
mov dword [esp + 0x18], 0
cmp dword [ebx + 0x10], 0
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], eax
jne 0x4351dc
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x18], 1
jmp 0x435505
mov edx, esi
mov ecx, ebx
call fcn.00408310
test al, al
jne 0x435201
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4351fa
mov eax, dword [esi]
jmp 0x4351fc
mov eax, esi
xor ecx, ecx
mov word [eax], cx
xor eax, eax
cmp dword [esi + 0x10], eax
jne 0x435229
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], eax
mov word [edi], ax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x18], 1
jmp 0x435505
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov dword [esp + 0x9c], 1
lea edx, [esp + 0x44]
mov ecx, ebx
call fcn.00408220
test al, al
jne 0x435283
cmp dword [esp + 0x58], 8
lea eax, [esp + 0x44]
mov dword [esp + 0x54], 0
cmovae eax, dword [esp + 0x44]
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x44]
cmp ebp, eax
je 0x435297
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebp
call fcn.004035e0
cmp dword [esp + 0x54], 0
jne 0x43534a
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
push eax
push dword [esp + 0x3c]
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
call fcn.004035e0
mov byte [esp + 0xb4], 2
mov byte [esp + 0xb4], 1
lea ecx, [esp + 0x44]
call fcn.00446850
add esp, 0x18
mov byte [esp + 0x9c], 3
lea ecx, [esp + 0x44]
push eax
call fcn.004032b0
mov byte [esp + 0x9c], 1
cmp dword [esp + 0x40], 8
jb 0x435313
push dword [esp + 0x2c]
call fcn.00467305
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
cmp dword [esp + 0x54], eax
jne 0x43534a
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], eax
mov word [edi], ax
mov dword [esp + 0x18], 1
jmp 0x4354d8
mov ecx, esi
call fcn.00408cc0
test al, al
jne 0x43535c
mov ecx, esi
call fcn.00409410
mov ecx, esi
call fcn.00408cc0
test al, al
jne 0x4353a6
mov esi, dword [esp + 0x20]
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x78], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
mov dword [esp + 0x18], 1
mov byte [esp + 0x9c], al
lea ecx, [esp + 0x44]
call fcn.004032f0
jmp 0x435505
lea eax, [esp + 0x44]
mov edx, esi
push eax
lea ecx, [esp + 0x78]
call fcn.00405d10
add esp, 4
mov byte [esp + 0x9c], 4
lea edx, [esp + 0x74]
push 0x497c14
lea ecx, [esp + 0x60]
call fcn.00409920
add esp, 4
mov byte [esp + 0x9c], 5
lea ecx, [esp + 0x5c]
call fcn.00408b70
test al, al
je 0x435443
mov esi, 1
push 0x497c14
push esi
lea ecx, [esp + 0x7c]
call fcn.00403370
push eax
lea eax, [esp + 0x68]
push str._s__u__s
push eax
call fcn.0040fe50
add esp, 0x14
lea ecx, [esp + 0x5c]
call fcn.00408b70
test al, al
je 0x435443
cmp dword [esp + 0x70], 8
lea eax, [esp + 0x5c]
mov dword [esp + 0x6c], 0
cmovae eax, dword [esp + 0x5c]
xor ecx, ecx
inc esi
mov word [eax], cx
cmp esi, 0x2710
jb 0x4353f0
cmp dword [esp + 0x6c], 0
jne 0x43545f
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
jmp 0x43546b
lea eax, [esp + 0x5c]
mov ecx, edi
push eax
call fcn.00403240
mov dword [esp + 0x18], 1
mov byte [esp + 0x9c], 4
cmp dword [esp + 0x70], 8
jb 0x43548e
push dword [esp + 0x5c]
call fcn.00467305
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], eax
mov word [esp + 0x5c], ax
mov byte [esp + 0x9c], 1
cmp dword [esp + 0x88], 8
jb 0x4354bf
push dword [esp + 0x74]
call fcn.00467305
add esp, 4
xor eax, eax
mov dword [esp + 0x88], 7
mov word [esp + 0x74], ax
mov dword [esp + 0x84], eax
mov byte [esp + 0x9c], al
cmp dword [esp + 0x58], 8
jb 0x4354f2
push dword [esp + 0x44]
call fcn.00467305
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], eax
mov word [esp + 0x44], ax
mov eax, edi
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00466b29
add esp, 0x8c
ret 0x14