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

Disassembly:
sub esp, 0x8c
push ebx
mov ebx, dword [esp + 0x9c]
cmp ebx, 0x10
jge 0x10080b1d
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
lea eax, [ebx*4]
push eax
push ecx
push edx
call fcn.10064ea0
add esp, 0xc
pop ebx
add esp, 0x8c
ret 0xc
mov eax, dword [esp + 0x98]
push ebp
mov ebp, dword [esp + 0x98]
push esi
push edi
mov ecx, 0xd
mov esi, ebp
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x30]
mov edx, dword [ebp + 0x2c]
mov ecx, esi
sub ecx, edx
add ecx, ecx
mov dword [esp + 0x90], ecx
mov ecx, dword [ebp + 0x28]
sub ecx, edx
lea edx, [esi + ecx*8]
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x8c], edx
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x24]
xor edi, edi
cmp ebx, 0xd
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x54], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x60], edx
mov edx, dword [eax]
mov dword [esp + 0x18], esi
mov esi, dword [eax + 4]
mov dword [esp + 0x64], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x50], 0x40
mov dword [esp + 0x14], 0x1c
mov dword [esp + 0x10], 0x10
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x88], edx
jle 0x1008101b
mov ecx, eax
sub ecx, ebp
lea edx, [ebp + 0x34]
add ebx, 0xfffffff3
mov dword [esp + 0x84], edx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x80], ebx
mov edi, edi
mov ecx, dword [edx]
mov edi, dword [esp + 0x54]
imul edi, dword [esp + 0x68]
sar edi, 8
dec ecx
mov dword [edx], ecx
mov edx, dword [esp + 0x88]
imul edx, dword [esp + 0x70]
sar edx, 8
sub edx, edi
mov edi, dword [esp + 0x1c]
imul edi, dword [esp + 0x34]
sar edi, 8
sub edx, edi
mov edi, dword [esp + 0x5c]
imul edi, dword [esp + 0x74]
sar edi, 8
sub edx, edi
mov edi, dword [esp + 0x20]
imul edi, dword [esp + 0x2c]
sar edi, 8
sub edx, edi
mov edi, dword [esp + 0x28]
imul edi, dword [esp + 0x6c]
sar edi, 8
sub edx, edi
mov edi, dword [esp + 0x30]
imul edi, dword [esp + 0x24]
sar edi, 8
sub edx, edi
mov edi, dword [esp + 0x38]
imul edi, dword [esp + 0x7c]
sar edi, 8
sub edx, edi
mov edi, dword [esp + 0x48]
imul edi, dword [esp + 0x64]
sar edi, 8
sub edx, edi
mov edi, esi
imul edi, dword [esp + 0x44]
sar edi, 8
add edx, edi
mov edi, dword [esp + 0x4c]
imul edi, dword [esp + 0x78]
sar edi, 8
add edx, edi
mov edi, dword [esp + 0x60]
imul edi, dword [esp + 0x3c]
mov dword [esp + 0x94], ecx
sar edi, 8
add edi, ecx
mov ecx, dword [esp + 0x40]
imul ecx, dword [esp + 0x58]
add edi, edx
mov edx, dword [esp + 0x94]
sar ecx, 8
add ecx, edi
test edx, edx
jle 0x10080ddd
xor edx, edx
cmp dword [esp + 0x48], edx
setg dl
lea edx, [edx + edx - 1]
sub dword [esp + 0x64], edx
xor edx, edx
cmp dword [esp + 0x40], edx
setge dl
lea edx, [edx + edx - 1]
add dword [esp + 0x58], edx
xor edx, edx
cmp dword [esp + 0x38], edx
setg dl
lea edx, [edx + edx - 1]
sub dword [esp + 0x7c], edx
xor edx, edx
cmp dword [esp + 0x30], edx
setge dl
lea edx, [edx + edx - 1]
sub dword [esp + 0x24], edx
xor edx, edx
cmp dword [esp + 0x28], edx
setg dl
lea edx, [edx + edx - 1]
sub dword [esp + 0x6c], edx
xor edx, edx
cmp dword [esp + 0x20], edx
setge dl
lea edx, [edx + edx - 1]
sub dword [esp + 0x2c], edx
xor edx, edx
cmp dword [esp + 0x5c], edx
setg dl
lea edx, [edx + edx - 1]
sub dword [esp + 0x74], edx
xor edx, edx
cmp dword [esp + 0x1c], edx
setge dl
lea edx, [edx + edx - 1]
sub dword [esp + 0x34], edx
xor edx, edx
cmp dword [esp + 0x54], edx
setg dl
lea edx, [edx + edx - 1]
sub dword [esp + 0x68], edx
xor edx, edx
cmp dword [esp + 0x60], edx
setge dl
lea edx, [edx + edx - 1]
add dword [esp + 0x3c], edx
xor edx, edx
cmp dword [esp + 0x4c], edx
setg dl
lea edx, [edx + edx - 1]
add dword [esp + 0x78], edx
xor edx, edx
test esi, esi
setge dl
lea edx, [edx + edx - 1]
add dword [esp + 0x44], edx
xor edx, edx
cmp dword [esp + 0x88], edx
setg dl
jmp 0x10080eb9
jge 0x10080ec1
xor edx, edx
cmp dword [esp + 0x48], edx
setle dl
lea edx, [edx + edx - 1]
sub dword [esp + 0x64], edx
xor edx, edx
cmp dword [esp + 0x40], edx
setl dl
lea edx, [edx + edx - 1]
add dword [esp + 0x58], edx
xor edx, edx
cmp dword [esp + 0x38], edx
setle dl
lea edx, [edx + edx - 1]
sub dword [esp + 0x7c], edx
xor edx, edx
cmp dword [esp + 0x30], edx
setl dl
lea edx, [edx + edx - 1]
sub dword [esp + 0x24], edx
xor edx, edx
cmp dword [esp + 0x28], edx
setle dl
lea edx, [edx + edx - 1]
sub dword [esp + 0x6c], edx
xor edx, edx
cmp dword [esp + 0x20], edx
setl dl
lea edx, [edx + edx - 1]
sub dword [esp + 0x2c], edx
xor edx, edx
cmp dword [esp + 0x5c], edx
setle dl
lea edx, [edx + edx - 1]
sub dword [esp + 0x74], edx
xor edx, edx
cmp dword [esp + 0x1c], edx
setl dl
lea edx, [edx + edx - 1]
sub dword [esp + 0x34], edx
xor edx, edx
cmp dword [esp + 0x54], edx
setle dl
lea edx, [edx + edx - 1]
sub dword [esp + 0x68], edx
xor edx, edx
cmp dword [esp + 0x60], edx
setl dl
lea edx, [edx + edx - 1]
add dword [esp + 0x3c], edx
xor edx, edx
cmp dword [esp + 0x4c], edx
setle dl
lea edx, [edx + edx - 1]
add dword [esp + 0x78], edx
xor edx, edx
test esi, esi
setl dl
lea edx, [edx + edx - 1]
add dword [esp + 0x44], edx
xor edx, edx
cmp dword [esp + 0x88], edx
setle dl
lea edx, [edx + edx - 1]
add dword [esp + 0x70], edx
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x90]
imul edi, dword [esp + 0x14]
mov dword [esp + 0x88], esi
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x8c]
imul ebx, dword [esp + 0x50]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x18]
imul edx, dword [esp + 0x10]
sar edi, 9
sar edx, 9
add edi, ecx
add edi, edx
mov edx, dword [esp + 0x84]
sar ebx, 0xb
add ebx, edi
mov dword [esp + 0x48], ecx
mov dword [edx], ebx
test ecx, ecx
jle 0x10080f90
xor ecx, ecx
cmp dword [esp + 0x8c], ecx
setle cl
lea ecx, [ecx + ecx - 1]
sub dword [esp + 0x50], ecx
xor ecx, ecx
cmp dword [esp + 0x90], ecx
setle cl
lea ecx, [ecx + ecx - 1]
sub dword [esp + 0x14], ecx
xor ecx, ecx
cmp dword [esp + 0x18], ecx
setle cl
jmp 0x10080fc3
jge 0x10080fcb
xor ecx, ecx
cmp dword [esp + 0x8c], ecx
setg cl
lea ecx, [ecx + ecx - 1]
sub dword [esp + 0x50], ecx
xor ecx, ecx
cmp dword [esp + 0x90], ecx
setg cl
lea ecx, [ecx + ecx - 1]
sub dword [esp + 0x14], ecx
xor ecx, ecx
cmp dword [esp + 0x18], ecx
setg cl
lea ecx, [ecx + ecx - 1]
sub dword [esp + 0x10], ecx
mov edi, dword [edx - 4]
mov ecx, ebx
mov ebx, dword [edx - 8]
sub ebx, edi
lea ebx, [ecx + ebx*8]
mov dword [esp + 0x8c], ebx
mov ebx, ecx
sub ebx, edi
mov edi, dword [esp + 0x98]
add ebx, ebx
mov dword [edi + edx], ecx
add edx, 4
sub dword [esp + 0x80], 1
mov dword [esp + 0x90], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x84], edx
jne 0x10080c30
mov ebx, dword [esp + 0xa8]
xor edi, edi
mov edx, dword [ebp + 4]
mov ecx, dword [eax]
add ecx, edx
mov dword [eax + 4], ecx
mov edx, dword [ebp + 8]
add ecx, edx
mov dword [eax + 8], ecx
mov edx, dword [ebp + 0xc]
add ecx, edx
mov dword [eax + 0xc], ecx
mov edx, dword [ebp + 0x10]
add ecx, edx
mov dword [eax + 0x10], ecx
mov edx, dword [ebp + 0x14]
add ecx, edx
mov dword [eax + 0x14], ecx
mov edx, dword [ebp + 0x18]
add ecx, edx
mov dword [eax + 0x18], ecx
mov edx, dword [ebp + 0x1c]
add ecx, edx
mov dword [eax + 0x1c], ecx
mov edx, dword [ebp + 0x20]
add ecx, edx
mov dword [eax + 0x20], ecx
mov edx, dword [ebp + 0x24]
add ecx, edx
mov dword [eax + 0x24], ecx
mov edx, dword [ebp + 0x28]
add ecx, edx
mov dword [eax + 0x28], ecx
mov edx, dword [ebp + 0x2c]
add ecx, edx
mov dword [eax + 0x2c], ecx
mov edx, dword [ebp + 0x30]
add ecx, edx
mov dword [eax + 0x30], ecx
mov esi, dword [ebp + 0x30]
lea edx, [esi + esi]
sub edx, dword [ebp + 0x2c]
mov dword [esp + 0x84], esi
mov esi, 0xd
cmp ebx, esi
mov dword [esp + 0x10], 0x172
mov dword [esp + 0x18], edi
mov dword [esp + 0x80], ecx
mov dword [esp + 0x14], edi
jle 0x1008112c
mov edi, dword [esp + 0x14]
imul edi, dword [esp + 0x18]
mov ecx, edx
imul ecx, dword [esp + 0x10]
sar edi, 0xa
sar ecx, 9
sub ecx, edi
mov edi, dword [eax + esi*4]
add ecx, dword [eax + esi*4]
mov ebp, edi
xor ebp, edx
mov edx, 1
jl 0x100810e0
add dword [esp + 0x10], edx
jmp 0x100810e4
dec dword [esp + 0x10]
xor edi, dword [esp + 0x18]
jl 0x100810f0
sub dword [esp + 0x14], edx
jmp 0x100810f4
add dword [esp + 0x14], edx
mov edi, dword [esp + 0x80]
mov ebp, edi
shl ebp, 5
sub ebp, edi
sar ebp, 5
lea edi, [ecx + ebp]
lea edx, [ecx + ecx]
sub edx, dword [esp + 0x84]
mov dword [eax + esi*4], edi
inc esi
cmp esi, ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], ecx
jl 0x100810b1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 0xc