Function at 0x6afe50
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 0x6b04f1
sub esp, 0x90
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [esp + 0x94]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.006ad4c0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x94]
mov ebx, dword [edx + 0x30]
lea ebp, [0x7d5ee0]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.0040fd80
movzx eax, byte [esp + 0x14]
test al, al
jne 0x6b02c4
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx + 0x30]
test edx, edx
je 0x6b028e
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x98]
mov dword [edi + 4], edx
mov ebx, dword [0xc83da0]
test ebx, ebx
jne 0x6b0280
mov eax, dword [esp + 0x48]
mov dword [edi], eax
mov ebx, dword [ecx + 0x30]
lea ebp, [0x7d5ee0]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.00410110
mov edi, dword [esp + 0x10]
test byte [edi], al
mov eax, dword [0xc83da0]
test eax, eax
jne 0x6b026f
mov eax, dword [esp + 0x98]
mov dword [edi], eax
mov edx, dword [esp + 0x94]
mov ebx, dword [edx + 0x38]
lea ebp, [ebx + 1]
mov esi, dword [edx + 0x34]
mov ecx, edx
mov edx, dword [edx + 0x3c]
cmp ebp, edx
ja 0x6b020d
lea edx, [ebx + 1]
mov dword [ecx + 0x38], edx
lea edi, [esi + ebx*4]
mov edx, dword [0xc83da0]
test edx, edx
jne 0x6b0203
mov dword [esi + ebx*4], eax
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
test ebx, ebx
jne 0x6aff8a
add esp, 0x90
ret
cmp ebx, 1
jg 0x6b0179
mov edx, dword [ecx + 0x4c]
test edx, edx
je 0x6b013c
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 8]
test edx, edx
jbe 0x6b03f5
movzx eax, byte [ebx]
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], al
mov edx, dword [ecx + 0x4c]
lea ebx, [0x7d7420]
mov dword [esp], ebx
mov dword [esp + 4], edx
lea edx, [esp + 0x2b]
mov dword [esp + 8], edx
call fcn.0040bdc0
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x10]
mov eax, dword [eax]
test cl, cl
jne 0x6b003e
movzx eax, byte [esp + 0x2a]
mov byte [esp + 0x2b], al
mov eax, dword [esp + 0x94]
mov eax, dword [eax + 0x4c]
lea ecx, [0x7d7420]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x2b]
mov dword [esp + 8], eax
call fcn.0040c1a0
mov edi, dword [esp + 0xc]
test byte [edi], al
mov eax, dword [0xc83da0]
test eax, eax
jne 0x6b0030
mov eax, dword [esp + 0x98]
mov dword [edi], eax
add esp, 0x90
ret
mov eax, dword [esp + 0x98]
call fcn.00459d90
jmp 0x6b0029
mov dword [esp + 0x44], eax
movzx eax, byte [esp + 0x2a]
mov byte [esp + 0x2b], al
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004084f0
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004084f0
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
lea edi, [esp + 0x78]
xor eax, eax
call fcn.0045a03a
movzx eax, byte [esp + 0x2b]
lea ecx, [0x7cffa0]
mov dword [esp + 0x78], ecx
lea ecx, [0xc28c40]
add eax, ecx
mov dword [esp + 0x7c], eax
lea eax, [0x7cfd20]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x8c], ecx
lea ecx, [0x85a70a]
mov dword [esp], ecx
mov dword [esp + 4], 0x4c
lea ecx, [esp + 0x78]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.004d4310
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x94]
mov ebx, dword [edx + 0x68]
mov edx, dword [edx + 0x64]
test edx, edx
je 0x6b012b
mov ebp, edx
mov edx, ebx
mov ebx, ebp
jmp 0x6b0397
mov edx, dword [0xc704d8]
lea ebx, [0x98ad90]
jmp 0x6b0397
call fcn.0040b7c0
mov eax, dword [0xc83da0]
mov ecx, dword [esp]
test eax, eax
jne 0x6b0166
mov edx, dword [esp + 0x94]
mov dword [edx + 0x4c], ecx
mov eax, dword [esp + 0x98]
mov ecx, edx
jmp 0x6aff9e
mov edx, dword [esp + 0x94]
lea edi, [edx + 0x4c]
mov eax, ecx
call fcn.00459d90
jmp 0x6b0158
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.004084f0
mov eax, dword [esp + 8]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea ecx, [0x7cfd20]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [0x85406c]
mov dword [esp], eax
mov dword [esp + 4], 0x2d
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004d4310
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x94]
mov ebx, dword [edx + 0x64]
mov edx, dword [edx + 0x68]
test ebx, ebx
jne 0x6b03fe
mov edx, dword [0xc704d8]
lea ebx, [0x98ad90]
jmp 0x6b03fe
call fcn.00459d90
jmp 0x6aff79
lea eax, [0x7dcc00]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.00443b60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x94]
mov dword [ebx + 0x3c], edx
mov edx, dword [0xc83da0]
test edx, edx
jne 0x6b0265
mov dword [ebx + 0x34], eax
mov ebx, ecx
mov esi, eax
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
jmp 0x6aff5f
lea edi, [ebx + 0x34]
call fcn.00459d90
jmp 0x6b024e
mov eax, dword [esp + 0x98]
call fcn.00459d90
jmp 0x6aff42
mov eax, dword [esp + 0x48]
call fcn.00459d90
jmp 0x6aff08
call fcn.0040b7c0
mov eax, dword [0xc83da0]
mov ecx, dword [esp]
test eax, eax
jne 0x6b02b1
mov edx, dword [esp + 0x94]
mov dword [edx + 0x30], ecx
mov ecx, edx
jmp 0x6afee6
mov edx, dword [esp + 0x94]
lea edi, [edx + 0x30]
mov eax, ecx
call fcn.00459d90
jmp 0x6b02aa
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004084f0
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004084f0
mov eax, dword [esp + 8]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x7cfd20]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
lea eax, [0x846799]
mov dword [esp], eax
mov dword [esp + 4], 0x15
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004d4310
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x94]
mov ebx, dword [edx + 0x64]
mov edx, dword [edx + 0x68]
test ebx, ebx
jne 0x6b045c
mov edx, dword [0xc704d8]
lea ebx, [0x98ad90]
jmp 0x6b045c
mov dword [esp + 0x38], eax
mov dword [esp + 0x54], ecx
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.004d4240
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call fcn.004084f0
mov eax, dword [esp + 8]
lea ecx, [0x7cfd20]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00430830
xor eax, eax
mov ecx, edx
call fcn.00459e10
mov dword [esp + 0x3c], eax
mov dword [esp + 0x50], ecx
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.004d4240
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.004084f0
mov eax, dword [esp + 8]
lea ecx, [0x7cfd20]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00430830
mov dword [esp + 0x40], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004084f0
mov eax, dword [esp + 8]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea ecx, [0x7cfd20]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004d4520
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.004084f0
mov eax, dword [esp + 8]
lea ecx, [0x7cfd20]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00430830
nop
call fcn.00458550
jmp fcn.006afe50