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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x6af9e0
sub esp, 0x8c
lea eax, [0x7fd9e0]
mov dword [esp], eax
call fcn.0040ac80
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx + 0x30]
test edx, edx
je 0x6af9c1
mov edx, dword [edx]
mov dword [esp + 0x38], edx
lea eax, [0x7cfd20]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], edx
call fcn.00443a00
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x64], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea eax, [0x6ba6f0]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x90]
mov dword [esp], eax
lea eax, [esp + 0x68]
mov dword [esp + 4], eax
call fcn.006ad570
mov eax, dword [esp + 0x60]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x58], ecx
xor edx, edx
jmp 0x6af8d2
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x28]
add eax, 2
mov dword [esp], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 4], eax
sub ebx, ebp
mov ecx, ebx
neg ebx
sar ebx, 0x1f
and ebx, ebp
mov edx, dword [esp + 0x40]
add ebx, edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.006af240
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x40]
mov dword [esp], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 4], edx
call fcn.004084f0
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.004084f0
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.004084f0
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
lea edi, [esp + 0x74]
xor eax, eax
call fcn.0045a03a
lea eax, [0x7cfd20]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x88], ecx
lea ecx, [0x98a290]
mov dword [esp], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 4], edx
lea ebx, [esp + 0x74]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.004d4520
mov eax, dword [esp + 0x34]
lea edx, [eax + 1]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x58]
cmp edx, eax
jge 0x6af955
mov dword [esp + 0x34], edx
lea eax, [ecx + edx*8]
mov ebx, dword [eax]
mov dword [esp + 0x40], ebx
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
mov dword [esp], ebx
mov dword [esp + 4], eax
lea ebp, [0x83f3be]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
call fcn.004efdd0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
lea ecx, str._______._0456:_____BCFLMNOPSUZ___n_r_t
mov dword [esp], ecx
mov dword [esp + 4], 1
mov edx, dword [esp + 0x28]
sub edx, eax
mov dword [esp + 8], edx
call fcn.004ee700
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
cmp edx, ebx
ja 0x6af9d6
lea ebp, [edx + 1]
cmp ebp, ebx
jbe 0x6af7b8
jmp 0x6af9cd
mov edx, dword [esp + 0x44]
test edx, edx
je 0x6af9b4
mov ecx, dword [edx + 4]
mov ebx, dword [edx]
mov ebp, dword [edx + 8]
mov eax, dword [edx + 0xc]
cmp eax, ecx
ja 0x6af9c8
mov dword [esp], 0
sub ebp, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
add ebx, ebp
mov dword [esp + 4], ebx
sub ecx, eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.004470b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
add esp, 0x8c
ret
mov ecx, 5
lea eax, [0x83fc0c]
jmp 0x6af99f
xor edx, edx
jmp 0x6af71a
call fcn.00459e70
mov eax, ebp
mov ecx, ebx
call fcn.00459e70
mov ecx, edx
mov edx, ebx
call fcn.00459e30
nop
call fcn.00458550
jmp fcn.006af6d0