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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xa0]
cmp eax, dword [ecx + 8]
jbe 0x5a9ca4
sub esp, 0x120
lea eax, [0x5dfee0]
mov dword [esp], eax
mov dword [esp + 4], 6
mov dword [esp + 8], 6
call fcn.00437b80
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x4c], edx
lea ebx, [0x5dfee0]
mov dword [esp], ebx
mov dword [esp + 4], 4
mov dword [esp + 8], 4
call fcn.00437b80
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x50], edx
lea ebx, [0x5dfee0]
mov dword [esp], ebx
mov dword [esp + 4], 4
mov dword [esp + 8], 4
call fcn.00437b80
movzx eax, byte [0x65de6c]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov byte [esp + 0x27], al
movzx eax, byte [0x65de6d]
mov byte [esp + 0x26], al
lea edi, [esp + 0xc0]
xor eax, eax
call fcn.0044b768
lea ecx, [esp + 0x27]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc8], 1
lea ecx, [esp + 0x26]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], 1
mov dword [esp + 0xd4], 1
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0x128]
mov dword [esp + 0xe4], ecx
mov ecx, dword [esp + 0x12c]
mov dword [esp + 0xe8], ecx
mov ecx, dword [esp + 0x130]
mov dword [esp + 0xec], ecx
mov ecx, dword [esp + 0x124]
mov ebp, dword [ecx + 0x3c]
mov esi, dword [ecx + 0x38]
mov edi, dword [ecx + 0x40]
mov dword [esp + 0xf0], esi
mov dword [esp + 0xf4], ebp
mov dword [esp + 0xf8], edi
mov ebp, dword [esp + 0x50]
mov dword [esp + 0xfc], ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x100], ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x104], ebp
mov ebp, dword [esp + 0x134]
mov dword [esp + 0x108], ebp
mov ebp, dword [esp + 0x138]
mov dword [esp + 0x10c], ebp
mov ebp, dword [esp + 0x13c]
mov dword [esp + 0x110], ebp
mov dword [esp + 0x114], ebx
mov dword [esp + 0x118], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x11c], edx
lea edx, [esp + 0xc0]
mov dword [esp], edx
mov dword [esp + 4], 8
mov dword [esp + 8], 8
call fcn.005a6b90
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x54], edx
lea edi, [esp + 0xa8]
mov ebx, eax
xor eax, eax
call fcn.0044b77a
mov ecx, dword [esp + 0x124]
mov ebp, dword [ecx + 0x2c]
mov esi, dword [ecx + 0x30]
mov edi, dword [ecx + 0x34]
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb4], edx
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xbc], ebx
lea esi, [esp + 0xa8]
mov dword [esp], esi
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.005a6b90
mov eax, dword [esp + 0x124]
mov ecx, dword [eax + 0x6c]
mov edx, dword [eax + 0x68]
mov ebx, dword [eax + 0x70]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.005a6810
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x48], edx
lea edi, [esp + 0x90]
mov ebx, eax
xor eax, eax
call fcn.0044b77a
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], edx
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x9c], ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0xa0], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0xa4], ebp
lea ebp, [esp + 0x90]
mov dword [esp], ebp
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.005a6b90
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x124]
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x4c], edx
mov ecx, dword [0x7db370]
test ecx, ecx
jne 0x5a9c97
mov dword [ebx + 0x44], eax
lea edi, [esp + 0x60]
xor eax, eax
call fcn.0044b77a
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x30]
mov ebp, dword [ebx + 0x34]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ebp
mov ecx, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
mov ebp, dword [ebx + 0x40]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ebp
lea ecx, [esp + 0x60]
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.005a6b90
mov ecx, dword [esp + 0x124]
mov edx, dword [ecx + 0x5c]
mov ebx, dword [ecx + 0x60]
mov ebp, dword [ecx + 0x64]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.005a6810
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
lea edi, [esp + 0x78]
xor eax, eax
call fcn.0044b77a
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ebx
mov ecx, dword [esp + 0x124]
mov edx, dword [ecx + 0x38]
mov ebx, dword [ecx + 0x3c]
mov ebp, dword [ecx + 0x40]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebp
lea edx, [esp + 0x78]
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.005a6b90
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x124]
mov dword [ebx + 0x54], ecx
mov dword [ebx + 0x58], edx
mov ecx, dword [0x7db370]
test ecx, ecx
jne 0x5a9c8a
mov dword [ebx + 0x50], eax
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x6c]
mov edx, dword [ebx + 0x70]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
call fcn.005a6810
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x124]
mov dword [ebx + 0x9c], ecx
mov dword [ebx + 0xa0], edx
mov ecx, dword [0x7db370]
test ecx, ecx
jne 0x5a9c7d
mov dword [ebx + 0x98], eax
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
add esp, 0x120
ret
lea edi, [ebx + 0x98]
call fcn.0044b680
jmp 0x5a9c60
lea edi, [ebx + 0x50]
call fcn.0044b680
jmp 0x5a9c00
lea edi, [ebx + 0x44]
call fcn.0044b680
jmp 0x5a9af6
call fcn.00449f20
jmp fcn.005a9790