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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
movzx ebx, dx
mov dword [esp + 0x58], ebx
and ebx, 0xfffffff8
mov esi, eax
mov dword [esp + 0x10], ebx
movzx ebx, word [esp + 0xb0]
mov dword [esp + 0x78], eax
mov word [esp + 0x52], ax
movzx eax, dx
mov dword [esp + 0x7c], ebx
and ebx, 0xfffffff8
mov dword [esp + 0x54], ebx
je 0x6fcae3b2
movzx edx, si
add eax, 1
lea ebx, [edx + edx]
xor ebp, ebp
lea esi, [edx*8]
mov dword [esp + 0x64], ebx
add ebx, edx
mov dword [esp + 0x5c], esi
sub esi, edx
mov dword [esp + 0x68], ebx
add ebx, ebx
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 0xa0]
lea ecx, [edx*4]
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x60], ecx
add ecx, edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x6fcae1ad
movzx eax, word [esp + 0x52]
xor edi, edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 8], eax
lea eax, [esi + edi]
mov dword [esp + 4], eax
lea eax, [ebx + edi]
add edi, 8
mov dword [esp], eax
call dword [0x70fcbe54]
add ebp, eax
cmp dword [esp + 0x10], edi
jg 0x6fcae187
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x58], eax
jle 0x6fcae300
movzx edx, word [esp + 0x52]
add eax, 1
lea ecx, [ebx + edx]
mov dword [esp + 0x40], ecx
lea ecx, [esi + edx]
mov edx, ebp
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x64]
lea edi, [ebx + ecx]
add ecx, esi
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x38], edi
lea edi, [ebx + ecx]
add ecx, esi
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x14], edi
lea edi, [ebx + ecx]
add ecx, esi
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x30], edi
lea edi, [ebx + ecx]
add ecx, esi
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x1c], edi
lea edi, [ebx + ecx]
add ecx, esi
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x24], edi
lea edi, [ebx + ecx]
add ecx, esi
mov dword [esp + 0x2c], edi
movzx ebp, byte [esi + eax - 1]
movzx edi, byte [ebx + eax - 1]
sub edi, ebp
mov ebp, dword [esp + 0x44]
imul edi, edi
movzx ebp, byte [ebp + eax - 1]
add edx, edi
mov edi, dword [esp + 0x40]
movzx edi, byte [edi + eax - 1]
sub edi, ebp
mov ebp, dword [esp + 0x3c]
imul edi, edi
movzx ebp, byte [ebp + eax - 1]
add edx, edi
mov edi, dword [esp + 0x38]
movzx edi, byte [edi + eax - 1]
sub edi, ebp
mov ebp, dword [esp + 0x18]
imul edi, edi
movzx ebp, byte [ebp + eax - 1]
add edx, edi
mov edi, dword [esp + 0x14]
movzx edi, byte [edi + eax - 1]
sub edi, ebp
mov ebp, dword [esp + 0x34]
imul edi, edi
movzx ebp, byte [ebp + eax - 1]
add edi, edx
mov edx, dword [esp + 0x30]
movzx edx, byte [edx + eax - 1]
sub edx, ebp
mov ebp, dword [esp + 0x20]
imul edx, edx
movzx ebp, byte [ebp + eax - 1]
add edi, edx
mov edx, dword [esp + 0x1c]
movzx edx, byte [edx + eax - 1]
sub edx, ebp
mov ebp, dword [esp + 0x28]
imul edx, edx
movzx ebp, byte [ebp + eax - 1]
add edi, edx
mov edx, dword [esp + 0x24]
movzx edx, byte [edx + eax - 1]
sub edx, ebp
movzx ebp, byte [ecx + eax - 1]
imul edx, edx
add edi, edx
mov edx, dword [esp + 0x2c]
movzx edx, byte [edx + eax - 1]
add eax, 1
sub edx, ebp
imul edx, edx
add edx, edi
cmp eax, dword [esp + 0x48]
jne 0x6fcae235
mov ebp, edx
mov eax, dword [esp + 0x5c]
add dword [esp + 0x4c], 8
add ebx, eax
add esi, eax
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x54], eax
jg 0x6fcae174
mov eax, dword [esp + 0x54]
sub eax, 1
shr eax, 3
add eax, 1
imul eax, dword [esp + 0x5c]
add dword [esp + 0xa0], eax
add dword [esp + 0xa4], eax
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x7c]
cmp edi, eax
jle 0x6fcae3a5
movzx esi, word [esp + 0x78]
mov ebx, eax
add edi, 1
add ebx, 1
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x58]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0xa4]
test edi, edi
je 0x6fcae38e
xor edx, edx
movzx eax, byte [ebx + edx]
movzx ecx, byte [esi + edx]
add edx, 1
sub eax, ecx
imul eax, eax
add ebp, eax
cmp edi, edx
jg 0x6fcae378
mov eax, dword [esp + 0x18]
add dword [esp + 0x10], 1
add ebx, eax
add esi, eax
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x10], eax
jne 0x6fcae372
add esp, 0x8c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
xor ebp, ebp
jmp 0x6fcae33b