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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a3c3b
sub esp, 0x70
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.0058f2c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
test ebx, ebx
jne 0x5a3c24
lea edx, [0x7e40e0]
cmp ecx, edx
jne 0x5a3c18
mov ebx, eax
mov dword [esp + 0x48], eax
jne 0x5a3b2b
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x24]
mov edx, dword [edx + 0x24]
test edx, edx
jne 0x5a3a38
mov edx, dword [eax + 0xb0]
mov ebx, dword [eax + 0xb8]
mov ebp, dword [eax + 0xb4]
test ebp, ebp
je 0x5a3a16
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x44], edx
mov dword [esp + 0x30], ebx
mov eax, dword [ecx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00589ca0
movzx eax, word [esp + 0x14]
movzx ecx, byte [esp + 0x16]
mov edx, dword [esp + 0x74]
mov word [edx + 0x20], ax
test cl, cl
jne 0x5a39e1
mov dword [esp], edx
mov byte [esp + 4], 0x46
call fcn.0058e890
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
call fcn.00407a10
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea ecx, [0x792400]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
nop
lea eax, [0x82b6d7]
mov dword [esp], eax
mov dword [esp + 4], 0x31
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004bd7c0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
nop
lea edx, [0x7c34e0]
mov dword [esp], edx
call fcn.00409f80
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x20]
mov dword [edi + 4], eax
mov eax, dword [0xb91180]
test eax, eax
jne 0x5a39d6
mov eax, dword [esp + 0x38]
mov dword [edi], eax
mov dword [esp + 0x78], 0
lea eax, [0x8b3870]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edi
add esp, 0x70
ret
mov eax, dword [esp + 0x38]
call fcn.0044f0d0
jmp 0x5a39b9
mov byte [edx + 0x22], 1
movzx ecx, word [edx + 0x20]
mov word [edx + 0xc0], cx
mov word [edx + 0x118], ax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x70
ret
movzx ecx, word [eax + 0xc]
mov word [esp], cx
call fcn.00589ba0
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x74]
jmp 0x5a38c3
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005a7cc0
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x24]
mov edx, dword [esp + 8]
mov ecx, dword [ecx + 0x24]
mov dword [esp], edx
mov edx, dword [ecx]
mov ebx, edx
mov edx, ecx
call ebx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test ecx, ecx
jne 0x5a3af3
test eax, eax
jne 0x5a3a82
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x74]
jmp 0x5a38a9
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea ecx, [0x5c31d0]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x5c], ecx
lea edx, [eax + 0xa8]
mov dword [esp], edx
lea edx, [esp + 0x54]
mov dword [esp + 4], edx
call fcn.00463c00
mov eax, dword [0xb91180]
test eax, eax
jne 0x5a3ae1
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x74]
mov dword [ecx + 0x24], eax
jmp 0x5a3a75
mov ecx, dword [esp + 0x74]
lea edi, [ecx + 0x24]
mov eax, dword [esp + 0x3c]
call fcn.0044f0d0
jmp 0x5a3a75
mov dword [esp + 0x28], ecx
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.0058e890
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x80], eax
add esp, 0x70
ret
mov dword [esp + 0x44], ebx
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.0058e890
nop
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x64], eax
lea eax, [0x7e40e0]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x6c], eax
nop
lea eax, [0x82fc2f]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x60]
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 + 0x34], eax
nop
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
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 0x5a3c0d
mov eax, dword [esp + 0x34]
mov dword [edi], eax
mov dword [esp + 0x78], 0
lea eax, [0x8b3870]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edi
add esp, 0x70
ret
mov eax, dword [esp + 0x34]
call fcn.0044f0d0
jmp 0x5a3bf0
mov ebx, eax
mov eax, 0
jmp 0x5a388d
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], edx
add esp, 0x70
ret
call fcn.0044d880
jmp fcn.005a3840