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

Disassembly:
push 0xffffffffffffffff
push 0x481aa7
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x49f750]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49f750]
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 0x43661c
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 0x436945
mov edx, esi
mov ecx, ebx
call fcn.00409b70
test al, al
jne 0x436641
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x43663a
mov eax, dword [esi]
jmp 0x43663c
mov eax, esi
xor ecx, ecx
mov word [eax], cx
xor eax, eax
cmp dword [esi + 0x10], eax
jne 0x436669
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 0x436945
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.00409a80
test al, al
jne 0x4366c3
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 0x4366d7
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebp
call fcn.004035e0
cmp dword [esp + 0x54], 0
jne 0x43678a
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.00445980
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 0x436753
push dword [esp + 0x2c]
call fcn.00461b75
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 0x43678a
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], eax
mov word [edi], ax
mov dword [esp + 0x18], 1
jmp 0x436918
mov ecx, esi
call fcn.0040a520
test al, al
jne 0x43679c
mov ecx, esi
call fcn.0040ac70
mov ecx, esi
call fcn.0040a520
test al, al
jne 0x4367e6
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 0x436945
lea eax, [esp + 0x44]
mov edx, esi
push eax
lea ecx, [esp + 0x78]
call fcn.004075e0
add esp, 4
mov byte [esp + 0x9c], 4
lea edx, [esp + 0x74]
push 0x48f118
lea ecx, [esp + 0x60]
call fcn.0040b180
add esp, 4
mov byte [esp + 0x9c], 5
lea ecx, [esp + 0x5c]
call fcn.0040a3d0
test al, al
je 0x436883
mov esi, 1
push 0x48f118
push esi
lea ecx, [esp + 0x7c]
call fcn.00403370
push eax
lea eax, [esp + 0x68]
push str._s__u__s
push eax
call fcn.004116b0
add esp, 0x14
lea ecx, [esp + 0x5c]
call fcn.0040a3d0
test al, al
je 0x436883
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 0x436830
cmp dword [esp + 0x6c], 0
jne 0x43689f
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
jmp 0x4368ab
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 0x4368ce
push dword [esp + 0x5c]
call fcn.00461b75
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 0x4368ff
push dword [esp + 0x74]
call fcn.00461b75
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 0x436932
push dword [esp + 0x44]
call fcn.00461b75
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.00461397
add esp, 0x8c
ret 0x14