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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [0x6c3258]
call fcn.0040bf20
xor eax, eax
push ebp
push 0x6cacfe
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, byte [ebx + 4]
dec eax
sub al, 2
jb 0x6caa0a
mov ecx, dword [0x6fb1d0]
mov dl, 1
mov eax, dword [0x6c3478]
call fcn.0042ff4c
call fcn.0040a4d4
mov edx, esi
mov eax, ebx
call fcn.006c9478
mov eax, dword [ebp + 0xc]
mov word [eax], 0
mov eax, dword [ebp + 0xc]
add eax, 0x32
mov edx, dword [0x404c3c]
call fcn.0040dfc0
mov eax, dword [ebp + 0xc]
mov word [eax + 0x1c], 0
mov eax, dword [ebp + 0xc]
mov word [eax + 0x1e], 0
mov eax, dword [ebp + 0xc]
mov word [eax + 0x20], 0
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [eax + 0x22], edx
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [eax + 0x26], edx
lea eax, [esi + esi*2]
lea eax, [eax + eax*8]
mov edx, dword [ebx + 0x20]
lea eax, [edx + eax*2]
call fcn.006c8318
add eax, dword [ebx + 0x10]
adc edx, dword [ebx + 0x14]
push edx
push eax
mov eax, dword [ebx + 8]
call fcn.004b9a64
lea edx, [ebp - 0xc]
mov eax, dword [ebx + 8]
mov ecx, 4
call fcn.006c71c8
mov eax, dword [ebp - 0xc]
cmp eax, dword [0x6f7c74]
je 0x6caaaa
mov ecx, dword [0x6fbed0]
mov dl, 1
mov eax, dword [0x6c3478]
call fcn.0042ff4c
call fcn.0040a4d4
mov edx, dword [ebp + 0xc]
add edx, 2
mov eax, dword [ebx + 8]
mov ecx, 0x1a
call fcn.006c71c8
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 0x18]
push eax
mov eax, dword [ebp + 0xc]
add eax, 0x2a
mov ecx, 1
mov edx, dword [0x404c3c]
call fcn.0040de9c
add esp, 4
mov ecx, dword [ebp + 0xc]
movzx ecx, word [ecx + 0x18]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x2a]
mov eax, dword [ebx + 8]
call fcn.006c7118
mov edi, dword [ebp + 0xc]
movzx edi, word [edi + 0x1a]
test di, di
jbe 0x6cab31
movzx eax, di
push eax
mov eax, dword [ebp + 0xc]
add eax, 0x2e
mov ecx, 1
mov edx, dword [0x404c3c]
call fcn.0040de9c
add esp, 4
mov ecx, dword [ebp + 0xc]
movzx ecx, word [ecx + 0x1a]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x2e]
mov eax, dword [ebx + 8]
call fcn.006c7118
mov eax, dword [ebp + 0xc]
xor edx, edx
call fcn.006c847c
mov byte [ebp - 0xe], al
cmp word [0x7032f2], 0
je 0x6cab67
mov eax, dword [ebp + 0xc]
push eax
movzx eax, byte [ebp - 0xe]
push eax
mov edx, dword [ebx + 8]
mov ecx, ebx
mov eax, dword [0x7032f4]
call dword [0x7032f0]
mov dword [ebp - 0x14], eax
jmp 0x6cabdf
cmp dword [0x7032f8], 0
je 0x6cab8d
mov eax, dword [ebp + 0xc]
push eax
movzx eax, byte [ebp - 0xe]
push eax
mov edx, dword [ebx + 8]
mov ecx, ebx
mov eax, dword [0x7032f8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov dword [ebp - 0x14], eax
jmp 0x6cabdf
cmp byte [ebp - 0xe], 0
je 0x6cabd9
cmp dword [ebx + 0x74], 0
je 0x6cabd9
cmp dword [ebx + 0x78], 0
jne 0x6cabb6
mov ecx, dword [0x6fb06c]
mov dl, 1
mov eax, dword [0x6c3478]
call fcn.0042ff4c
call fcn.0040a4d4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebx + 0x78]
push eax
mov eax, dword [ebx + 0x74]
push eax
mov ecx, dword [ebx + 8]
mov dl, 1
mov eax, dword [0x6c7960]
call fcn.006cbda4
mov dword [ebp - 0x14], eax
jmp 0x6cabdf
mov eax, dword [ebx + 8]
mov dword [ebp - 0x14], eax
lea edi, [esi + esi*2]
lea edi, [edi + edi*8]
mov eax, dword [ebx + 0x20]
movzx eax, byte [eax + edi*2 + 6]
mov byte [ebp - 0xd], al
movzx edx, byte [ebp - 0xd]
mov eax, ebx
call fcn.006c9374
movzx edx, byte [ebp - 0xd]
lea ecx, [ebp - 0x1c]
mov eax, dword [0x7032e8]
call fcn.006cc9bc
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
call fcn.0040fc30
mov eax, dword [ebp + 0xc]
mov edx, 3
call fcn.006c847c
test al, al
je 0x6cac4f
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + edi*2 + 0xc]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + edi*2 + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x10], eax
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + edi*2 + 0x14]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x14], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, ebx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [0x537b6c]
call fcn.004092fc
test al, al
je 0x6cacb0
lea eax, [ebx + 0x3c]
mov edx, dword [ebp + 0xc]
mov ecx, dword [0x6c3258]
call fcn.0040cab0
lea ecx, [ebp - 0x20]
mov edx, esi
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 4]
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x38]
call fcn.0040b1dc
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x18], 0x6c9d58
cmp byte [ebp + 8], 0
je 0x6cacd0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x6c7ddc]
call fcn.006cc224
mov edx, dword [ebp - 8]
mov dword [edx], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6cad05
lea eax, [ebp - 0x20]
call fcn.0040adec
lea eax, [ebp - 0x1c]
mov edx, dword [0x6c479c]
call fcn.0040c30c
lea eax, [ebp - 4]
call fcn.0040fc18
pop eax
jmp eax