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

Disassembly:
sub esp, 0x48
push ebx
mov ebx, dword [esp + 0x50]
xor edx, edx
push ebp
mov ebp, dword [esp + 0x58]
mov eax, dword [ebx + 0x5c]
mov ecx, dword [ebp + 0x108]
imul ecx, dword [ebp + 0x100]
div ecx
mov ecx, dword [ebp + 0x10c]
xor edx, edx
imul ecx, dword [ebp + 0x104]
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x60]
div ecx
xor edx, edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], edx
cmp dword [ebp + 0x4c], edx
jle 0x1006cbe9
mov eax, dword [esp + 0x64]
xor ecx, ecx
sub dword [esp + 0x68], eax
push esi
mov dword [esp + 0x40], ecx
push edi
nop dword [eax]
mov esi, dword [ebp + 0x54]
add esi, ecx
mov dword [esp + 0x38], esi
mov ecx, dword [esi + 0xc]
mov ebp, ecx
imul ecx, dword [esp + 0x68]
mov edi, dword [esi + 8]
mov ebx, edi
imul ebx, dword [esp + 0x48]
imul ebp, dword [esp + 0x4c]
imul edi, dword [esp + 0x64]
mov dword [esp + 0x30], ecx
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x14], edi
cmp dword [esi + 0x20], ecx
jbe 0x1006cbc3
add eax, dword [esp + 0x70]
mov dword [esp + 0x50], eax
nop
mov edx, dword [esp + 0x5c]
push 1
push dword [esi + 0xc]
mov eax, dword [edx + 4]
push ecx
mov ecx, dword [esp + 0x5c]
mov eax, dword [eax + 0x20]
push dword [ecx]
push edx
call eax
mov ecx, dword [esp + 0x44]
add esp, 0x14
add ecx, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov dword [esp + 0x54], ecx
push 0
cmp ecx, ebp
jae 0x1006c9bf
mov edx, dword [esi + 0xc]
sub ebp, edx
sub ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x70]
sub ebp, dword [esp + 0x34]
push edx
mov eax, dword [eax + 4]
push ebp
push dword [ecx]
push dword [esp + 0x6c]
mov eax, dword [eax + 0x20]
call eax
mov ebp, eax
mov dword [esp + 0x30], ebp
jmp 0x1006c9dc
push dword [esi + 0xc]
mov edx, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x78]
mov eax, dword [edx + 4]
push dword [ecx]
mov eax, dword [eax + 0x20]
push edx
call eax
mov ebp, eax
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0xc]
xor edx, edx
add esp, 0x14
mov dword [esp + 0x28], edx
test eax, eax
jle 0x1006cba3
sub dword [esp + 0x24], ebp
mov ecx, ebp
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
nop
mov edi, dword [esp + 0x24]
mov ecx, dword [edi + ecx]
mov edi, dword [esp + 0x3c]
cmp dword [esp + 0x54], edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
jae 0x1006cbef
sub eax, edx
mov eax, dword [ebp + eax*4 - 4]
xor ebp, ebp
cmp dword [esi + 0x1c], ebp
jbe 0x1006cb84
sub ebx, edi
mov edx, edi
shl edx, 7
dec ebx
add edx, eax
shl ebx, 7
mov dword [esp + 0x34], edx
add ebx, eax
mov eax, ecx
lea ecx, [edi + ebp]
cmp ecx, dword [esp + 0x10]
jae 0x1006caab
mov edx, ebx
mov edi, 4
mov esi, 4
nop dword [eax + eax]
movzx ecx, word [edx]
mov word [eax], cx
movzx ecx, word [edx + 2]
add edx, 4
neg cx
mov word [eax + 2], cx
add eax, 4
sub esi, 1
jne 0x1006ca60
mov esi, 4
movzx ecx, word [edx]
neg cx
mov word [eax], cx
movzx ecx, word [edx + 2]
add edx, 4
mov word [eax + 2], cx
add eax, 4
sub esi, 1
jne 0x1006ca81
sub edi, 1
jne 0x1006ca53
mov edi, dword [esp + 0x14]
jmp 0x1006cb55
mov esi, 4
movzx ecx, word [edx]
lea edx, [edx + 0x20]
mov word [eax], cx
lea eax, [eax + 0x20]
movzx ecx, word [edx - 0x1e]
mov word [eax - 0x1e], cx
movzx ecx, word [edx - 0x1c]
mov word [eax - 0x1c], cx
movzx ecx, word [edx - 0x1a]
mov word [eax - 0x1a], cx
movzx ecx, word [edx - 0x18]
mov word [eax - 0x18], cx
movzx ecx, word [edx - 0x16]
mov word [eax - 0x16], cx
movzx ecx, word [edx - 0x14]
mov word [eax - 0x14], cx
movzx ecx, word [edx - 0x12]
mov word [eax - 0x12], cx
movzx ecx, word [edx - 0x10]
neg cx
mov word [eax - 0x10], cx
movzx ecx, word [edx - 0xe]
neg cx
mov word [eax - 0xe], cx
movzx ecx, word [edx - 0xc]
neg cx
mov word [eax - 0xc], cx
movzx ecx, word [edx - 0xa]
neg cx
mov word [eax - 0xa], cx
movzx ecx, word [edx - 8]
neg cx
mov word [eax - 8], cx
movzx ecx, word [edx - 6]
neg cx
mov word [eax - 6], cx
movzx ecx, word [edx - 4]
neg cx
mov word [eax - 4], cx
movzx ecx, word [edx - 2]
neg cx
mov word [eax - 2], cx
sub esi, 1
jne 0x1006cab0
mov esi, dword [esp + 0x38]
inc ebp
mov ecx, dword [esp + 0x18]
add ebx, 0xffffff80
mov edx, dword [esp + 0x34]
sub ecx, 0xffffff80
sub edx, 0xffffff80
mov dword [esp + 0x18], ecx
mov dword [esp + 0x34], edx
cmp ebp, dword [esi + 0x1c]
jb 0x1006ca41
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
inc edx
mov eax, dword [esi + 0xc]
add ecx, 4
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
cmp edx, eax
jl 0x1006ca00
mov ecx, dword [esp + 0x20]
add ecx, dword [esi + 0xc]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x20], ecx
cmp ecx, dword [esi + 0x20]
jb 0x1006c960
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x60]
inc edx
mov ecx, dword [esp + 0x44]
add eax, 4
add ecx, 0x58
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x6c], eax
cmp edx, dword [ebp + 0x4c]
jl 0x1006c910
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
mov eax, dword [esp + 0x2c]
xor ebx, ebx
mov eax, dword [eax]
cmp dword [esi + 0x1c], ebx
jbe 0x1006cc7f
mov edx, dword [esp + 0x14]
mov ebp, edi
mov edi, dword [esp + 0x10]
sub edi, edx
shl ebp, 7
dec edi
add ebp, eax
shl edi, 7
add edi, eax
lea eax, [ebx + edx]
cmp eax, dword [esp + 0x10]
jae 0x1006cc53
mov edx, edi
mov esi, 0x20
nop word [eax + eax]
movzx eax, word [edx]
lea ecx, [ecx + 4]
mov word [ecx - 4], ax
lea edx, [edx + 4]
movzx eax, word [edx - 2]
neg ax
mov word [ecx - 2], ax
sub esi, 1
jne 0x1006cc30
mov esi, dword [esp + 0x38]
jmp 0x1006cc5f
push 1
push ecx
push ebp
call fcn.10071380
add esp, 0xc
mov ecx, dword [esp + 0x18]
inc ebx
mov edx, dword [esp + 0x14]
sub ecx, 0xffffff80
add edi, 0xffffff80
mov dword [esp + 0x18], ecx
sub ebp, 0xffffff80
cmp ebx, dword [esi + 0x1c]
jb 0x1006cc17
jmp 0x1006cb7c
mov ebx, dword [esp + 0x10]
jmp 0x1006cb88