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

Disassembly:
mov ecx, dword [0x7f7460]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x5bb068
sub esp, 0xb0
mov eax, dword [esp + 0xb8]
jmp 0x5baccb
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], eax
lea edi, [esp + 0x3c]
xor eax, eax
call fcn.0046754b
mov ecx, dword [esp + 0xb4]
mov dword [esp], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 4], edx
call fcn.005b9930
mov ecx, dword [esp + 8]
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0x50]
lea esi, [esp + 0x3c]
call fcn.00467a2e
lea ecx, [0x607f40]
mov dword [esp], ecx
lea edx, [esp + 0x50]
mov dword [esp + 4], edx
call fcn.004cc720
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0xb4]
mov dword [esp], edx
lea ebx, [0x5e0660]
mov dword [esp + 4], ebx
lea ebp, [esp + 0x3c]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.005ba620
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x5bb04b
lea edi, [esp + 0x64]
xor eax, eax
call fcn.0046754b
lea ecx, [esp + 0x3c]
mov dword [esp], ecx
lea edx, [esp + 0x64]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x14
call fcn.004034a0
movzx ecx, byte [esp + 0xc]
test cl, cl
jne 0x5bb016
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
add eax, ecx
mov ecx, dword [esp + 0xb4]
mov edx, dword [ecx + 0x28c]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x2c]
sub edx, ebp
cmp ebx, eax
jb 0x5badcc
cmp dword [esp + 0x4c], eax
jae 0x5badee
cmp ebx, eax
jbe 0x5badcc
mov edx, dword [esp + 0x4c]
mov ebx, eax
sub eax, edx
mov esi, eax
jmp 0x5badf2
mov edx, dword [esp + 0x4c]
cmp edx, eax
jbe 0x5badde
mov edx, eax
sub eax, ebx
mov ebx, edx
mov esi, eax
jmp 0x5badf2
mov esi, eax
sub eax, ebx
mov ebx, esi
sub esi, edx
cmp esi, eax
ja 0x5badf2
mov esi, eax
jmp 0x5badf2
mov ebx, eax
mov esi, edx
mov dword [esp + 0x38], ebx
movzx eax, byte [ecx + 0x295]
test al, al
je 0x5bae35
mov dword [esp], ecx
lea eax, [0x5e0660]
mov dword [esp + 4], eax
lea edx, [esp + 0x3c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
call fcn.005bd010
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
jmp 0x5bae67
mov dword [esp], ecx
lea eax, [0x5e0660]
mov dword [esp + 4], eax
lea edx, [esp + 0x3c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
call fcn.005bc6b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
test eax, eax
jne 0x5bb001
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0xb4]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x200
call fcn.005b9d80
mov eax, dword [esp + 0xc]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005b92e0
movzx eax, byte [esp + 8]
test al, al
je 0x5bacc7
lea edi, [esp + 0x84]
xor eax, eax
call fcn.00467545
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x98], ecx
lea edi, [esp + 0x9c]
lea esi, [esp + 0x3c]
call fcn.00467a2e
mov ecx, dword [esp + 0xb4]
mov edx, dword [ecx + 0xb4]
mov ebx, dword [ecx + 0xb0]
inc ebx
mov ebp, dword [ecx + 0xac]
cmp edx, ebx
jae 0x5bafa7
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6052e0]
mov dword [esp + 0x10], eax
call fcn.0044d830
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xb4]
mov dword [ebx + 0xb4], eax
mov eax, dword [0x7f7690]
test eax, eax
je 0x5baf96
call fcn.004672b0
mov dword [edi], ecx
mov ebp, dword [ebx + 0xac]
mov dword [edi + 4], ebp
mov dword [ebx + 0xac], ecx
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0xb4]
mov dword [ecx + 0xb0], ebx
mov edx, dword [0x7f7690]
imul ebx, ebx, 0x2c
lea edi, [ebx + ebp - 0x2c]
test edx, edx
je 0x5baff0
mov dword [esp + 0x80], edi
lea eax, [0x6052e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x84]
mov dword [esp + 8], eax
call fcn.00411290
mov ecx, dword [esp + 0xb4]
mov edi, dword [esp + 0x80]
lea esi, [esp + 0x84]
call fcn.004679f2
jmp 0x5bacc7
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
add esp, 0xb0
ret
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0xb0]
test ecx, ecx
je 0x5bb02e
mov byte [eax + 0x29c], 1
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
add esp, 0xb0
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
add esp, 0xb0
ret
call fcn.00465ea0
jmp fcn.005baca0