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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x44
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x7c]
test edx, edx
je 0x6ca2f1bf
mov esi, dword [esp + 0x58]
lea eax, [eax + eax*2]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x40], eax
sub esi, 1
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x60]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x64]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x68]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x74]
mov dword [esp + 0x3c], esi
lea esi, [esi]
mov eax, dword [esp + 0x34]
add dword [esp + 0x2c], 1
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x6ca2f1d0
mov edi, dword [esp + 0x40]
mov dword [esp], 0
lea eax, [edi*4 + 0x6ca94f20]
movzx edi, byte [edi*4 + 0x6ca94f20]
movsx ebx, word [eax + 4]
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ebx
movsx ebx, word [eax + 6]
mov dword [esp + 0x20], ebx
movsx ebx, word [eax + 8]
mov dword [esp + 0x24], ebx
movsx ebx, word [eax + 0xa]
movsx eax, word [eax + 2]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], eax
lea esi, [esi]
nop
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 8]
add ebp, 8
add esi, 4
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
movzx edx, byte [edi]
movzx eax, byte [eax]
add dword [esp], 2
add eax, 0xffffff80
add edx, 0xffffff80
add dword [esp + 8], 4
imul ebx, edx
add dword [esp + 0xc], 4
imul ecx, eax
imul edx, dword [esp + 0x24]
mov dword [esp + 4], ebx
imul eax, dword [esp + 0x28]
mov ebx, ecx
movzx ecx, byte [esi - 4]
sub ecx, dword [esp + 0x10]
imul ecx, dword [esp + 0x14]
add ebx, edx
lea edx, [ebx + ecx + 0x2000]
sar edx, 6
movzx edi, byte [edx + 0x6ca94ce0]
mov edx, dword [esp + 4]
lea edx, [edx + ecx + 0x2000]
lea ecx, [eax + ecx + 0x2000]
shl edi, 8
sar edx, 6
sar ecx, 6
movzx edx, byte [edx + 0x6ca94ce0]
movzx ecx, byte [ecx + 0x6ca94ce0]
or edx, edi
shl ecx, 0x10
or edx, ecx
or edx, 0xff000000
mov dword [ebp - 8], edx
movzx edx, byte [esi - 2]
sub edx, dword [esp + 0x10]
imul edx, dword [esp + 0x14]
lea ecx, [ebx + edx + 0x2000]
mov ebx, dword [esp + 4]
lea eax, [eax + edx + 0x2000]
sar ecx, 6
sar eax, 6
lea ebx, [ebx + edx + 0x2000]
movzx ecx, byte [ecx + 0x6ca94ce0]
movzx eax, byte [eax + 0x6ca94ce0]
sar ebx, 6
movzx ebx, byte [ebx + 0x6ca94ce0]
shl ecx, 8
shl eax, 0x10
or ecx, ebx
or ecx, eax
mov eax, dword [esp]
or ecx, 0xff000000
mov dword [ebp - 4], ecx
cmp eax, dword [esp + 0x18]
jb 0x6ca2f090
je 0x6ca2f1d0
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x30], esi
mov esi, dword [esp + 0x70]
add dword [esp + 0x34], esi
add dword [esp + 0x38], esi
mov esi, dword [esp + 0x78]
add dword [esp + 0x3c], esi
cmp eax, dword [esp + 0x5c]
jne 0x6ca2f018
add esp, 0x44
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 8]
movzx eax, byte [eax]
lea edi, [eax - 0x80]
mov eax, dword [esp + 0xc]
movzx ebx, byte [eax]
movzx eax, byte [esi]
mov esi, dword [esp + 0x40]
add ebx, 0xffffff80
movzx ecx, byte [esi*4 + 0x6ca94f20]
lea edx, [esi*4 + 0x6ca94f20]
movsx esi, word [edx + 8]
sub eax, ecx
movsx ecx, word [edx + 2]
imul esi, ebx
imul eax, ecx
movsx ecx, word [edx + 6]
imul ecx, edi
add ecx, esi
movsx esi, word [edx + 4]
movsx edx, word [edx + 0xa]
lea ecx, [eax + ecx + 0x2000]
imul esi, ebx
sar ecx, 6
imul edx, edi
movzx ecx, byte [ecx + 0x6ca94ce0]
lea ebx, [eax + esi + 0x2000]
shl ecx, 8
lea eax, [eax + edx + 0x2000]
sar ebx, 6
sar eax, 6
movzx ebx, byte [ebx + 0x6ca94ce0]
movzx eax, byte [eax + 0x6ca94ce0]
or ebx, ecx
shl eax, 0x10
or ebx, eax
or ebx, 0xff000000
mov dword [ebp], ebx
jmp 0x6ca2f195