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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6afeb8
sub esp, 0x68
lea eax, [0x76be60]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 8], ecx
call fcn.00409810
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x6aface
mov ebx, dword [esp + 0x6c]
mov dword [ebx], edx
mov edx, dword [0xaab020]
test edx, edx
jne 0x6afabf
mov dword [ebx + 4], ecx
jmp 0x6afbd6
lea edi, [ebx + 4]
mov eax, ecx
call fcn.004643b0
jmp 0x6afbd6
nop
mov ecx, dword [esp + 0x70]
lea edx, [0x843f94]
cmp ecx, edx
jne 0x6afae3
mov eax, dword [esp + 0x74]
jmp 0x6afae8
mov eax, 0
jne 0x6afaf7
cmp dword [eax + 4], 0x1000
jge 0x6afbb1
lea eax, [0x794f60]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [esp + 0x24], eax
lea ecx, [0x758ec0]
mov dword [esp], ecx
mov dword [esp + 4], 0x1000
mov dword [esp + 8], 0x1000
call fcn.0044b030
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
lea edi, [esp + 0x3c]
xor eax, eax
call fcn.00464655
mov eax, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0x1000
mov dword [esp + 0x44], 0x1000
mov eax, dword [esp + 0x70]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x64], 0xffffffff
mov eax, dword [0xaab020]
test eax, eax
jne 0x6afb8f
mov edi, dword [esp + 0x24]
lea esi, [esp + 0x3c]
call fcn.00464b02
jmp 0x6afbad
lea eax, [0x794f60]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
lea ecx, [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.00411480
mov eax, dword [esp + 0x24]
lea ecx, [0x844ad8]
mov edx, dword [esp + 0x6c]
mov dword [edx], ecx
mov ecx, dword [0xaab020]
test ecx, ecx
jne 0x6afbcc
mov dword [edx + 4], eax
jmp 0x6afbd4
lea edi, [edx + 4]
call fcn.004643b0
mov ebx, edx
mov dword [ebx + 0x18], 0xffffffff
mov dword [esp], ebx
call fcn.006afed0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x6afc15
movzx eax, byte [esp + 0x78]
test al, al
je 0x6afc24
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x68
ret
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
lea ebx, [0x7678a0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00409700
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
movzx edx, byte [esp + 4]
mov ebx, dword [esp + 8]
mov ebp, dword [0xa84a9c]
mov esi, dword [esp + 0xc]
cmp dword [0xa84a98], ebx
jne 0x6afcbb
mov byte [esp + 0x1f], dl
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], eax
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.00403870
movzx eax, byte [esp + 0xc]
test al, al
je 0x6afcae
mov eax, dword [0xa84ac0]
mov ecx, dword [0xa84ac4]
movzx edx, byte [esp + 0x1f]
jmp 0x6afcbb
movzx edx, byte [esp + 0x1f]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
test eax, eax
jne 0x6afe56
cmp dl, 0x21
je 0x6afd18
cmp dl, 0x2c
jne 0x6afd6c
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
movzx ecx, byte [esp + 0x79]
mov byte [esp + 4], cl
call fcn.006b0b50
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x6afd5d
movzx eax, byte [esp + 0x79]
test al, al
je 0x6afd08
mov ecx, dword [esp + 0x6c]
jmp 0x6afc24
mov ecx, dword [esp + 0x6c]
cmp dword [ecx + 0x50], 1
jne 0x6afc24
jmp 0x6afd46
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.006b03d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x6afe47
movzx eax, byte [esp + 0x79]
mov ecx, dword [esp + 0x6c]
jmp 0x6afc24
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x68
ret
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
add esp, 0x68
ret
cmp dl, 0x3b
jne 0x6afdd8
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0x50]
test eax, eax
jne 0x6afdc1
lea eax, [0x7c2c2d]
mov dword [esp], eax
mov dword [esp + 4], 0x17
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004d7070
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x68
ret
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x68
ret
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
lea eax, [0x758ec0]
mov dword [esp + 0x34], eax
movzx eax, dl
lea ecx, [0xa5c900]
lea eax, [ecx + eax*8]
mov dword [esp + 0x38], eax
lea eax, [0x7c9a0d]
mov dword [esp], eax
mov dword [esp + 4], 0x1f
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004d7070
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x68
ret
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
add esp, 0x68
ret
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
je 0x6afe6b
mov eax, dword [eax + 4]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
lea eax, [0x7c2c44]
mov dword [esp], eax
mov dword [esp + 4], 0x17
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004d7070
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x68
ret
call fcn.00462fa0
jmp fcn.006afa60