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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x58]
cmp eax, dword [ecx + 8]
jbe 0x5a9bf9
sub esp, 0xd8
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 4]
mov dword [esp], edx
call fcn.0059b6a0
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax + 0x58]
mov edx, dword [eax + 0x5c]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax + 0x58]
mov edx, dword [eax + 0x5c]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call ecx
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax + 0x58]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x34], ebp
mov esi, dword [eax + 0x5c]
mov ecx, dword [ecx + 0x14]
mov dword [esp], esi
call ecx
lea eax, [0x79e380]
mov dword [esp], eax
call fcn.00409f80
mov eax, dword [esp + 4]
mov ecx, dword [0x8abdd4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov byte [eax + 3], cl
mov edx, dword [esp + 0xdc]
mov ebx, dword [edx + 0x58]
mov ebp, dword [edx + 0x5c]
mov ebx, dword [ebx + 0x20]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
call ebx
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax + 0x58]
mov edx, dword [eax + 0x5c]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
call ecx
lea edi, [esp + 0x54]
xor eax, eax
call fcn.0044f1af
lea edi, [esp + 0x54]
call fcn.0044f1af
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax + 8]
movzx ecx, word [ecx + 0xc]
mov word [esp + 0x60], cx
mov ecx, dword [0xb770e8]
mov edx, dword [0xb770e0]
mov ebx, dword [0xb770e4]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ecx
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
mov ebx, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x24]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
mov ecx, dword [eax + 8]
movzx ecx, word [ecx + 0x28]
mov word [esp + 0x7c], cx
mov ecx, dword [eax + 8]
movzx ecx, byte [ecx + 0x2a]
mov byte [esp + 0x7e], cl
mov ecx, dword [eax + 8]
movzx ecx, word [ecx + 0x5c]
mov word [esp + 0xb0], cx
movzx ecx, word [esp + 0xe0]
mov word [esp + 0xd4], cx
lea edx, [esp + 0x54]
mov dword [esp], edx
call fcn.0059d860
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax + 0x58]
mov edx, dword [eax + 0x5c]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
call ecx
lea eax, [esp + 0x54]
mov dword [esp], eax
call fcn.0059d860
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x38]
mov dword [esp], ebx
mov byte [esp + 4], 0x16
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0058f1f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x5a9be4
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
call fcn.005a95f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x5a9bcf
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.0058f2c0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
test ecx, ecx
jne 0x5a9bba
lea eax, [0x7e40e0]
cmp edx, eax
jne 0x5a9bae
mov ecx, ebx
mov dword [esp + 0x40], ebx
jne 0x5a9ac3
mov eax, dword [ebx + 0xc8]
cmp dword [ebx + 0xcc], 1
je 0x5a9978
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.0058e890
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x38
mov eax, dword [0xb91180]
test eax, eax
jne 0x5a996b
lea eax, [0x82d9d3]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], edi
add esp, 0xd8
ret
lea eax, [0x82d9d3]
call fcn.0044f0d0
jmp 0x5a9950
movzx ecx, word [esp + 0xe0]
cmp word [eax], cx
jne 0x5a9913
movzx eax, byte [ebx + 0xd4]
test al, al
je 0x5a99f5
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.0058e890
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x36
mov eax, dword [0xb91180]
test eax, eax
jne 0x5a99e8
lea eax, [0x82d093]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], edi
add esp, 0xd8
ret
lea eax, [0x82d093]
call fcn.0044f0d0
jmp 0x5a99cd
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax + 4]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.005a9c10
movzx eax, byte [esp + 8]
test al, al
jne 0x5a9a5e
mov ecx, dword [0xb91180]
test ecx, ecx
jne 0x5a9a49
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xdc]
mov dword [ecx + 4], eax
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
add esp, 0xd8
ret
mov ecx, dword [esp + 0xdc]
lea edi, [ecx + 4]
mov eax, dword [esp + 0x40]
call fcn.0044f0d0
jmp 0x5a9a2c
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.0058e890
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x31
mov eax, dword [0xb91180]
test eax, eax
jne 0x5a9ab6
lea eax, [0x82b6a6]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], edi
add esp, 0xd8
ret
lea eax, [0x82b6a6]
call fcn.0044f0d0
jmp 0x5a9a9b
mov dword [esp + 0x20], edx
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.0058e890
nop
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
lea eax, [0x7e40e0]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x50], eax
nop
lea eax, [0x82fc2f]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004bd7c0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
nop
lea edx, [0x7c34e0]
mov dword [esp], edx
call fcn.00409f80
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
mov eax, dword [0xb91180]
test eax, eax
jne 0x5a9ba3
mov eax, dword [esp + 0x30]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], edi
add esp, 0xd8
ret
mov eax, dword [esp + 0x30]
call fcn.0044f0d0
jmp 0x5a9b88
mov ecx, ebx
mov ebx, 0
jmp 0x5a98fa
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], eax
add esp, 0xd8
ret
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], eax
add esp, 0xd8
ret
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], eax
add esp, 0xd8
ret
call fcn.0044d880
jmp fcn.005a9690