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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
sub eax, edx
sar eax, 2
mov ebx, esi
imul eax, eax, 0xeeeeeeef
sub ebx, edx
test eax, eax
je 0x6c84b3
lea edx, [eax + eax]
cmp eax, edx
mov dword [ebp - 0x24], edx
jbe 0x6c84d0
mov dword [ebp - 0x24], 0xfffffff0
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.006ff530
mov dword [ebp - 0x28], eax
add ebx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ebx
je 0x6c82fa
mov eax, dword [ebp + 0x14]
mov ecx, ebx
mov eax, dword [eax]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0045d2c0
sub esp, 0xc
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
cmp edi, dword [ebp + 8]
je 0x6c84f0
mov ebx, dword [ebp - 0x28]
jmp 0x6c8312
mov ebx, eax
test ebx, ebx
je 0x6c837d
mov eax, dword [edi]
lea ecx, [ebx + 8]
mov dword [ebx], eax
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
lea eax, [edi + 8]
mov dword [esp], eax
call fcn.0041f8d0
lea eax, [edi + 0x10]
sub esp, 4
lea ecx, [ebx + 0x10]
mov dword [esp], eax
call fcn.0041f8d0
lea eax, [edi + 0x18]
sub esp, 4
lea ecx, [ebx + 0x18]
mov dword [esp], eax
call fcn.0041f8d0
mov eax, dword [edi + 0x20]
sub esp, 4
mov dword [ebx + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [ebx + 0x2c], eax
mov eax, dword [edi + 0x30]
mov dword [ebx + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [ebx + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [ebx + 0x38], eax
add edi, 0x3c
cmp dword [ebp + 8], edi
lea eax, [ebx + 0x3c]
jne 0x6c8310
mov eax, dword [ebp - 0x20]
add ebx, 0x78
mov edi, dword [eax + 4]
cmp edi, dword [ebp + 8]
je 0x6c841b
mov dword [ebp - 0x2c], ebx
lea esi, [esi]
test ebx, ebx
je 0x6c840b
mov eax, dword [esi]
lea ecx, [ebx + 8]
mov dword [ebx], eax
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.0041f8d0
lea eax, [esi + 0x10]
sub esp, 4
lea ecx, [ebx + 0x10]
mov dword [esp], eax
call fcn.0041f8d0
lea eax, [esi + 0x18]
sub esp, 4
lea ecx, [ebx + 0x18]
mov dword [esp], eax
call fcn.0041f8d0
mov eax, dword [esi + 0x20]
sub esp, 4
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x38], eax
add esi, 0x3c
add ebx, 0x3c
cmp esi, edi
jne 0x6c83a0
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + 4]
mov edi, dword [eax]
cmp edi, esi
je 0x6c848c
lea eax, [edi + 0x3c]
sub esi, eax
mov dword [ebp - 0x1c], eax
shr esi, 2
imul esi, esi, 0x2eeeeeef
and esi, 0x3fffffff
add esi, 1
imul esi, esi, 0x3c
add esi, edi
jmp 0x6c8459
mov dword [esp], eax
call fcn.006ff4e0
mov eax, dword [ebp - 0x1c]
cmp eax, esi
mov edi, eax
je 0x6c8487
add eax, 0x3c
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x18]
test eax, eax
je 0x6c8468
mov dword [esp], eax
call fcn.006ff4e0
mov eax, dword [edi + 0x10]
test eax, eax
je 0x6c8477
mov dword [esp], eax
call fcn.006ff4e0
mov eax, dword [edi + 8]
test eax, eax
jne 0x6c8442
mov eax, dword [ebp - 0x1c]
cmp eax, esi
mov edi, eax
jne 0x6c8453
mov eax, dword [ebp - 0x20]
mov esi, dword [eax]
test esi, esi
je 0x6c8498
mov dword [esp], esi
call fcn.006ff4f0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov dword [edx], eax
add eax, dword [ebp - 0x24]
mov dword [edx + 4], ebx
mov dword [edx + 8], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [ebp - 0x24], 1
imul eax, dword [ebp - 0x24], 0x3c
mov dword [ebp - 0x24], eax
jmp 0x6c82c3
cmp edx, 0x4444444
ja 0x6c82b9
test edx, edx
jne 0x6c84ba
mov dword [ebp - 0x28], 0
jmp 0x6c82ce
mov eax, dword [ebp - 0x28]
lea ebx, [eax + 0x3c]
mov eax, dword [ebp - 0x20]
mov edi, dword [eax + 4]
cmp dword [ebp + 8], edi
jne 0x6c839a
jmp 0x6c848c