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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x6c2059
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6c172e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x6c1701
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x25], 0
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x78], 0
je 0x6c2184
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x78]
add eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x18]
dec eax
test eax, eax
jl 0x6c2184
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x20]
add eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov eax, dword [eax + edx*4]
add eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x20]
mov ecx, 0
call fcn.0040af34
mov eax, dword [ebp - 0x30]
call fcn.006c1edc
cmp eax, dword [ebp - 8]
jne 0x6c2178
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
movzx eax, word [eax + edx*2]
mov dword [ebp - 0x24], eax
cmp byte [ebp - 9], 0
je 0x6c2161
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x1c]
add eax, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov eax, dword [eax + edx*4]
add eax, dword [ebp - 4]
cmp word [eax], 0xff8b
jne 0x6c2161
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x1c]
add eax, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov eax, dword [eax + edx*4]
add eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 0x10], eax
jmp 0x6c2184
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x1c]
add eax, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov eax, dword [eax + edx*4]
add eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
jmp 0x6c2184
inc dword [ebp - 0x1c]
dec dword [ebp - 0x2c]
jne 0x6c20e3
cmp dword [ebp - 0x10], 0
jne 0x6c22f7
mov eax, dword [ebp - 4]
cmp eax, dword [0x7b8750]
jne 0x6c22f7
cmp byte [ebp - 0x25], 0
jne 0x6c22f7
mov byte [ebp - 0x25], 1
cmp dword [0x7b8784], 0xd
jne 0x6c22e1
lea eax, [ebp - 0x38]
mov edx, dword [0x7bd5ec]
mov dx, word [edx]
call fcn.0040b650
push dword [ebp - 0x38]
lea eax, [ebp - 0x3c]
mov edx, dword [0x7bd2b0]
mov dx, word [edx]
call fcn.0040b650
push dword [ebp - 0x3c]
lea eax, [ebp - 0x40]
mov edx, dword [0x7bd2fc]
mov dx, word [edx]
call fcn.0040b650
push dword [ebp - 0x40]
lea eax, [ebp - 0x44]
mov edx, dword [0x7bd51c]
mov dx, word [edx]
call fcn.0040b650
push dword [ebp - 0x44]
lea eax, [ebp - 0x48]
mov edx, dword [0x7bd2b0]
mov dx, word [edx]
call fcn.0040b650
push dword [ebp - 0x48]
lea eax, [ebp - 0x4c]
mov edx, dword [0x7bd40c]
mov dx, word [edx]
call fcn.0040b650
push dword [ebp - 0x4c]
lea eax, [ebp - 0x50]
mov edx, dword [0x7bd478]
mov dx, word [edx]
call fcn.0040b650
push dword [ebp - 0x50]
lea eax, [ebp - 0x54]
mov edx, dword [0x7bd498]
mov dx, word [edx]
call fcn.0040b650
push dword [ebp - 0x54]
lea eax, [ebp - 0x58]
mov edx, dword [0x7bd664]
mov dx, word [edx]
call fcn.0040b650
push dword [ebp - 0x58]
lea eax, [ebp - 0x5c]
mov edx, dword [0x7bd2b0]
mov dx, word [edx]
call fcn.0040b650
push dword [ebp - 0x5c]
push 0x6c174c
lea eax, [ebp - 0x60]
mov edx, dword [0x7bd584]
mov dx, word [edx]
call fcn.0040b650
push dword [ebp - 0x60]
lea eax, [ebp - 0x64]
mov edx, dword [0x7bd40c]
mov dx, word [edx]
call fcn.0040b650
push dword [ebp - 0x64]
lea eax, [ebp - 0x68]
mov edx, dword [0x7bd40c]
mov dx, word [edx]
call fcn.0040b650
push dword [ebp - 0x68]
lea eax, [ebp - 0x34]
mov edx, 0xe
call fcn.0040b904
mov eax, dword [ebp - 0x34]
call fcn.0040b628
push eax
call fcn.00412d64
mov dword [0x7b8784], eax
cmp dword [0x7b8784], 0xd
jbe 0x6c22f7
mov eax, dword [0x7b8784]
mov dword [ebp - 4], eax
jmp 0x6c2090
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6c230b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c1735
lea eax, [ebp - 0x68]
mov edx, 0xe
call fcn.0040a86c
lea eax, [ebp - 0x30]
call fcn.0040a830
ret