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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6ac8f9
sub esp, 0x7c
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x10], eax
call fcn.004b9be0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x5c], ecx
mov dword [esp], 0
call fcn.00405940
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test al, al
je 0x6ac8de
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x60], edx
mov eax, 1
jmp 0x6ac653
mov ebx, dword [esp + 0x40]
lea eax, [ebx + 1]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x60]
cmp eax, 0x20
jge 0x6ac8d1
mov dword [esp + 0x40], eax
mov dword [esp], eax
call fcn.00405940
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
movzx edx, byte [esp + 0x14]
mov ebx, dword [esp + 8]
test dl, dl
je 0x6ac8c4
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x54], ebx
mov edx, dword [esp + 0x4c]
cmp eax, edx
jne 0x6ac6b2
mov dword [esp], ebx
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0044d600
movzx eax, byte [esp + 0xc]
test al, al
jne 0x6ac644
lea eax, [0x7b5d4c]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.004904d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
jg 0x6ac82c
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x50], edx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea edx, [0x744080]
mov dword [esp], edx
lea edx, [esp + 0x50]
mov dword [esp + 4], edx
call fcn.0040c0a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [0x7b51fa]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004b9be0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], 0
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
lea edx, [0x7b5539]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 3
mov edx, dword [esp + 0x58]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x18], edx
lea edx, [0x7b51ad]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
call fcn.0043cc50
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea eax, [0x744900]
mov dword [esp], eax
lea eax, [esp + 0x64]
mov dword [esp + 4], eax
call fcn.0040c190
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
lea eax, [0x7b51fe]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.006ac390
add esp, 0x7c
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005029d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test edx, edx
je 0x6ac855
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x54]
jmp 0x6ac6e0
mov edx, dword [esp + 0x34]
cmp edx, ecx
jge 0x6ac89d
xor eax, eax
test al, al
je 0x6ac895
cmp ecx, edx
ja 0x6ac8f2
sub edx, ecx
mov eax, edx
neg edx
sar edx, 0x1f
and edx, ecx
mov ecx, dword [esp + 0x54]
add ecx, edx
cmp eax, 1
jb 0x6ac8eb
dec eax
mov edx, eax
neg eax
sar eax, 0x1f
and eax, 1
add ecx, eax
mov eax, edx
jmp 0x6ac6e0
mov ecx, dword [esp + 0x54]
mov eax, edx
jmp 0x6ac87c
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044d600
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
jmp 0x6ac85f
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x48]
jmp 0x6ac7bc
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x48]
jmp 0x6ac7bc
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x5c]
jmp 0x6ac7bc
call fcn.004269c0
ud2
call fcn.004269c0
ud2
call fcn.0044be50
jmp fcn.006ac5b0