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

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x6c
cmp eax, 0x14
jge 0x10081719
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
add eax, eax
add eax, eax
push eax
push ecx
push edx
call fcn.10064ea0
add esp, 0xc
add esp, 0x6c
ret 0xc
push ebx
mov ebx, dword [esp + 0x74]
push ebp
mov ebp, dword [esp + 0x7c]
push esi
push edi
mov ecx, 0x10
mov esi, ebx
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov esi, 0x40
push esi
lea eax, [esp + 0x40]
push 0
push eax
call fcn.10064e10
mov edx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x38]
mov ecx, edx
sub ecx, eax
add ecx, ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 0x34]
sub ecx, eax
mov dword [esp + 0x8c], edx
lea edx, [edx + ecx*8]
mov ecx, eax
mov eax, dword [ebx + 0x3c]
add eax, eax
add esp, 0xc
sub eax, ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x10], esi
lea esi, [ebp + 0x40]
mov dword [esp + 0x28], eax
mov eax, dword [esi - 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x84], 0x73
mov dword [esp + 0x24], 0x2e4
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], esi
lea eax, [ebp + 8]
mov ecx, 3
mov edx, dword [eax - 8]
add dword [eax - 4], edx
mov edx, dword [eax - 4]
add dword [eax], edx
mov edx, dword [eax]
add dword [eax + 4], edx
mov edx, dword [eax + 4]
add dword [eax + 8], edx
mov edx, dword [eax + 8]
add dword [eax + 0xc], edx
add eax, 0x14
sub ecx, 1
jne 0x100817b2
mov eax, dword [esp + 0x88]
lea eax, [ebp + eax*4]
mov dword [esp + 0x38], eax
cmp esi, eax
jae 0x10081e27
mov edi, dword [esp + 0x40]
sub esi, ebp
mov ebp, dword [esp + 0x74]
lea eax, [esi + ebx - 8]
mov esi, dword [esp + 0x3c]
nop
mov ecx, dword [eax + 8]
mov ebx, dword [esp + 0x44]
test ecx, ecx
jle 0x100819bf
mov edx, dword [eax - 0x38]
mov ecx, edx
shr edx, 0x1e
imul ecx, esi
and edx, 2
lea esi, [esi + edx - 1]
mov edx, dword [eax - 0x34]
mov ebp, edx
shr edx, 0x1e
imul ebp, edi
and edx, 2
lea edi, [edi + edx - 1]
mov edx, dword [eax - 0x30]
add ecx, ebp
mov ebp, edx
shr edx, 0x1e
imul ebp, ebx
and edx, 2
lea edx, [ebx + edx - 1]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x44], edx
mov edx, dword [eax - 0x2c]
add ecx, ebp
mov ebp, edx
imul ebp, ebx
shr edx, 0x1e
and edx, 2
lea edx, [ebx + edx - 1]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x48], edx
mov edx, dword [eax - 0x28]
add ecx, ebp
mov ebp, ebx
imul ebp, edx
shr edx, 0x1e
and edx, 2
lea edx, [ebx + edx - 1]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x4c], edx
mov edx, dword [eax - 0x24]
add ecx, ebp
mov ebp, ebx
imul ebp, edx
shr edx, 0x1e
and edx, 2
lea edx, [ebx + edx - 1]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x50], edx
mov edx, dword [eax - 0x20]
add ecx, ebp
mov ebp, ebx
imul ebp, edx
shr edx, 0x1e
and edx, 2
lea edx, [ebx + edx - 1]
mov ebx, dword [esp + 0x58]
add ecx, ebp
mov dword [esp + 0x54], edx
mov edx, dword [eax - 0x1c]
mov ebp, ebx
imul ebp, edx
shr edx, 0x1e
and edx, 2
lea edx, [ebx + edx - 1]
mov ebx, dword [esp + 0x5c]
add ecx, ebp
mov dword [esp + 0x58], edx
mov edx, dword [eax - 0x18]
mov ebp, ebx
imul ebp, edx
shr edx, 0x1e
and edx, 2
lea edx, [ebx + edx - 1]
mov ebx, dword [esp + 0x60]
add ecx, ebp
mov dword [esp + 0x5c], edx
mov edx, dword [eax - 0x14]
mov ebp, ebx
imul ebp, edx
add ecx, ebp
shr edx, 0x1e
and edx, 2
lea edx, [ebx + edx - 1]
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x60], edx
mov edx, dword [eax - 0x10]
mov ebp, ebx
imul ebp, edx
shr edx, 0x1e
and edx, 2
lea edx, [ebx + edx - 1]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x64], edx
mov edx, dword [eax - 0xc]
add ecx, ebp
mov ebp, ebx
imul ebp, edx
shr edx, 0x1e
and edx, 2
lea edx, [ebx + edx - 1]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x68], edx
mov edx, dword [eax - 8]
add ecx, ebp
mov ebp, ebx
imul ebp, edx
shr edx, 0x1e
and edx, 2
lea edx, [ebx + edx - 1]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x6c], edx
mov edx, dword [eax - 4]
add ecx, ebp
mov ebp, ebx
imul ebp, edx
shr edx, 0x1e
and edx, 2
lea edx, [ebx + edx - 1]
add ecx, ebp
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x70], edx
mov edx, dword [eax]
mov ebx, ebp
imul ebx, edx
shr edx, 0x1e
and edx, 2
add ecx, ebx
mov ebx, dword [esp + 0x78]
lea ebp, [edx + ebp - 1]
mov edx, dword [eax + 4]
imul ebx, edx
shr edx, 0x1e
add ecx, ebx
mov ebx, dword [esp + 0x78]
and edx, 2
lea edx, [ebx + edx - 1]
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], edx
jmp 0x10081c55
jge 0x10081bbf
mov edx, dword [eax - 0x38]
mov ecx, edx
shr edx, 0x1e
imul ecx, esi
and edx, 2
mov ebp, 1
sub ebp, edx
mov edx, dword [eax - 0x34]
add esi, ebp
mov ebp, edx
imul ebp, edi
add ecx, ebp
shr edx, 0x1e
and edx, 2
mov ebp, 1
sub ebp, edx
mov edx, dword [eax - 0x30]
add edi, ebp
mov ebp, edx
imul ebp, ebx
add ecx, ebp
shr edx, 0x1e
and edx, 2
mov ebp, 1
sub ebp, edx
mov edx, dword [eax - 0x2c]
add ebx, ebp
mov ebp, edx
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x48]
imul ebp, ebx
add ecx, ebp
shr edx, 0x1e
and edx, 2
mov ebp, 1
sub ebp, edx
mov edx, dword [eax - 0x28]
add ebx, ebp
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x4c]
mov ebp, ebx
imul ebp, edx
add ecx, ebp
shr edx, 0x1e
and edx, 2
mov ebp, 1
sub ebp, edx
mov edx, dword [eax - 0x24]
add ebx, ebp
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x50]
mov ebp, ebx
imul ebp, edx
add ecx, ebp
shr edx, 0x1e
and edx, 2
mov ebp, 1
sub ebp, edx
mov edx, dword [eax - 0x20]
add ebx, ebp
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x54]
mov ebp, ebx
imul ebp, edx
add ecx, ebp
shr edx, 0x1e
and edx, 2
mov ebp, 1
sub ebp, edx
mov edx, dword [eax - 0x1c]
add ebx, ebp
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x58]
mov ebp, ebx
imul ebp, edx
add ecx, ebp
shr edx, 0x1e
and edx, 2
mov ebp, 1
sub ebp, edx
add ebx, ebp
mov edx, dword [eax - 0x18]
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x5c]
mov ebp, ebx
imul ebp, edx
add ecx, ebp
shr edx, 0x1e
and edx, 2
mov ebp, 1
sub ebp, edx
add ebx, ebp
mov edx, dword [eax - 0x14]
mov dword [esp + 0x5c], ebx
mov ebx, dword [esp + 0x60]
mov ebp, ebx
imul ebp, edx
add ecx, ebp
shr edx, 0x1e
and edx, 2
mov ebp, 1
sub ebp, edx
add ebx, ebp
mov edx, dword [eax - 0x10]
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x64]
mov ebp, ebx
imul ebp, edx
add ecx, ebp
shr edx, 0x1e
and edx, 2
mov ebp, 1
sub ebp, edx
mov edx, dword [eax - 0xc]
add ebx, ebp
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x68]
mov ebp, ebx
imul ebp, edx
add ecx, ebp
shr edx, 0x1e
and edx, 2
mov ebp, 1
sub ebp, edx
mov edx, dword [eax - 8]
add ebx, ebp
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x6c]
mov ebp, ebx
imul ebp, edx
add ecx, ebp
shr edx, 0x1e
and edx, 2
mov ebp, 1
sub ebp, edx
mov edx, dword [eax - 4]
add ebx, ebp
mov dword [esp + 0x6c], ebx
mov ebx, dword [esp + 0x70]
mov ebp, ebx
imul ebp, edx
shr edx, 0x1e
add ecx, ebp
and edx, 2
mov ebp, 1
sub ebp, edx
mov edx, dword [eax]
add ebx, ebp
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x70], ebx
mov ebx, ebp
imul ebx, edx
add ecx, ebx
shr edx, 0x1e
and edx, 2
mov ebx, 1
sub ebx, edx
mov edx, dword [eax + 4]
add ebp, ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x74], ebp
imul ebx, edx
add ecx, ebx
shr edx, 0x1e
and edx, 2
mov ebx, 1
sub ebx, edx
add dword [esp + 0x78], ebx
jmp 0x10081c55
mov ecx, dword [eax - 0x38]
mov edx, dword [eax - 0x34]
imul ecx, esi
imul edx, edi
add ecx, edx
mov edx, dword [eax - 0x30]
imul edx, ebx
add ecx, edx
mov edx, dword [eax - 0x2c]
imul edx, dword [esp + 0x48]
add ecx, edx
mov edx, dword [eax - 0x28]
imul edx, dword [esp + 0x4c]
add ecx, edx
mov edx, dword [eax - 0x24]
imul edx, dword [esp + 0x50]
add ecx, edx
mov edx, dword [eax - 0x20]
imul edx, dword [esp + 0x54]
add ecx, edx
mov edx, dword [eax - 0x1c]
imul edx, dword [esp + 0x58]
add ecx, edx
mov edx, dword [eax - 0x18]
imul edx, dword [esp + 0x5c]
add ecx, edx
mov edx, dword [eax - 0x14]
imul edx, dword [esp + 0x60]
add ecx, edx
mov edx, dword [eax - 0x10]
imul edx, dword [esp + 0x64]
add ecx, edx
mov edx, dword [eax - 0xc]
imul edx, dword [esp + 0x68]
add ecx, edx
mov edx, dword [eax - 8]
imul edx, dword [esp + 0x6c]
mov ebx, dword [eax]
add ecx, edx
imul ebx, ebp
mov edx, dword [eax - 4]
imul edx, dword [esp + 0x70]
add ecx, edx
mov edx, dword [eax + 4]
imul edx, dword [esp + 0x78]
add ebx, ecx
lea ecx, [ebx + edx]
mov edx, dword [eax + 8]
mov ebx, dword [esp + 0x1c]
sar ecx, 9
sub edx, ecx
mov ecx, dword [esp + 0x80]
imul ecx, dword [esp + 0x10]
mov dword [eax + 8], edx
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x20]
imul edx, dword [esp + 0x84]
add ecx, edx
mov edx, dword [esp + 0x30]
imul ebx, edx
add ecx, ebx
mov ebx, dword [esp + 0x2c]
sar ecx, 0xb
add ecx, dword [esp + 0x88]
mov dword [ebx], ecx
mov ecx, dword [eax + 8]
test ecx, ecx
jle 0x10081cf0
mov ecx, dword [esp + 0x1c]
sar ecx, 0x1e
and ecx, 2
mov ebx, 1
sub ebx, ecx
mov ecx, dword [esp + 0x20]
add edx, ebx
sar ecx, 0x1c
and ecx, 8
mov dword [esp + 0x30], edx
mov edx, 4
sub edx, ecx
add dword [esp + 0x84], edx
mov edx, dword [esp + 0x80]
mov ecx, edx
sar ecx, 0x1c
and ecx, 8
mov ebx, 4
sub ebx, ecx
add dword [esp + 0x10], ebx
jmp 0x10081d44
jge 0x10081d3d
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
sar ecx, 0x1e
and ecx, 2
lea edx, [edx + ecx - 1]
mov ecx, dword [esp + 0x20]
sar ecx, 0x1c
and ecx, 8
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x84]
lea ecx, [edx + ecx - 4]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x84], ecx
mov ecx, edx
sar ecx, 0x1c
and ecx, 8
lea ecx, [ebx + ecx - 4]
mov dword [esp + 0x10], ecx
jmp 0x10081d44
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx]
sub ebx, edx
lea ebx, [ecx + ebx*8]
mov dword [esp + 0x1c], ebx
mov ebx, ecx
sub ebx, edx
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x28]
add ebx, ebx
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x18]
imul edx, dword [esp + 0x14]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x24]
imul ecx, ebx
sub ecx, edx
sar ecx, 0xa
mov edx, ecx
mov ecx, dword [esp + 0x2c]
add edx, dword [ecx]
mov dword [ecx], edx
mov edx, dword [esp + 0x80]
test edx, edx
jle 0x10081dc7
mov edx, dword [esp + 0x28]
sar edx, 0x1d
and edx, 4
mov ebx, 2
sub ebx, edx
mov edx, dword [esp + 0x18]
add dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x14]
sar edx, 0x1e
and edx, 2
lea edx, [ebx + edx - 1]
mov dword [esp + 0x14], edx
jmp 0x10081df0
jge 0x10081df0
mov edx, dword [esp + 0x28]
sar edx, 0x1d
and edx, 4
lea edx, [ebx + edx - 2]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x18]
sar edx, 0x1e
and edx, 2
mov ebx, 1
sub ebx, edx
add dword [esp + 0x14], ebx
mov edx, dword [ecx]
lea ebx, [edx + edx]
sub ebx, dword [esp + 0x18]
mov dword [esp + 0x18], edx
mov edx, dword [ecx - 4]
mov dword [esp + 0x28], ebx
mov ebx, edx
shl ebx, 5
sub ebx, edx
sar ebx, 5
add ebx, dword [ecx]
add ecx, 4
mov dword [ecx - 4], ebx
add eax, 4
mov dword [esp + 0x2c], ecx
cmp ecx, dword [esp + 0x38]
jb 0x10081800
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0xc