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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5bade2
sub esp, 0x68
lea eax, [0x7be2c0]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
lea eax, [0x7d4d1d]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 6
call fcn.0040e810
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov edx, dword [eax + 4]
mov eax, dword [eax]
test cl, cl
je 0x5bada7
mov dword [esp + 0x2c], edx
mov dword [esp + 0x54], eax
lea eax, [0x75fb20]
mov dword [esp], eax
call fcn.00409cb0
mov eax, dword [esp + 4]
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x5baa26
mov ebp, dword [esp + 0x48]
inc ebp
mov ebx, eax
mov eax, edx
mov edx, ecx
mov ecx, ebp
mov ebp, dword [esp + 0x2c]
cmp ecx, ebp
jge 0x5bad94
mov dword [esp + 0x48], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x54]
lea edx, [eax + ecx*8]
mov ebx, dword [edx + 4]
mov edx, dword [edx]
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.004c8fb0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x7d4160]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.004c7660
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp eax, 1
jne 0x5baaa5
mov edx, dword [ecx + 4]
test edx, edx
jne 0x5baaa5
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x64]
jmp 0x5baa19
mov dword [esp + 0x24], eax
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x64]
xor esi, esi
jmp 0x5baace
lea esi, [eax + 1]
mov edi, dword [esp + 0x24]
mov eax, edi
mov eax, ebx
mov ebx, edx
mov edx, eax
mov eax, edi
cmp esi, eax
jge 0x5bad89
jae 0x5baddb
mov dword [esp + 0x60], ebp
mov dword [esp + 0x30], esi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], edx
lea eax, [ecx + esi*8]
mov dword [esp + 0x5c], eax
mov edx, dword [eax + 4]
mov ebx, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.004c8fb0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
lea edx, [ecx + eax*8 + 4]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
mov dword [edx], ebx
mov edx, dword [0xadb480]
test edx, edx
jne 0x5bad75
mov edx, dword [esp + 0x5c]
mov dword [edx], ebp
test ebx, ebx
jne 0x5bab43
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x60]
jmp 0x5baabd
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x64], ebp
mov dword [esp], ebp
mov dword [esp + 4], ebx
lea eax, [0x7d4162]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.004c9650
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x5bad64
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
ja 0x5badd4
lea edx, [eax + 1]
cmp edx, ecx
ja 0x5badd4
sub ecx, edx
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and edx, ecx
mov ecx, dword [esp + 0x64]
add edx, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x28], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005bb5d0
movzx eax, byte [esp + 8]
test al, al
je 0x5bad4b
mov eax, dword [esp + 0x74]
test eax, eax
je 0x5bac12
mov ecx, dword [esp + 0x28]
cmp ecx, eax
je 0x5babeb
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x60]
jmp 0x5baabd
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004021f0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5bac12
mov eax, dword [esp + 0x74]
jmp 0x5babd2
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.005bb4f0
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test al, al
jne 0x5bac55
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x60]
jmp 0x5baabd
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x20], edx
lea eax, [0x7b8620]
mov dword [esp], eax
call fcn.00409cb0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x5bad39
mov ecx, dword [esp + 0x64]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x5bad24
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x44]
cmp edx, ebx
jg 0x5bace5
mov ebp, dword [esp + 0x60]
mov esi, dword [0xadb480]
lea edi, [ebp + ecx*4]
test esi, esi
jne 0x5bacde
mov dword [ebp + ecx*4], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
mov esi, edx
mov edx, ebx
mov ebx, esi
jmp 0x5baabd
call fcn.0044c870
jmp 0x5baccb
mov dword [esp + 0x58], eax
lea eax, [0x77ce40]
mov dword [esp], eax
mov ebp, dword [esp + 0x60]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00438b10
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x40]
jmp 0x5bacb9
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x4c]
call fcn.0044c870
mov eax, ecx
jmp 0x5baca6
mov edi, eax
mov eax, dword [esp + 0x64]
call fcn.0044c870
mov eax, edi
jmp 0x5bac8a
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x60]
jmp 0x5baabd
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x3c]
xor ebx, ebx
xor edx, edx
jmp 0x5bab9d
mov edi, dword [esp + 0x5c]
mov edx, eax
mov eax, ebp
call fcn.0044c870
mov eax, edx
jmp 0x5bab2e
mov eax, edx
mov ecx, ebx
mov edx, ebp
jmp 0x5baa19
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], edx
add esp, 0x68
ret
lea eax, [0x75fb20]
mov dword [esp], eax
call fcn.00409cb0
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x68
ret
call fcn.00426530
ud2
call fcn.00426430
ud2
call fcn.0044b110
jmp fcn.005ba9a0