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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x190
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
call fcn.100c3fb0
mov ecx, esi
mov dword [esi + 8], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.100c2780
mov ecx, dword [esi + 0x4c]
xor edi, edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ecx
lea edx, [edi + 8]
test ecx, ecx
jle 0x100c2e06
cmp ecx, edx
mov eax, ecx
cmovl eax, edx
test eax, eax
jle 0x100c2e06
mov ecx, dword [0x1029a390]
test ecx, ecx
je 0x100c2de8
inc dword [ecx + 0x374]
push dword [0x1029a394]
imul eax, eax, 0xc4
push eax
call fcn.100a77d0
add esp, 8
mov dword [esp + 0x30], eax
mov edx, 8
mov eax, dword [esi + 0x34]
mov dword [esp + 0x34], eax
test eax, eax
jle 0x100c2e47
cmp eax, 8
mov ecx, eax
cmovl ecx, edx
test ecx, ecx
jle 0x100c2e47
mov eax, dword [0x1029a390]
test eax, eax
je 0x100c2e2c
inc dword [eax + 0x374]
push dword [0x1029a394]
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call fcn.100a77d0
add esp, 8
mov dword [esp + 0x40], eax
mov edi, eax
imul ecx, dword [esp + 0x3c], 0xc4
push ecx
push 0
push dword [esp + 0x38]
call fcn.101e3600
mov eax, dword [esp + 0x40]
add esp, 0xc
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push edi
call fcn.101e3600
add esp, 0xc
mov dword [esp + 0x18], 0
cmp dword [esi + 0x4c], 0
jle 0x100c2fb3
mov esi, dword [esp + 0x30]
xor edx, edx
mov eax, dword [esp + 0x1c]
add esi, 0xa4
mov dword [esp + 0x2c], edx
mov dword [esp + 0x14], esi
nop
mov ecx, dword [eax + 0x54]
add ecx, edx
mov dword [esi - 4], 0xffffffff
mov dword [esp + 0x10], ecx
xor edx, edx
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x34], edx
jle 0x100c3005
or eax, 0xffffffff
cmp eax, 0xffffffff
jne 0x100c2ef3
mov eax, dword [esp + 0x10]
mov ecx, dword [ecx + 0x3c]
mov eax, dword [eax + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x100c2edd
mov dword [esi - 4], edx
mov eax, edx
jmp 0x100c2ee0
mov eax, dword [esi - 4]
mov ecx, dword [esp + 0x1c]
inc edx
cmp edx, dword [ecx + 0x34]
jl 0x100c2ec2
cmp eax, 0xffffffff
je 0x100c3005
mov eax, dword [esp + 0x10]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [eax + 0xc]
call fcn.100bf2d0
mov ecx, dword [esp + 0x14]
mov edx, esi
add ecx, 0xffffff5c
push eax
mov dword [esp + 0xc], ecx
call fcn.100b9350
add esp, 4
test eax, eax
je 0x100c3005
mov eax, dword [esp + 8]
mov edx, 0x1025ab40
mov esi, dword [esp + 0x14]
mov eax, dword [eax + 0xa0]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
mov eax, dword [eax + 0x30]
test eax, eax
cmovne edx, eax
mov dword [esi - 8], edx
cmp word [edx], 0
je 0x100c2f72
movzx eax, word [edx + 2]
test ax, ax
je 0x100c2f6e
mov ecx, eax
cmp dword [esi], ecx
cmovge ecx, dword [esi]
add edx, 4
mov dword [esi], ecx
cmp word [edx], 0
jne 0x100c2f53
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x24]
inc dword [edi + ecx*8]
mov ecx, dword [esi]
mov eax, dword [esp + 0x1c]
cmp dword [edi + edx*8 + 4], ecx
cmovge ecx, dword [edi + edx*8 + 4]
add esi, 0xc4
mov dword [edi + edx*8 + 4], ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
inc ecx
add edx, 0x78
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x2c], edx
cmp ecx, dword [eax + 0x4c]
jl 0x100c2ea0
mov eax, dword [esp + 0x3c]
xor esi, esi
mov dword [esp + 0x14], esi
test eax, eax
jle 0x100c32d7
mov esi, dword [esp + 0x30]
add esi, 0xa8
mov dword [esp + 0x24], eax
mov dword [esp + 0x44], esi
mov eax, dword [esi - 8]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 8]
mov dword [esp + 0xc], ecx
mov ecx, dword [esi - 4]
add ecx, 0x20
sar ecx, 5
mov dword [esp + 8], ecx
cmp ecx, eax
jle 0x100c3028
test eax, eax
je 0x100c300f
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [esi + 8]
jmp 0x100c3014
mov byte [esp + 0x23], 0
jmp 0x100c3f54
mov edx, 8
cmp edx, ecx
mov eax, ecx
lea ecx, [esi + 4]
cmovg eax, edx
push eax
call fcn.100a62a0
mov ecx, dword [esp + 8]
lea eax, [ecx*4]
mov dword [esi + 4], ecx
push eax
push 0
push dword [esi + 0xc]
call fcn.101e3600
mov edx, dword [esp + 0x18]
add esp, 0xc
lea eax, [edx*8 + 0xc]
add eax, edi
mov dword [esp + 0x10], eax
cmp dword [eax], 0
jne 0x100c30bf
mov ecx, dword [edi + edx*8 + 4]
mov edx, dword [eax + 4]
add ecx, 0x20
sar ecx, 5
mov dword [esp + 0x28], ecx
mov dword [esp + 8], edx
cmp ecx, edx
jle 0x100c30a0
test edx, edx
je 0x100c3082
mov eax, edx
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [esp + 8]
jmp 0x100c3087
mov edx, 8
cmp edx, ecx
mov eax, ecx
mov ecx, dword [esp + 0x10]
cmovg eax, edx
push eax
call fcn.100a62a0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov dword [eax], ecx
lea eax, [ecx*4]
push eax
mov eax, dword [esp + 0x14]
push 0
push dword [eax + 8]
call fcn.101e3600
mov edx, dword [esp + 0x18]
add esp, 0xc
mov eax, dword [esi - 0xc]
mov dword [esp + 0x10], eax
movzx ecx, word [eax]
test cx, cx
je 0x100c319a
movzx eax, word [eax + 2]
test ax, ax
je 0x100c3192
movzx edi, cx
cmp edi, eax
ja 0x100c3177
nop word [eax + eax]
mov eax, dword [esp + 0x40]
mov esi, edi
mov ecx, edi
sar esi, 5
and ecx, 0x1f
mov dword [esp + 8], ecx
mov edx, dword [eax + edx*8 + 0x14]
mov eax, 1
shl eax, cl
test dword [edx + esi*4], eax
jne 0x100c3162
mov ecx, dword [esp + 0x44]
mov edx, edi
lea ecx, [ecx - 0xa8]
call fcn.100b9810
test eax, eax
je 0x100c3162
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x40]
inc dword [eax]
inc dword [edx + ecx*8 + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 8]
mov eax, dword [ecx + esi*4]
bts eax, edx
mov dword [ecx + esi*4], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xc]
mov ecx, dword [eax + ecx*8 + 0x14]
mov eax, dword [ecx + esi*4]
bts eax, edx
inc dword [esp + 0x14]
mov dword [ecx + esi*4], eax
mov eax, dword [esp + 0x10]
inc edi
mov edx, dword [esp + 0xc]
movzx eax, word [eax + 2]
cmp edi, eax
jbe 0x100c30f0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
add eax, 4
mov dword [esp + 0x10], eax
movzx ecx, word [eax]
test cx, cx
jne 0x100c30d2
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
add esi, 0xc4
sub dword [esp + 0x24], 1
mov dword [esp + 0x44], esi
jne 0x100c2fd7
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
add esi, 0xb8
mov edi, eax
mov dword [esp + 0x10], eax
push dword [esi - 0x10]
mov ecx, esi
call fcn.100a62a0
mov edx, dword [esi - 4]
mov eax, dword [esi - 0xc]
mov dword [esp + 0x18], edx
lea eax, [edx + eax*4]
mov dword [esp + 0x48], eax
cmp edx, eax
jae 0x100c3282
xor ecx, ecx
mov dword [esp + 0x2c], ecx
nop dword [eax]
mov eax, dword [edx]
mov dword [esp + 0x28], eax
test eax, eax
je 0x100c3266
xor edx, edx
mov edi, 1
mov dword [esp + 0x24], edx
test edi, eax
je 0x100c3256
mov eax, dword [esi + 4]
and ecx, 0xffffffe0
add ecx, edx
mov dword [esp + 8], ecx
mov ecx, dword [esi]
cmp ecx, eax
jne 0x100c323e
inc ecx
test eax, eax
je 0x100c322a
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 4]
jmp 0x100c322f
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.100a62a0
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov edx, dword [esp + 8]
mov dword [eax + ecx*4], edx
inc dword [esi]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
inc edx
rol edi, 1
mov dword [esp + 0x24], edx
cmp edx, 0x20
jb 0x100c3205
mov edx, dword [esp + 0x18]
add edx, 4
add ecx, 0x20
mov dword [esp + 0x18], edx
mov dword [esp + 0x2c], ecx
cmp edx, dword [esp + 0x48]
jb 0x100c31f0
mov edi, dword [esp + 0x10]
mov ecx, dword [esi - 4]
test ecx, ecx
je 0x100c32bc
mov eax, dword [0x1029a390]
mov dword [esi - 8], 0
mov dword [esi - 0xc], 0
test eax, eax
je 0x100c32a6
dec dword [eax + 0x374]
push dword [0x1029a394]
push ecx
call fcn.100a77e0
add esp, 8
mov dword [esi - 4], 0
add esi, 0xc4
sub edi, 1
mov dword [esp + 0x10], edi
jne 0x100c31c3
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x34], 0
jle 0x100c333c
mov esi, dword [esp + 0x34]
lea eax, [edi + 0x14]
mov dword [esp + 0x24], eax
nop dword [eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x100c332c
mov dword [eax - 4], 0
mov dword [eax - 8], 0
mov eax, dword [0x1029a390]
test eax, eax
je 0x100c3313
dec dword [eax + 0x374]
push dword [0x1029a394]
push ecx
call fcn.100a77e0
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [eax], 0
add eax, 0x18
mov dword [esp + 0x24], eax
sub esi, 1
jne 0x100c32f0
mov esi, dword [esp + 0x14]
test edi, edi
je 0x100c3366
mov eax, dword [0x1029a390]
test eax, eax
je 0x100c334f
dec dword [eax + 0x374]
push dword [0x1029a394]
push edi
call fcn.100a77e0
add esp, 8
mov dword [esp + 0x40], 0
xor edi, edi
mov dword [esp + 0x64], 0
push esi
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x28], edi
call fcn.100c64f0
test esi, esi
jle 0x100c33d3
cmp esi, 8
mov ecx, esi
mov eax, 8
cmovl ecx, eax
test ecx, ecx
jle 0x100c33d3
mov eax, dword [0x1029a390]
test eax, eax
je 0x100c33b2
inc dword [eax + 0x374]
push dword [0x1029a394]
lea eax, [ecx*8]
sub eax, ecx
shl eax, 2
push eax
call fcn.100a77d0
add esp, 8
mov dword [esp + 0x24], eax
mov edi, eax
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x68]
shl ecx, 4
push ecx
push 0
push eax
mov dword [esp + 0x1c], eax
call fcn.101e3600
add esp, 0xc
lea eax, [esi*8]
sub eax, esi
shl eax, 2
push eax
push 0
push edi
call fcn.101e3600
mov edx, dword [esp + 0x48]
xor esi, esi
xor eax, eax
mov dword [esp + 0x40], esi
xor ecx, ecx
mov dword [esp + 0x50], eax
add esp, 0xc
mov dword [esp + 0x14], ecx
test edx, edx
jle 0x100c3665
mov edi, dword [esp + 0x30]
add edi, 0x98
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], edx
nop word [eax + eax]
mov edx, dword [edi + 0x10]
test edx, edx
je 0x100c364b
add dword [esp + 0x44], edx
add dword [esp + 0x14], edx
shl eax, 4
add eax, dword [esp + 0x10]
mov dword [edi - 4], eax
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [esp + 0x24]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x1c]
mov dword [edi], ecx
mov edx, dword [eax + 0x54]
add edx, dword [esp + 0x18]
mov dword [esp + 0x4c], edx
mov eax, dword [edx + 0x10]
mov dword [edi - 0x1c], eax
mov eax, dword [edi + 0x28]
mov dword [edi - 0x14], eax
mov eax, dword [edi + 0x20]
mov dword [edi - 0x18], 0
mov dword [edi - 0x10], eax
mov dword [edi - 0xc], ecx
mov al, byte [edx + 0x14]
mov byte [edi - 8], al
mov al, byte [edx + 0x18]
mov byte [edi - 7], al
movss xmm1, dword [edx + 0x10]
comiss xmm1, dword [0x1026b97c]
jbe 0x100c3509
mov esi, dword [esp + 0xc]
mov eax, 0x100
mov edi, dword [edi - 0x7c]
cwde
mov esi, dword [esi - 0x94]
movzx ecx, byte [edi + esi + 6]
movzx edx, byte [edi + esi + 7]
movsx ecx, cx
imul ecx, eax
mov eax, 0x100
cwde
add dx, cx
movzx ecx, byte [edi + esi + 4]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + esi + 5]
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x34]
movsx edx, dx
add cx, ax
movsx eax, cx
sub eax, edx
movd xmm0, eax
jmp 0x100c352f
mov edx, dword [edi - 0x84]
mov eax, dword [edi - 0x94]
xorps xmm1, xmmword [0x1026c420]
movzx ecx, byte [edx + eax + 0x13]
movzx eax, byte [edx + eax + 0x12]
shl eax, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
divss xmm1, xmm0
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x48], eax
movss dword [esp + 0x28], xmm1
cmp dword [edi + 0x20], eax
jle 0x100c3643
mov dword [esp + 0x2c], eax
nop word [eax + eax]
mov edx, dword [edi + 0x28]
lea ecx, [edi - 0x98]
mov edx, dword [edx + eax*4]
call fcn.100b9810
lea ecx, [esp + 0x50]
mov edx, eax
push ecx
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x5c]
sub esp, 8
movd xmm3, dword [ecx + 0x18]
movd xmm2, dword [ecx + 0x14]
lea ecx, [edi - 0x98]
cvtdq2ps xmm3, xmm3
mov dword [esp + 4], 0
mov dword [esp], 0
cvtdq2ps xmm2, xmm2
mulss xmm3, xmm1
mulss xmm2, xmm1
call fcn.100bbda0
mov eax, dword [esp + 0x70]
add esp, 0x18
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x4c]
movzx edx, ax
mov eax, dword [edi - 4]
add ecx, edx
mov edi, dword [esp + 0x2c]
dec cx
add cx, word [esi + 0x14]
movss xmm1, dword [esp + 0x28]
mov word [edi + eax + 4], cx
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x50]
sub ecx, dword [esp + 0x38]
add ecx, edx
mov edx, dword [esp + 0x2c]
mov eax, dword [edi - 4]
dec cx
add cx, word [esi + 0x18]
mov esi, dword [esp + 0x34]
mov word [edx + eax + 6], cx
mov eax, dword [edi - 4]
movzx ecx, word [edx + eax + 6]
movzx eax, word [edx + eax + 4]
add edx, 0x10
imul ecx, eax
mov eax, dword [esp + 0x48]
inc eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x48], eax
add esi, ecx
mov dword [esp + 0x34], esi
cmp eax, dword [edi + 0x20]
jl 0x100c3560
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
add dword [esp + 0x18], 0x78
add edi, 0xc4
sub dword [esp + 8], 1
mov dword [esp + 0xc], edi
jne 0x100c3440
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 0xc]
mov dword [edi + 0x20], 0
test eax, eax
jg 0x100c36d9
movd xmm0, esi
xorps xmm1, xmm1
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x100c3690
sqrtsd xmm0, xmm0
jmp 0x100c3695
call fcn.1020bb20
cvtsd2ss xmm0, xmm0
cvttss2si eax, xmm0
inc eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x1026bdb8]
jb 0x100c36b5
mov eax, 0x1000
jmp 0x100c36d9
comiss xmm0, dword [0x1026bdb0]
jb 0x100c36c5
mov eax, 0x800
jmp 0x100c36d9
comiss xmm0, dword [0x1026bd94]
mov eax, 0x200
mov ecx, 0x400
cmovae eax, ecx
push 0x2c
mov dword [edi + 0x1c], eax
lea eax, [esp + 0x70]
push 0
push eax
call fcn.101e3600
mov eax, dword [edi + 0x10]
add esp, 0xc
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 8], eax
mov eax, dword [0x1029a390]
test eax, eax
je 0x100c370a
inc dword [eax + 0x374]
push dword [0x1029a394]
push 0x30
call fcn.100a77d0
mov ecx, dword [0x1029a390]
mov esi, eax
mov eax, dword [esp + 0x10]
add esp, 8
sub eax, dword [esp + 0x28]
mov dword [esp + 0xc], esi
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x100c373c
inc dword [ecx + 0x374]
push dword [0x1029a394]
shl eax, 3
push eax
call fcn.100a77d0
add esp, 8
test esi, esi
je 0x100c37cf
test eax, eax
je 0x100c37b7
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x74], edx
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x38]
push edx
push eax
mov dword [esp + 0x9c], eax
mov eax, 0x8000
sub eax, ecx
mov dword [esp + 0x88], ecx
push eax
mov ecx, esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x94], 1
mov dword [esp + 0x98], 1
mov dword [esp + 0x90], 0
call fcn.1002eef0
add esp, 0xc
jmp 0x100c37fa
mov eax, dword [0x1029a390]
test eax, eax
je 0x100c37c6
dec dword [eax + 0x374]
push dword [0x1029a394]
push esi
jmp 0x100c37ea
test eax, eax
je 0x100c37f2
mov ecx, dword [0x1029a390]
test ecx, ecx
je 0x100c37e3
dec dword [ecx + 0x374]
push dword [0x1029a394]
push eax
call fcn.100a77e0
add esp, 8
mov esi, dword [esp + 0x70]
mov dword [esp + 0xc], esi
mov edx, esi
mov ecx, edi
call fcn.100c4020
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x100c3886
mov esi, dword [esp + 0x30]
add esi, 0xa8
mov dword [esp + 8], eax
nop dword [eax]
mov eax, dword [esi]
test eax, eax
je 0x100c3871
mov edx, dword [esi - 0x14]
mov ecx, dword [esp + 0xc]
push eax
call fcn.1002f3a0
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x100c3871
xor edx, edx
nop
mov eax, dword [esi - 0x14]
cmp dword [eax + edx + 0xc], 0
je 0x100c3869
movzx ecx, word [eax + edx + 0xa]
movzx eax, word [eax + edx + 6]
add ecx, eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x20]
cmp eax, ecx
cmovge ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x20], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x100c3840
add esi, 0xc4
sub dword [esp + 8], 1
jne 0x100c3820
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0xc]
test byte [edi + 4], 1
mov eax, dword [edi + 0x20]
jne 0x100c38b4
lea ecx, [eax - 1]
mov eax, ecx
sar eax, 1
or ecx, eax
mov eax, ecx
sar eax, 2
or ecx, eax
mov eax, ecx
sar eax, 4
or ecx, eax
mov eax, ecx
sar eax, 8
or ecx, eax
mov eax, ecx
sar eax, 0x10
or eax, ecx
mov ecx, dword [edi + 0x1c]
inc eax
movss xmm1, dword [0x1026bac0]
movaps xmm2, xmm1
mov dword [edi + 0x20], eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
imul ecx, eax
divss xmm2, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [0x1029a390]
movss dword [edi + 0x24], xmm2
divss xmm1, xmm0
movss dword [edi + 0x28], xmm1
test eax, eax
je 0x100c38f8
inc dword [eax + 0x374]
push dword [0x1029a394]
push ecx
call fcn.100a77d0
mov ecx, dword [edi + 0x20]
imul ecx, dword [edi + 0x1c]
mov dword [edi + 0x14], eax
push ecx
push 0
push eax
call fcn.101e3600
mov eax, dword [edi + 0x14]
add esp, 0x14
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x90], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x78], eax
test edx, edx
jle 0x100c3ace
mov ecx, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x4c], edx
nop dword [eax]
mov esi, dword [edi + 0x54]
add esi, eax
cmp dword [ecx + 0xa8], 0
je 0x100c3aac
push dword [ecx + 0x94]
lea eax, [ecx + 0x7c]
mov edx, ecx
push ecx
push eax
lea ecx, [esp + 0x78]
call fcn.100bee20
movss xmm1, dword [esi + 0x44]
add esp, 0xc
ucomiss xmm1, dword [0x1026bac0]
movss dword [esp + 0x38], xmm1
lahf
test ah, 0x44
jnp 0x100c3a96
xor esi, esi
nop dword [eax]
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1026c3b0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.10209560
movss xmm1, dword [esp + 0x38]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [esp + esi + 0x98], dl
inc esi
cmp esi, 0x100
jb 0x100c39a0
mov ecx, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 0x18], eax
mov edx, dword [ecx + 0x94]
cmp dword [ecx + 0xa8], eax
jle 0x100c3a9a
lea ecx, [edx + 4]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x28], ecx
nop dword [eax]
cmp dword [ecx + 8], 0
je 0x100c3a7e
mov eax, dword [edi + 0x1c]
movzx edx, word [ecx + 6]
movzx esi, word [ecx]
imul edx, eax
mov dword [esp + 8], eax
movzx eax, word [ecx + 4]
add edx, eax
add edx, dword [edi + 0x14]
movzx edi, word [ecx + 2]
test edi, edi
je 0x100c3a72
mov eax, dword [esp + 8]
nop dword [eax]
xor ecx, ecx
test esi, esi
je 0x100c3a67
nop word [eax + eax]
movzx eax, byte [ecx + edx]
mov al, byte [esp + eax + 0x98]
mov byte [ecx + edx], al
inc ecx
cmp ecx, esi
jl 0x100c3a50
mov eax, dword [esp + 8]
dec edi
add edx, eax
test edi, edi
jg 0x100c3a40
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
inc eax
add ecx, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ecx
cmp eax, dword [edx + 0xa8]
jl 0x100c3a10
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [ecx + 0x94], 0
add eax, 0x78
add ecx, 0xc4
sub edx, 1
mov dword [esp + 0x48], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x4c], edx
jne 0x100c3950
mov esi, dword [esp + 0x70]
cmp dword [esp + 0x94], 0
je 0x100c3ae7
mov eax, dword [0x1029a390]
test eax, eax
je 0x100c3ae7
dec dword [eax + 0x374]
push dword [0x1029a394]
push dword [esp + 0x98]
call fcn.100a77e0
add esp, 8
test esi, esi
je 0x100c3b0f
mov eax, dword [0x1029a390]
test eax, eax
je 0x100c3b0f
dec dword [eax + 0x374]
push dword [0x1029a394]
push esi
call fcn.100a77e0
mov ecx, dword [esp + 0x18]
add esp, 8
test ecx, ecx
je 0x100c3b4c
mov eax, dword [0x1029a390]
test eax, eax
je 0x100c3b35
dec dword [eax + 0x374]
push dword [0x1029a394]
push ecx
call fcn.100a77e0
add esp, 8
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x100c3ef6
mov edi, dword [esp + 0x30]
xor ecx, ecx
movss xmm3, dword [0x1026ba54]
add edi, 4
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], eax
nop word [eax + eax]
cmp dword [edi + 0xa4], 0
je 0x100c3e71
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
mov edi, dword [edi + 0x18]
mov eax, dword [eax + 0x54]
mov esi, dword [esi]
add eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [eax + 0x74]
movzx ecx, byte [edi + esi + 6]
movzx edx, byte [edi + esi + 7]
mov dword [esp + 0x18], eax
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
movzx ecx, byte [edi + esi + 4]
movsx eax, dx
movzx edx, byte [edi + esi + 5]
mov esi, dword [esp + 0x38]
mov dword [esp + 8], eax
mov eax, 0x100
cwde
movsx ecx, cx
movss xmm1, dword [esi + 0x10]
imul ecx, eax
mov edi, dword [esp + 0x18]
add dx, cx
movsx eax, dx
mov dword [esp + 0x50], eax
sub eax, dword [esp + 8]
cmp byte [esi + 0x3c], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [esp + 0x38], xmm1
jne 0x100c3cb1
mov ecx, edi
call fcn.100c4690
mov eax, dword [esi + 0x10]
xorps xmm4, xmm4
movd xmm2, dword [esp + 0x50]
movss xmm3, dword [esp + 0x38]
mov dword [edi + 0x10], eax
movaps xmm0, xmm3
mov eax, dword [esp + 0x1c]
cvtdq2ps xmm2, xmm2
mov dword [edi + 0x38], eax
xor eax, eax
mov dword [edi + 0x3c], esi
comiss xmm2, xmm4
mulss xmm0, xmm2
seta al
lea eax, [eax*2 - 1]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm1, dword [esp + 8]
cvtdq2ps xmm1, xmm1
movd xmm2, eax
xor eax, eax
comiss xmm1, xmm4
mulss xmm3, xmm1
seta al
cvtdq2ps xmm2, xmm2
lea eax, [eax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x4c], xmm2
addss xmm0, xmm3
movss xmm3, dword [0x1026ba54]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x50], xmm0
jmp 0x100c3cb6
movss xmm2, dword [edi + 0x4c]
inc word [edi + 0x40]
addss xmm2, xmm3
mov edi, dword [esp + 0x2c]
xor ecx, ecx
movss xmm1, dword [esi + 0x28]
movss dword [esp + 0x54], xmm1
mov dword [esp + 8], ecx
cvttss2si eax, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esi + 0x2c]
movss dword [esp + 0x38], xmm0
cmp dword [edi + 0xa4], ecx
jle 0x100c3e69
xor edx, edx
mov dword [esp + 0x28], edx
nop dword [eax + eax]
mov eax, dword [edi + 0xbc]
movss xmm7, dword [esi + 0x34]
mov eax, dword [eax + ecx*4]
mov ecx, dword [edi + 0x94]
mov dword [esp + 0x50], eax
movss xmm0, dword [ecx + edx + 0x10]
comiss xmm7, xmm0
ja 0x100c3d2c
movss xmm7, dword [esi + 0x38]
minss xmm7, xmm0
ucomiss xmm0, xmm7
movaps xmm6, xmm1
lahf
test ah, 0x44
jnp 0x100c3d58
cmp byte [esi + 0x1c], 0
movaps xmm6, xmm7
subss xmm6, xmm0
mulss xmm6, xmm3
je 0x100c3d54
cvttss2si eax, xmm6
movd xmm6, eax
cvtdq2ps xmm6, xmm6
addss xmm6, xmm1
mov eax, dword [esp + 0x1c]
sub esp, 0x1c
movss xmm3, dword [0x1026bac0]
movss xmm2, dword [0x1026bac0]
movd xmm0, dword [eax + 0x1c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x18], xmm7
divss xmm3, xmm0
movd xmm0, dword [eax + 0x20]
movzx eax, word [ecx + edx]
cvtdq2ps xmm0, xmm0
movd xmm5, eax
movzx eax, word [ecx + edx + 2]
divss xmm2, xmm0
movd xmm4, eax
movzx eax, word [ecx + edx + 4]
cvtdq2ps xmm4, xmm4
movd xmm1, eax
movzx eax, word [ecx + edx + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm4, xmm2
mulss xmm0, xmm2
movss xmm2, dword [ecx + edx + 8]
mulss xmm1, xmm3
movss dword [esp + 0x14], xmm0
movss xmm0, dword [ecx + edx + 0x18]
movss dword [esp + 0x10], xmm1
movss dword [esp + 0xc], xmm4
xorps xmm4, xmm4
addss xmm0, xmm4
cvtdq2ps xmm5, xmm5
addss xmm0, dword [esp + 0x54]
mulss xmm5, xmm3
addss xmm2, xmm4
movss xmm3, dword [ecx + edx + 0xc]
addss xmm3, xmm4
movss dword [esp + 8], xmm5
movss dword [esp + 4], xmm0
addss xmm2, xmm6
movss xmm0, dword [ecx + edx + 0x14]
mov ecx, dword [esp + 0x34]
addss xmm0, xmm4
addss xmm3, dword [esp + 0x54]
addss xmm0, xmm6
movss dword [esp], xmm0
push dword [esp + 0x6c]
call fcn.100c4b70
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x28]
inc ecx
movss xmm1, dword [esp + 0x54]
add edx, 0x1c
movss xmm3, dword [0x1026ba54]
mov dword [esp + 8], ecx
mov dword [esp + 0x28], edx
cmp ecx, dword [edi + 0xa4]
jl 0x100c3d00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
add edi, 0xc4
add ecx, 0x78
sub eax, 1
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], eax
jne 0x100c3b80
mov esi, dword [esp + 0x30]
add esi, 0xb4
nop dword [eax]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x100c3ec5
mov eax, dword [0x1029a390]
test eax, eax
je 0x100c3eb6
dec dword [eax + 0x374]
push dword [0x1029a394]
push ecx
call fcn.100a77e0
add esp, 8
mov ecx, dword [esi]
test ecx, ecx
je 0x100c3ee9
mov eax, dword [0x1029a390]
test eax, eax
je 0x100c3eda
dec dword [eax + 0x374]
push dword [0x1029a394]
push ecx
call fcn.100a77e0
add esp, 8
add esi, 0xc4
sub dword [esp + 0x3c], 1
jne 0x100c3ea0
mov ecx, dword [esp + 0x1c]
call fcn.100c4120
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x23], 1
test ecx, ecx
je 0x100c3f2a
mov eax, dword [0x1029a390]
test eax, eax
je 0x100c3f1b
dec dword [eax + 0x374]
push dword [0x1029a394]
push ecx
call fcn.100a77e0
add esp, 8
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x100c3f50
mov eax, dword [0x1029a390]
test eax, eax
je 0x100c3f41
dec dword [eax + 0x374]
push dword [0x1029a394]
push ecx
call fcn.100a77e0
add esp, 8
mov edi, dword [esp + 0x40]
test edi, edi
je 0x100c3f76
mov eax, dword [0x1029a390]
test eax, eax
je 0x100c3f67
dec dword [eax + 0x374]
push dword [0x1029a394]
push edi
call fcn.100a77e0
add esp, 8
mov eax, dword [esp + 0x30]
test eax, eax
je 0x100c3f9d
mov ecx, dword [0x1029a390]
test ecx, ecx
je 0x100c3f8e
dec dword [ecx + 0x374]
push dword [0x1029a394]
push eax
call fcn.100a77e0
add esp, 8
mov al, byte [esp + 0x23]
pop edi
pop esi
mov esp, ebp
pop ebp
ret