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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x6afd18
sub esp, 0x90
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ecx + 0x20]
test edx, edx
je 0x6afd0d
nop
movzx ebx, byte [0xa75d80]
test bl, bl
je 0x6afadb
mov dword [0xa75d84], edx
mov ebx, dword [0xa8c6b0]
test ebx, ebx
jne 0x6afcfd
mov dword [0xa75d88], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x54]
test edx, edx
je 0x6afcf2
nop
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x6afb06
or ebx, 0x80
mov dword [esp + 0x3c], ebx
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.006af660
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test ebx, ebx
jne 0x6afceb
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], edx
lea ebx, [esp + 8]
mov dword [esp + 0x48], ebx
xor ebp, ebp
jmp 0x6afb5d
mov ebx, dword [esp + 0x40]
lea ebp, [ebx + 1]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x40], ebp
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00485dd0
mov eax, dword [esp + 0x40]
cmp dword [esp + 0xc], eax
jle 0x6afce7
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 8], edx
call fcn.00487e20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x2c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call eax
lea edi, [esp + 0x5c]
mov esi, dword [esp + 0x48]
call fcn.0045ca5e
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x7e4968]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 8
call fcn.0047d070
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x9c]
cmp eax, edx
jne 0x6afb4a
mov dword [esp], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00402950
movzx eax, byte [esp + 0xc]
test al, al
jne 0x6afc29
mov edx, dword [esp + 0x9c]
jmp 0x6afb4a
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0xc], ebx
call fcn.00483e30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x10], eax
call fcn.006aff80
mov eax, 1
test al, al
je 0x6afc94
mov eax, dword [esp + 0x3c]
and eax, 0x1f
cmp eax, 0x16
jne 0x6afc9b
add esp, 0x90
ret
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.00484870
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x94]
mov dword [edx + 0x1c], ecx
mov ecx, dword [0xa8c6b0]
test ecx, ecx
jne 0x6afcdd
mov dword [edx + 0x20], eax
jmp 0x6afc94
lea edi, [edx + 0x20]
call fcn.0045c330
jmp 0x6afc94
xor eax, eax
jmp 0x6afc84
add esp, 0x90
ret
xor ebx, ebx
xor edx, edx
xor eax, eax
jmp 0x6afb06
lea edi, [0xa75d88]
call fcn.0045c330
jmp 0x6afadb
xor ebx, ebx
xor edx, edx
xor eax, eax
jmp 0x6afb06
call fcn.0045ade0
jmp fcn.006afa80