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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
cmp dword [esp + 0x78], 0xf
jle 0x6fd2fd85
mov eax, dword [esp + 0x78]
xor esi, esi
xor ebx, ebx
mov edx, dword [esp + 0x74]
mov edi, esi
mov esi, ebx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x24], 0
sub eax, 0x10
shr eax, 4
sub edx, 7
add eax, 1
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x74]
shl ecx, 4
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], 0
sub eax, 0x10
shr eax, 4
lea ecx, [eax + 2]
add eax, 1
shl edx, 4
shl ecx, 4
shl eax, 4
mov dword [esp + 0x38], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x6c]
mov ebp, 0x10
mov ecx, dword [esp + 0x20]
lea eax, [edx + ecx]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x24]
sub eax, 0x10
mov dword [esp + 0x14], eax
xor eax, eax
lea ebx, [edx + ecx]
sub ebx, 0x10
cmp dword [esp + 0x74], 0xf
jle 0x6fd2fb5d
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x60]
add eax, ebp
mov dword [esp + 8], eax
lea eax, [ebx + ebp]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x1c]
mov edx, eax
sar edx, 0x1f
add esi, eax
adc edi, edx
add ebp, 0x10
cmp ebp, dword [esp + 0x1c]
jne 0x6fd2fb20
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x30]
jl 0x6fd2fd47
mov edx, dword [esp + 0x34]
add dword [esp + 0x20], edx
add dword [esp + 0x28], 1
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
add dword [esp + 0x24], ecx
cmp dword [esp + 0x28], edx
jne 0x6fd2faf2
mov edx, dword [esp + 0x28]
mov ebx, esi
mov esi, edi
shl edx, 4
mov eax, dword [esp + 0x78]
sub eax, 7
cmp eax, edx
jle 0x6fd2fc3c
cmp dword [esp + 0x74], 7
jle 0x6fd2fc3c
mov eax, dword [esp + 0x74]
mov edi, 8
mov ecx, dword [esp + 0x70]
sub eax, 8
shr eax, 3
lea ebp, [eax*8 + 0x10]
mov eax, dword [esp + 0x6c]
imul ecx, edx
imul edx, dword [esp + 0x68]
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x60]
lea ecx, [eax + ecx - 8]
mov eax, edi
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x64]
mov edi, esi
mov esi, ebx
mov ebx, eax
lea edx, [ecx + edx - 8]
mov dword [esp + 0x1c], edx
lea esi, [esi]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
add eax, ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], edx
mov dword [esp + 4], ecx
add eax, ebx
mov dword [esp], eax
call dword [ebp + 0x28]
mov edx, eax
sar edx, 0x1f
add esi, eax
adc edi, edx
add ebx, 8
cmp ebx, dword [esp + 0x20]
jne 0x6fd2fc00
mov ebx, esi
mov esi, edi
test byte [esp + 0x74], 7
je 0x6fd2fcbb
mov edx, dword [esp + 0x78]
and edx, 0xfffffff8
mov dword [esp + 0x1c], edx
jle 0x6fd2fcbb
mov ecx, dword [esp + 0x74]
mov eax, ebx
mov edx, esi
mov edi, dword [esp + 0x64]
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x14], 0
and ecx, 0xfffffff8
mov dword [esp + 0x18], ecx
nop
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x74], ecx
jle 0x6fd2fca0
mov esi, ecx
lea esi, [esi]
movzx ebx, byte [ebp + esi]
movzx ecx, byte [edi + esi]
sub ecx, ebx
imul ecx, ecx
mov ebx, ecx
sar ebx, 0x1f
add eax, ecx
adc edx, ebx
add esi, 1
cmp esi, dword [esp + 0x74]
jne 0x6fd2fc80
add dword [esp + 0x14], 1
mov ecx, dword [esp + 0x1c]
add edi, dword [esp + 0x68]
add ebp, dword [esp + 0x70]
cmp dword [esp + 0x14], ecx
jne 0x6fd2fc70
mov ebx, eax
mov esi, edx
test byte [esp + 0x78], 7
je 0x6fd2fd3b
mov edx, dword [esp + 0x78]
and edx, 0xfffffff8
cmp dword [esp + 0x78], edx
mov dword [esp + 0x14], edx
jle 0x6fd2fd3b
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov ebp, dword [esp + 0x6c]
imul eax, edx
add edi, eax
mov eax, dword [esp + 0x70]
imul eax, edx
mov edx, esi
add ebp, eax
mov eax, ebx
mov ecx, dword [esp + 0x74]
xor esi, esi
test ecx, ecx
jle 0x6fd2fd20
nop
lea esi, [esi]
movzx ebx, byte [ebp + esi]
movzx ecx, byte [edi + esi]
sub ecx, ebx
imul ecx, ecx
mov ebx, ecx
sar ebx, 0x1f
add eax, ecx
adc edx, ebx
add esi, 1
cmp esi, dword [esp + 0x74]
jne 0x6fd2fd00
add dword [esp + 0x14], 1
mov ecx, dword [esp + 0x78]
add edi, dword [esp + 0x68]
add ebp, dword [esp + 0x70]
cmp dword [esp + 0x14], ecx
jne 0x6fd2fcf1
mov ebx, eax
mov esi, edx
add esp, 0x4c
mov eax, ebx
mov edx, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x70]
add edx, eax
add edx, dword [esp + 0x6c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x60]
add eax, dword [esp + 0x24]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x68]
add eax, dword [esp + 0x64]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [ecx + 0x24]
mov edx, eax
sar edx, 0x1f
add esi, eax
adc edi, edx
jmp 0x6fd2fb67
xor edx, edx
xor ebx, ebx
xor esi, esi
jmp 0x6fd2fb95