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

Disassembly:
mov ecx, dword [0x8602c0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x100]
cmp eax, dword [ecx + 8]
jbe 0x5da013
sub esp, 0x180
mov eax, dword [esp + 0x18c]
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x5c], edx
lea ebx, [0x61a3e0]
mov dword [esp], ebx
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
lea ecx, [0x622b60]
mov dword [esp], ecx
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044da60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 4], 1
mov dword [ecx + 8], 1
mov edx, dword [0x860560]
test edx, edx
je 0x5d9bd5
call fcn.00467c50
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov dword [ecx], eax
mov eax, dword [esp + 0x40]
mov edx, dword [eax + 0x80]
mov ebx, dword [esp + 0x5c]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
lea edi, [esp + 0x8c]
xor eax, eax
call fcn.00467ee9
lea edi, [esp + 0x114]
call fcn.00467ed5
lea ecx, [esp + 0x114]
mov dword [esp + 0x98], ecx
call fcn.00452890
mov eax, dword [esp]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x184]
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x188]
mov dword [esp + 0xc], ebx
lea ebp, [esp + 0x8c]
mov dword [esp + 0x10], ebp
call fcn.005d94d0
movzx eax, byte [esp + 0x14]
test al, al
je 0x5d9e34
lea edi, [esp + 0x70]
xor eax, eax
call fcn.00467ee9
lea edi, [esp + 0xa8]
call fcn.00467ed5
lea ecx, [esp + 0xa8]
mov dword [esp + 0x7c], ecx
call fcn.00452890
mov ecx, dword [esp]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x184]
mov dword [esp], ecx
mov ecx, dword [esp + 0x188]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x14], edx
lea ebx, [esp + 0x70]
mov dword [esp + 0x18], ebx
call fcn.005d7a50
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x4c], ecx
mov dword [esp], 0
lea edx, [0x63ab9b]
mov dword [esp + 4], edx
mov dword [esp + 8], 0xb
mov edx, dword [esp + 0x48]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
lea edx, [0x63bd90]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
call fcn.00451650
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x50], edx
lea ebx, [0x615580]
mov dword [esp], ebx
call fcn.0040c2d0
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x34]
mov dword [ecx + 4], edx
mov edx, dword [0x860560]
test edx, edx
jne 0x5d9d64
mov edx, dword [esp + 0x50]
jmp 0x5d9d6f
call fcn.00467c40
mov edx, dword [esp + 0x50]
mov dword [edi], edx
mov dword [ecx], edx
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx + 4]
test ebx, ebx
jbe 0x5da009
mov dword [esp + 0x68], ecx
mov ebx, dword [0x860560]
mov edi, dword [edx]
mov dword [esp + 0x64], edi
mov ebp, dword [esp + 0x4c]
mov ebp, dword [ebp]
test ebx, ebx
je 0x5d9dcf
mov dword [esp + 0x60], ebp
mov eax, edi
call fcn.00467c50
mov dword [edi], ebp
mov ecx, dword [eax]
mov dword [edi + 4], ecx
lea ecx, [0x622b60]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004114e0
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
xor eax, eax
call fcn.00467ee9
mov ecx, dword [esp + 0x64]
mov dword [ecx], ebp
lea ebx, [0x689e20]
mov dword [ecx + 0x14], ebx
mov ebx, dword [0x860560]
test ebx, ebx
jne 0x5d9df5
mov eax, dword [esp + 0x68]
jmp 0x5d9e06
call fcn.00467c50
mov eax, dword [esp + 0x68]
mov dword [edi], eax
mov ebx, dword [ecx + 0x18]
mov dword [edi + 4], ebx
mov dword [ecx + 0x18], eax
mov dword [edx + 0xc], 1
mov dword [esp + 0x190], edx
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0
add esp, 0x180
ret
mov eax, dword [esp + 0x184]
mov dword [esp], eax
mov eax, dword [esp + 0x188]
mov dword [esp + 4], eax
call fcn.005d9960
mov eax, dword [esp + 0x18c]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [ecx + 0x50]
mov edx, dword [esp + 8]
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x2c], ebx
mov dword [esp], eax
call ecx
cmp dword [esp + 4], 0x14
jne 0x5d9f4d
mov eax, dword [esp + 0x188]
cmp dword [0x86019c], eax
je 0x5d9f4d
mov dword [esp], 0
lea eax, [0x6417b6]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1a
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
lea eax, [0x64bb17]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x48
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
call fcn.004516e0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x58], ecx
lea edx, [0x615580]
mov dword [esp], edx
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x5d9f1a
mov ecx, dword [esp + 0x58]
jmp 0x5d9f25
call fcn.00467c40
mov ecx, dword [esp + 0x58]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [esp + 0x190], 0
lea ecx, [0x689e20]
mov dword [esp + 0x194], ecx
mov dword [esp + 0x198], eax
add esp, 0x180
ret
mov dword [esp], 0
lea eax, [0x643471]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1e
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
lea eax, [0x63fec1]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x17
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
call fcn.004516e0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x54], ecx
lea edx, [0x615580]
mov dword [esp], edx
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x5d9fd6
mov ecx, dword [esp + 0x54]
jmp 0x5d9fe1
call fcn.00467c40
mov ecx, dword [esp + 0x54]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [esp + 0x190], 0
lea ecx, [0x689e20]
mov dword [esp + 0x194], ecx
mov dword [esp + 0x198], eax
add esp, 0x180
ret
xor eax, eax
mov ecx, eax
call fcn.00467cb0
nop
call fcn.00466840
jmp fcn.005d9b40