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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x5bada3
sub esp, 0xb0
lea eax, [0x63c700]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00405a60
mov eax, dword [esp + 0xb4]
test byte [eax], al
mov ecx, dword [0x7e34e0]
mov edx, dword [esp + 8]
test ecx, ecx
jne 0x5bad77
mov dword [eax + 0x4c], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp], 0xc
lea ebx, [0x6927c0]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.0043bb40
mov dword [esp], 0xbebc200
mov dword [esp + 4], 0
call fcn.0049d780
mov eax, dword [esp + 8]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0xb4]
mov edx, dword [ecx + 0x4c]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov byte [esp + 0x7c], 0
mov ebx, dword [eax]
lea edi, [esp + 0x80]
xor eax, eax
call fcn.0045cbb4
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov word [esp + 0x88], 1
mov dword [esp + 0x80], edx
lea eax, [esp + 0x70]
mov dword [esp + 0x84], eax
mov word [esp + 0xa0], 1
mov dword [esp + 0x98], ebx
lea eax, [esp + 0x80]
mov dword [esp], eax
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call fcn.00440f30
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5bac8e
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x78]
movzx ebx, byte [esp + 0x7c]
nop
mov ebp, dword [esp + 0x28]
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x5bad8a
mov dword [esp + 0x34], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov byte [esp + 0x17], bl
lea eax, [ebp + 4]
mov dword [esp], eax
call fcn.0045ab90
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x5bac83
mov ecx, dword [esp + 0x1c]
cmp dword [0x7ccd90], ecx
je 0x5bac57
xor edx, edx
test dl, dl
je 0x5ba9b5
mov ecx, dword [esp + 0xb4]
mov dword [ecx + 8], 0
mov edx, dword [0x7e34e0]
test edx, edx
jne 0x5ba9a9
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
add esp, 0xb0
ret
lea edi, [ecx + 0xc]
xor eax, eax
call fcn.0045c920
jmp 0x5ba994
cmp eax, 1
jne 0x5babef
test ecx, ecx
je 0x5baaf7
lea eax, [0x6537c0]
mov dword [esp], eax
call fcn.0040c800
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
movzx ecx, byte [esp + 0x17]
mov byte [eax], cl
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x3c], ecx
lea ecx, [0x6cb5d0]
mov dword [esp], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 4], ecx
call fcn.0040a0f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea edx, [0x6caf70]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
lea eax, [0x64a840]
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 2
lea eax, [esp + 0x60]
mov dword [esp + 0xc], eax
call fcn.00443fe0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
lea ecx, [0x64d3e0]
mov dword [esp], ecx
call fcn.0040c800
mov eax, dword [esp + 4]
mov dword [eax + 4], 2
mov dword [eax + 8], 2
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x5baae8
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
lea ecx, [0x6cae50]
mov edx, dword [esp + 0xb4]
mov dword [edx + 8], ecx
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x5baadb
mov dword [edx + 0xc], eax
jmp 0x5ba9a2
lea edi, [edx + 0xc]
call fcn.0045c920
jmp 0x5ba9a2
mov edi, eax
mov eax, dword [esp + 0x2c]
call fcn.0045c920
mov eax, edi
jmp 0x5baab9
lea eax, [0x6537c0]
mov dword [esp], eax
call fcn.0040c800
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0x17]
mov byte [eax], cl
mov ecx, dword [esp + 0xb4]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea ebp, [0x6caf70]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebx
lea eax, [0x64a840]
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 2
lea eax, [esp + 0x50]
mov dword [esp + 0xc], eax
call fcn.00443fe0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
lea ecx, [0x64d3e0]
mov dword [esp], ecx
call fcn.0040c800
mov eax, dword [esp + 4]
mov dword [eax + 4], 2
mov dword [eax + 8], 2
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x5babe0
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
lea ecx, [0x6cae50]
mov edx, dword [esp + 0xb4]
mov dword [edx + 8], ecx
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x5babd3
mov dword [edx + 0xc], eax
jmp 0x5ba9a2
lea edi, [edx + 0xc]
call fcn.0045c920
jmp 0x5ba9a2
mov edi, eax
mov eax, dword [esp + 0x2c]
call fcn.0045c920
mov eax, edi
jmp 0x5babb1
test ecx, ecx
je 0x5ba9a2
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
lea eax, [0x6cb5d0]
mov dword [esp], eax
lea eax, [esp + 0x38]
mov dword [esp + 4], eax
call fcn.0040a0f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xb4]
mov dword [edx + 8], ecx
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x5bac4d
mov dword [edx + 0xc], eax
jmp 0x5ba9a2
lea edi, [edx + 0xc]
call fcn.0045c920
jmp 0x5bac48
mov dword [esp], ecx
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov edx, dword [0x7ccd94]
mov dword [esp + 8], edx
call fcn.00404120
movzx edx, byte [esp + 0xc]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
jmp 0x5ba971
mov ecx, dword [esp + 0x1c]
xor edx, edx
jmp 0x5ba971
cmp eax, 1
jne 0x5bad8a
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
lea ebx, [0x6cb5f0]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
lea ecx, [0x64a840]
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
lea ecx, [esp + 0x40]
mov dword [esp + 0xc], ecx
call fcn.00443fe0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
lea ecx, [0x64d3e0]
mov dword [esp], ecx
call fcn.0040c800
mov eax, dword [esp + 4]
mov dword [eax + 4], 2
mov dword [eax + 8], 2
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x5bad68
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
lea ecx, [0x6cae50]
mov edx, dword [esp + 0xb4]
mov dword [edx + 8], ecx
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x5bad5e
mov dword [edx + 0xc], eax
mov byte [edx + 0x48], 1
jmp 0x5ba9a2
lea edi, [edx + 0xc]
call fcn.0045c920
jmp 0x5bad55
mov edi, eax
mov eax, dword [esp + 0x2c]
call fcn.0045c920
mov eax, edi
jmp 0x5bad38
lea edi, [eax + 0x4c]
mov ecx, eax
mov eax, edx
call fcn.0045c920
mov eax, ecx
jmp 0x5ba834
lea eax, [0x643700]
mov dword [esp], eax
lea eax, [0x6c7f98]
mov dword [esp + 4], eax
call fcn.00431bb0
nop
call fcn.0045b380
jmp fcn.005ba7e0