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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6c2999
sub esp, 0x70
mov eax, 0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x80]
test eax, eax
je 0x6c2897
mov ecx, dword [0xc5c9e8]
mov edx, dword [esp + 0x84]
cmp edx, ecx
je 0x6c2739
test edx, edx
jne 0x6c234f
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x70
ret
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004a3100
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x14]
mov edx, dword [esp + 0x84]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x88]
mov dword [esp + 8], ebx
mov dword [esp], ecx
call eax
movzx eax, byte [esp + 0xc]
test al, al
je 0x6c239f
mov eax, dword [esp + 0x80]
jmp 0x6c232e
mov eax, dword [esp + 0x80]
mov ecx, eax
and eax, 0x1f
cmp eax, 0x14
jne 0x6c272a
add eax, 0xffffffee
cmp eax, 1
ja 0x6c271a
test ecx, 0x200
je 0x6c26e5
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0049fcc0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x34], edx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004a3100
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x14]
mov edx, dword [esp + 0x84]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x88]
mov dword [esp + 8], ebx
mov dword [esp], ecx
call eax
movzx eax, byte [esp + 0xc]
test al, al
jne 0x6c26c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
mov ebx, eax
and eax, 0x1f
cmp eax, 0x16
je 0x6c25b0
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004a3100
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00499d20
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 0x14]
mov edx, dword [esp + 0x84]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x88]
mov dword [esp + 8], ebx
mov dword [esp], ecx
call eax
movzx eax, byte [esp + 0xc]
test al, al
je 0x6c25a7
mov eax, dword [esp + 0x18]
test eax, 0x100
jne 0x6c257e
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004a3100
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x84]
test edx, edx
je 0x6c24f9
mov edx, dword [edx + 4]
test eax, eax
je 0x6c2500
mov eax, dword [eax + 4]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x74]
mov dword [esp], eax
lea eax, [0x8aef6b]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x29
lea eax, [esp + 0x60]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.006bcdf0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
jmp 0x6c2336
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0049dd40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
jmp 0x6c2336
mov eax, dword [esp + 0x18]
jmp 0x6c24cb
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004a3100
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x28]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov eax, dword [eax + 0x14]
mov edx, dword [esp + 0x84]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x88]
mov dword [esp + 8], ebx
mov dword [esp], ecx
call eax
movzx eax, byte [esp + 0xc]
test al, al
jne 0x6c2610
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
jmp 0x6c2465
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 8], eax
call fcn.0049fcc0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x6c2336
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x84]
test ebx, ebx
je 0x6c265a
mov ebx, dword [ebx + 4]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x88]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
lea eax, [0x8ac548]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x25
lea eax, [esp + 0x44]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.006bcdf0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
jmp 0x6c2336
mov eax, dword [esp + 0x34]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x94], eax
add esp, 0x70
ret
test ecx, 0x80
je 0x6c2712
mov eax, dword [esp + 0x7c]
mov edx, dword [eax]
test edx, edx
setne dl
xor edx, 1
test dl, dl
je 0x6c23cc
mov eax, ecx
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
jmp 0x6c244b
mov eax, dword [esp + 0x7c]
mov edx, eax
jmp 0x6c26f3
mov eax, dword [esp + 0x7c]
mov ebx, dword [eax]
test ebx, ebx
setne dl
xor edx, 1
jmp 0x6c26fb
mov eax, ecx
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
jmp 0x6c244b
mov dword [esp], edx
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
mov ecx, dword [0xc5c9ec]
mov dword [esp + 8], ecx
call fcn.00402ea0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x6c2772
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
jmp 0x6c232a
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x80]
mov dword [esp + 8], edx
call fcn.004a3100
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x84]
cmp eax, edx
je 0x6c2860
mov eax, dword [esp + 0x78]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x5c], eax
lea eax, [0x895fc0]
mov dword [esp], eax
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
call fcn.00407360
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x6c2858
movzx edx, byte [0xc5cc40]
test dl, dl
je 0x6c2806
mov dword [0xc5cc44], ecx
mov edx, dword [0xc6f140]
test edx, edx
jne 0x6c284b
mov dword [0xc5cc48], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x6c2843
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x6c282a
or edx, 0x80
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edx
add esp, 0x70
ret
xor edx, edx
xor eax, eax
xor ecx, ecx
jmp 0x6c282a
lea edi, [0xc5cc48]
call fcn.0044c860
jmp 0x6c2806
xor ecx, ecx
xor edx, edx
xor eax, eax
jmp 0x6c282a
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x88]
mov dword [esp + 8], eax
call fcn.00402ea0
movzx eax, byte [esp + 0xc]
test al, al
je 0x6c27a8
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
jmp 0x6c232a
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x6c2974
mov dword [esp], ecx
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
call fcn.006c2250
movzx eax, byte [esp + 8]
test al, al
jne 0x6c2935
mov eax, dword [esp + 0x84]
test eax, eax
je 0x6c2931
mov ecx, dword [eax + 4]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x88]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
lea edx, [0x8a5430]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x1a
lea edx, [esp + 0x4c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.006bcdf0
mov eax, dword [esp + 0x80]
jmp 0x6c2315
mov ecx, eax
jmp 0x6c28d0
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
call fcn.004a4180
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x70
ret
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x70
ret
call fcn.0044b100
jmp fcn.006c22e0