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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5bad44
sub esp, 0x6c
call fcn.0040ccc0
mov eax, dword [esp]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
lea ebx, [0x61aa14]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 3
call fcn.004afeb0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
lea edx, [0x61abf6]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.004afeb0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
xor eax, eax
jmp 0x5bab46
inc eax
cmp eax, 2
jge 0x5baba5
lea ecx, [esp + eax*8 + 0x5c]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
test edx, edx
je 0x5bab45
mov dword [esp + 0x40], eax
nop
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x61a738]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.004ebf50
mov eax, dword [esp + 0x18]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x5babc0
mov eax, dword [esp + 0x40]
jmp 0x5bab45
mov eax, dword [esp + 0x50]
mov dword [esp + 0x78], eax
add esp, 0x6c
ret
mov ebx, dword [esp + 0x3c]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x5bab9f
mov dword [esp + 0x3c], edx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
nop
mov dword [esp], ebx
mov dword [esp + 4], ecx
lea ecx, [0x66d038]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.004ebf50
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test ecx, ecx
jbe 0x5bad3a
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x44], eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004ecad0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004eda00
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x24]
cmp edx, 2
jl 0x5bacf6
mov eax, dword [esp + 0x44]
add eax, 8
mov dword [esp], eax
lea eax, [edx - 1]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
dec eax
mov dword [esp + 8], eax
lea eax, [0x66d038]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004ec180
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
lea edx, [0x5f3fe0]
mov dword [esp], edx
mov ebx, dword [esp + 0x50]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x54]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 0xc], ebp
call fcn.00410c50
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
mov dword [edi + 4], eax
mov eax, dword [0x7f8db0]
test eax, eax
jne 0x5bace8
mov eax, dword [esp + 0x58]
mov dword [edi], eax
jmp 0x5babb1
mov eax, dword [esp + 0x58]
call fcn.00464380
jmp 0x5babb1
lea eax, [0x5f3fe0]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.00410c50
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov dword [edi + 4], eax
mov eax, dword [0x7f8db0]
test eax, eax
jne 0x5bad2c
mov eax, dword [esp + 0x54]
mov dword [edi], eax
jmp 0x5babb1
mov eax, dword [esp + 0x54]
call fcn.00464380
jmp 0x5babb1
xor eax, eax
mov ecx, eax
call fcn.00464400
nop
call fcn.00462f70
jmp fcn.005baa80