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

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, ecx
test edi, edi
jne 0x6cfb23
mov ebp, 0x812938
mov eax, dword [ebp - 8]
mov ecx, dword [esi + 0xcd0]
cmp eax, ecx
jne 0x6cfa98
mov ecx, dword [esi + 0x774]
mov eax, dword [ebp]
push eax
mov ecx, dword [ecx + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0xac]
mov ecx, dword [esi + 0x774]
mov edi, eax
push edi
mov dword [esp + 0x1c], edi
mov ecx, dword [ecx + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x74]
mov ebx, eax
dec ebx
js 0x6cfa98
jmp 0x6cfa4d
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0x774]
push edi
push ebx
mov ecx, dword [eax + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x78]
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x10]
push eax
call fcn.0078d660
add esp, 8
test eax, eax
jne 0x6cfa86
mov eax, dword [esi + 0x774]
push edi
mov ecx, dword [eax + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x6c]
mov eax, dword [edi + 4]
dec eax
mov dword [edi + 4], eax
jne 0x6cfa95
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
dec ebx
jns 0x6cfa49
add ebp, 0xc
cmp ebp, 0x812998
jb 0x6cfa07
mov eax, dword [esi + 0xce8]
mov ebx, 1
test eax, eax
je 0x6cfaea
mov dword [eax + 0x18], 0
mov ecx, dword [esi + 0xce8]
mov byte [ecx + 0x40], bl
mov eax, dword [esi + 0xce8]
test eax, eax
je 0x6cfae0
lea ecx, [eax + 8]
mov eax, dword [eax + 0xc]
dec eax
mov dword [ecx + 4], eax
jne 0x6cfae0
mov edx, dword [ecx]
call dword [edx]
mov dword [esi + 0xce8], 0
mov ecx, esi
call fcn.0069eec0
test al, al
jne 0x6cfb1c
cmp dword [0x856518], ebx
jne 0x6cfb1c
mov eax, dword [esi + 0x994]
cmp eax, 0xe
jl 0x6cfb1c
cmp eax, 0x12
jg 0x6cfb1c
push 0
push 0
lea ecx, [esi + 0x990]
call fcn.0069af50
push 0
jmp 0x6cfc04
cmp edi, dword [esi + 0xcd0]
je 0x6cfc13
push 0
push 0
mov ecx, esi
call fcn.006cf9f0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xfc]
test al, al
mov ebx, 1
je 0x6cfb6b
cmp dword [0x856518], ebx
jne 0x6cfb6b
cmp edi, 6
je 0x6cfb6b
lea ecx, [edi + 0xd]
push 0
push ecx
lea ecx, [esi + 0x990]
call fcn.0069af50
mov ebp, 0x812934
jmp 0x6cfb76
mov edi, dword [esp + 0x14]
cmp dword [ebp - 4], edi
jne 0x6cfbb5
mov ecx, dword [0x830720]
mov eax, dword [ebp]
push eax
mov edx, dword [ecx]
call dword [edx + 0x14]
mov edi, eax
test edi, edi
je 0x6cfbb5
mov ecx, dword [esi + 0x774]
mov eax, dword [ebp + 4]
push eax
push edi
mov ecx, dword [ecx + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x80]
mov eax, dword [edi + 4]
dec eax
mov dword [edi + 4], eax
jne 0x6cfbb5
mov edx, dword [edi]
mov ecx, edi
call dword [edx]
add ebp, 0xc
cmp ebp, 0x812994
jb 0x6cfb72
cmp dword [esp + 0x14], 3
jne 0x6cfbff
call fcn.00724a80
test eax, eax
mov dword [esi + 0xce8], eax
je 0x6cfbff
mov dword [eax + 0x18], 0x3efae148
mov ecx, dword [esi + 0x774]
mov eax, dword [ecx]
call dword [eax + 0x74]
mov edi, dword [esi + 0xce8]
push ebx
push edi
lea ecx, [eax + 0x54]
call fcn.005ee320
cmp al, bl
jne 0x6cfbff
inc dword [edi + 0xc]
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esi + 0xcd8]
call fcn.00708af0
mov edi, dword [esp + 0x14]
push edi
mov dword [esi + 0xcd0], edi
call fcn.00687e90
fstp dword [esi + 0xcd4]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret 8