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

Disassembly:
sub esp, 0x120
cmp dword [0x1018d148], 0
push ebx
push ebp
push esi
push edi
je 0x100078ac
lea eax, [esp + 0x10]
or ebp, 0xffffffff
push eax
lea eax, [esp + 0x58]
mov dword [esp + 0xa8], ebp
push eax
call fcn.100031d0
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
xorps xmm1, xmm1
mov esi, dword [0x1015c888]
xor ebx, ebx
pop ecx
pop ecx
movss dword [esp + 0xa0], xmm1
mov dword [esp + 0x54], ebx
mov eax, dword [0x1018d14c]
cmp dword [eax + ebx*4 + 0xfd6], 1
jne 0x100074da
mov eax, dword [eax + ebx*4 + 0x26]
test eax, eax
je 0x100074da
mov eax, dword [eax + 8]
test eax, eax
je 0x100074da
cmp dword [eax + 4], 0
je 0x100074da
lea eax, [esp + 0x3c]
push eax
push ebx
call fcn.10040605
movss xmm0, dword [esp + 0x4c]
lea eax, [esp + 0x50]
cvtps2pd xmm0, xmm0
push eax
lea eax, [esp + 0x64]
push eax
addsd xmm0, qword [0x10083158]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x50]
movss dword [esp + 0x54], xmm1
movss dword [esp + 0x6c], xmm0
movss dword [esp + 0x70], xmm1
call fcn.100030b8
add esp, 0x10
push 1
call edi
push 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1008313c]
subss xmm0, dword [esp + 0x50]
movss dword [esp + 0x18], xmm0
call edi
push 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1008313c]
subss xmm0, dword [esp + 0x50]
mulss xmm0, dword [esp + 0x18]
movss dword [esp + 0x14], xmm0
call edi
push 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10083144]
subss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x18], xmm0
call edi
movss xmm1, dword [esp + 0xa0]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10083144]
subss xmm0, dword [esp + 0x48]
mulss xmm0, dword [esp + 0x14]
addss xmm0, dword [esp + 0x10]
sqrtss xmm0, xmm0
cvtps2pd xmm2, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp + 0xa8], xmm2
comisd xmm2, xmm0
jbe 0x10006d05
ucomiss xmm1, dword [0x10083134]
lahf
test ah, 0x44
jnp 0x10006d05
mov esi, dword [0x1015c888]
jmp 0x100074da
mov eax, dword [0x1018d14c]
mov esi, dword [0x1015c888]
mov ecx, dword [eax + ebx*4 + 0x26]
mov eax, dword [ecx + 8]
cmp byte [eax + 0x1a], 0x13
jne 0x10006d2a
cmp byte [esi + 0x13f3], 0
jne 0x100074da
cmp dword [ecx], 0xa
jge 0x10006d3c
cmp byte [esi + 0x13f6], 0
jne 0x100074da
push 0
push ebx
call fcn.100405cc
mov esi, dword [0x1015c888]
pop ecx
push eax
lea ecx, [esi + 0x23e0]
call fcn.10005eae
cmp eax, 0xffffffff
je 0x10006d69
cmp byte [esi + 0x13f4], 0
jne 0x100074da
push 0
push ebx
call fcn.100405cc
mov esi, dword [0x1015c888]
pop ecx
push eax
lea ecx, [esi + 0x23c8]
call fcn.10005eae
cmp eax, 0xffffffff
je 0x10006d96
cmp byte [esi + 0x13f5], 0
jne 0x100074da
mov eax, dword [0x1018d14c]
mov eax, dword [eax + ebx*4 + 0x26]
mov edx, dword [eax + 8]
mov eax, 0x6a5
movzx ecx, word [edx + 0x7c]
cmp cx, ax
je 0x100074da
mov al, byte [esi + 0x13f1]
cmp al, 1
je 0x100074da
mov edi, 0x3fb
cmp cx, di
jne 0x10006dd4
test al, al
jne 0x100074da
mov edi, 0x3fa
cmp cx, di
jne 0x10006de6
test al, al
jne 0x100074da
cmp dword [edx + 0x20], 0
jne 0x10006df9
cmp byte [esi + 0x1001], 0
jne 0x100074da
cmp dword [edx + 0x1d1], 2
je 0x100074da
cmp byte [esi + 0x23a8], 0
je 0x10006e3d
mov eax, dword [0x1018d14c]
mov edi, 0xff000000
push edi
movzx eax, word [eax]
push eax
call fcn.10040f1a
push edi
push ebx
mov esi, eax
call fcn.10040f1a
add esp, 0x10
cmp eax, esi
mov esi, dword [0x1015c888]
je 0x100074da
cmp byte [esi + 0x13f2], 0
jne 0x10006e53
cmp byte [esi + 0x1008], 0
je 0x10007337
xor ecx, ecx
lea edx, [esi + 0x13f8]
mov edi, 0x3ec
cmp dword [edx], 1
lea eax, [ecx + 1]
lea edx, [edx + 4]
cmovne eax, ecx
mov ecx, eax
sub edi, 1
jne 0x10006e60
test ecx, ecx
jle 0x10007337
cmp byte [esi + 0x1008], 0
je 0x1000730c
xor ebp, ebp
mov dword [esp + 0x14], ebp
cmp byte [esi + ebp + 0x26cc], 1
je 0x100070d7
cmp dword [esi + ebp*4 + 0x479b], 1
je 0x100070d7
mov eax, dword [0x1018d14c]
movzx eax, word [eax]
cmp ebp, eax
jne 0x100072f0
push 0
push 0xffffffffffffffff
call fcn.1002adb8
pop ecx
pop ecx
mov ecx, dword [0x1019a9a4]
mov esi, eax
mov eax, dword [ecx]
call dword [eax]
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x64]
movaps xmm0, xmmword [0x100831a0]
mov ebp, eax
and dword [esp + 0x88], 0
and dword [esp + 0x8c], 0
and dword [esp + 0x90], 0
and dword [esp + 0x24], 0
and dword [esp + 0x28], 0
and dword [esp + 0x2c], 0
and dword [esp + 0x7c], 0
and dword [esp + 0x80], 0
and dword [esp + 0x84], 0
and dword [esp + 0x64], 0
and dword [esp + 0x68], 0
and dword [esp + 0x6c], 0
xor ebx, ebx
movups xmmword [esp + 0xb0], xmm0
mov dword [esp + 0x10], ebp
movaps xmm0, xmmword [0x10083190]
movups xmmword [esp + 0xc0], xmm0
mov dword [esp + 0xe0], 0x17
movaps xmm0, xmmword [0x10083180]
movups xmmword [esp + 0xd0], xmm0
mov dword [esp + 0xe4], 2
mov eax, dword [ebp]
lea ecx, [esp + 0x88]
mov esi, dword [esp + ebx*4 + 0xb0]
push ecx
push esi
mov ecx, ebp
call dword [eax + 0x74]
mov edx, dword [ebp]
lea eax, [esp + 0x24]
push eax
lea eax, [esi + 1]
mov ecx, ebp
push eax
call dword [edx + 0x74]
lea eax, [esp + 0x7c]
push eax
sub esp, 0xc
lea esi, [esp + 0x98]
mov edi, esp
lea eax, [esp + 0x110]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002a6d5
add esp, 0x10
push eax
call fcn.100030b8
pop ecx
pop ecx
lea eax, [esp + 0x64]
push eax
sub esp, 0xc
lea esi, [esp + 0x34]
mov edi, esp
lea eax, [esp + 0x11c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002a6d5
add esp, 0x10
push eax
call fcn.100030b8
movss xmm0, dword [0x10083148]
comiss xmm0, dword [esp + 0x8c]
pop ecx
pop ecx
ja 0x10007035
comiss xmm0, dword [esp + 0x6c]
ja 0x10007035
cvttss2si eax, dword [esp + 0x68]
push 0xffffffffffffffff
mov ecx, dword [0x10194f14]
push eax
cvttss2si eax, dword [esp + 0x6c]
push eax
cvttss2si eax, dword [esp + 0x8c]
push eax
cvttss2si eax, dword [esp + 0x8c]
push eax
call fcn.10041a32
inc ebx
cmp ebx, 0xe
jl 0x10006f6f
mov ebp, dword [esp + 0x14]
push 0x29
pop ebx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
push ebx
mov eax, dword [ecx]
call dword [eax + 0x74]
lea eax, [esp + 0x64]
push eax
sub esp, 0xc
lea esi, [esp + 0x34]
mov edi, esp
lea eax, [esp + 0x128]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002a6d5
add esp, 0x10
push eax
call fcn.100030b8
movss xmm0, dword [0x10083148]
comiss xmm0, dword [esp + 0x8c]
pop ecx
pop ecx
ja 0x100070c6
comiss xmm0, dword [esp + 0x6c]
ja 0x100070c6
cvttss2si eax, dword [esp + 0x68]
push 0xffffffffffffffff
mov ecx, dword [0x10194f14]
push eax
cvttss2si eax, dword [esp + 0x6c]
push eax
cvttss2si eax, dword [esp + 0x8c]
push eax
cvttss2si eax, dword [esp + 0x8c]
push eax
call fcn.10041a32
add ebx, 0xa
cmp ebx, 0x3d
jl 0x10007046
jmp 0x100072ea
push ebp
call fcn.10003f0d
pop ecx
test al, al
je 0x100072f0
mov eax, dword [0x1018d14c]
mov ecx, dword [0x1019a9a4]
mov eax, dword [eax + ebp*4 + 0x26]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
mov esi, dword [eax + 0x2a4]
mov eax, dword [ecx]
call dword [eax]
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x64]
movaps xmm0, xmmword [0x100831a0]
mov ebp, eax
and dword [esp + 0x94], 0
and dword [esp + 0x98], 0
and dword [esp + 0x9c], 0
and dword [esp + 0x30], 0
and dword [esp + 0x34], 0
and dword [esp + 0x38], 0
and dword [esp + 0x18], 0
and dword [esp + 0x1c], 0
and dword [esp + 0x20], 0
and dword [esp + 0x70], 0
and dword [esp + 0x74], 0
and dword [esp + 0x78], 0
xor ebx, ebx
movups xmmword [esp + 0xb0], xmm0
mov dword [esp + 0x10], ebp
movaps xmm0, xmmword [0x10083190]
movups xmmword [esp + 0xc0], xmm0
mov dword [esp + 0xe0], 0x17
movaps xmm0, xmmword [0x10083180]
movups xmmword [esp + 0xd0], xmm0
mov dword [esp + 0xe4], 2
mov eax, dword [ebp]
lea ecx, [esp + 0x94]
mov esi, dword [esp + ebx*4 + 0xb0]
push ecx
push esi
mov ecx, ebp
call dword [eax + 0x74]
mov edx, dword [ebp]
lea eax, [esp + 0x30]
push eax
lea eax, [esi + 1]
mov ecx, ebp
push eax
call dword [edx + 0x74]
lea eax, [esp + 0x18]
push eax
sub esp, 0xc
lea esi, [esp + 0xa4]
mov edi, esp
lea eax, [esp + 0x134]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002a6d5
add esp, 0x10
push eax
call fcn.100030b8
pop ecx
pop ecx
lea eax, [esp + 0x70]
push eax
sub esp, 0xc
lea esi, [esp + 0x40]
mov edi, esp
lea eax, [esp + 0xf8]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002a6d5
add esp, 0x10
push eax
call fcn.100030b8
movss xmm0, dword [0x10083148]
comiss xmm0, dword [esp + 0x28]
pop ecx
pop ecx
ja 0x1000725a
comiss xmm0, dword [esp + 0x78]
ja 0x1000725a
cvttss2si eax, dword [esp + 0x74]
push 0xffffffffffffffff
mov ecx, dword [0x10194f14]
push eax
cvttss2si eax, dword [esp + 0x78]
push eax
cvttss2si eax, dword [esp + 0x28]
push eax
cvttss2si eax, dword [esp + 0x28]
push eax
call fcn.10041a32
inc ebx
cmp ebx, 0xe
jl 0x1000719d
mov ebp, dword [esp + 0x14]
push 0x29
pop ebx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x30]
push edx
push ebx
mov eax, dword [ecx]
call dword [eax + 0x74]
lea eax, [esp + 0x70]
push eax
sub esp, 0xc
lea esi, [esp + 0x40]
mov edi, esp
lea eax, [esp + 0x104]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002a6d5
add esp, 0x10
push eax
call fcn.100030b8
movss xmm0, dword [0x10083148]
comiss xmm0, dword [esp + 0x28]
pop ecx
pop ecx
ja 0x100072e2
comiss xmm0, dword [esp + 0x78]
ja 0x100072e2
cvttss2si eax, dword [esp + 0x74]
push 0xffffffffffffffff
mov ecx, dword [0x10194f14]
push eax
cvttss2si eax, dword [esp + 0x78]
push eax
cvttss2si eax, dword [esp + 0x28]
push eax
cvttss2si eax, dword [esp + 0x28]
push eax
call fcn.10041a32
add ebx, 0xa
cmp ebx, 0x3d
jl 0x1000726b
mov esi, dword [0x1015c888]
inc ebp
mov dword [esp + 0x14], ebp
cmp ebp, 0x3ec
jl 0x10006e8e
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0xa4]
cmp byte [esi + ebx + 0x26cc], 1
je 0x10007323
cmp byte [esi + 0x13f2], 0
jne 0x100074da
cmp byte [esi + 0x42], 0
je 0x10007337
mov byte [esi + ebx + 0x26cc], 1
mov esi, dword [0x1015c888]
cmp byte [esi + 0x13f7], 1
jne 0x100074b1
push ebx
call fcn.10040704
pop ecx
cmp eax, 0x11
jne 0x100073eb
mov eax, dword [0x1018d14c]
mov eax, dword [eax + ebx*4 + 0x26]
mov eax, dword [eax + 8]
mov al, byte [eax + 0x60]
test al, al
je 0x10006cfa
cmp al, 1
je 0x10006cfa
cmp al, 2
je 0x10006cfa
cmp al, 3
je 0x10006cfa
cmp al, 4
je 0x10006cfa
cmp al, 5
je 0x10006cfa
cmp al, 6
je 0x10006cfa
cmp al, 7
je 0x10006cfa
cmp al, 8
je 0x10006cfa
cmp al, 0xa
je 0x10006cfa
cmp al, 0xb
je 0x10006cfa
cmp al, 0xc
je 0x10006cfa
cmp al, 0xd
je 0x10006cfa
cmp al, 0xe
je 0x10006cfa
cmp al, 0xf
je 0x10006cfa
cmp al, 0x2b
je 0x10006cfa
cmp al, 0x2e
je 0x10006cfa
push ebx
call fcn.10040704
pop ecx
cmp eax, 0x12
jne 0x10007492
mov eax, dword [0x1018d14c]
mov eax, dword [eax + ebx*4 + 0x26]
mov eax, dword [eax + 8]
mov al, byte [eax + 0x27]
test al, al
je 0x10006cfa
cmp al, 1
je 0x10006cfa
cmp al, 2
je 0x10006cfa
cmp al, 3
je 0x10006cfa
cmp al, 4
je 0x10006cfa
cmp al, 5
je 0x10006cfa
cmp al, 6
je 0x10006cfa
cmp al, 7
je 0x10006cfa
cmp al, 8
je 0x10006cfa
cmp al, 0xa
je 0x10006cfa
cmp al, 0xb
je 0x10006cfa
cmp al, 0xc
je 0x10006cfa
cmp al, 0xd
je 0x10006cfa
cmp al, 0xe
je 0x10006cfa
cmp al, 0xf
je 0x10006cfa
cmp al, 0x2b
je 0x10006cfa
cmp al, 0x2e
je 0x10006cfa
mov eax, dword [0x1018d14c]
mov eax, dword [eax + ebx*4 + 0x26]
mov eax, dword [eax + 8]
cmp dword [eax + 0x1d1], 2
je 0x10006cfa
mov esi, dword [0x1015c888]
cmp dword [esi + ebx*4 + 0x479b], 0
jne 0x100074da
movsd xmm0, qword [esp + 0xa8]
mov ebp, ebx
cvtpd2ps xmm0, xmm0
mov dword [esp + 0xa4], ebp
movss dword [esp + 0xa0], xmm0
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
inc ebx
mov dword [esp + 0x54], ebx
cmp ebx, 0x3ec
jl 0x10006bb9
cmp byte [esi + 0x4783], 0
je 0x100078a8
mov eax, dword [esi + 0x4791]
cmp eax, 0xffffffff
je 0x100078a8
push eax
call fcn.10040507
mov esi, eax
pop ecx
test esi, esi
je 0x100078ac
mov ecx, dword [0x1019a9a4]
mov eax, dword [ecx]
call dword [eax]
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x64]
mov edi, eax
test edi, edi
je 0x100078ac
xor esi, esi
mov ebx, 0xffff0000
inc esi
cmp esi, 8
jbe 0x10007571
cmp esi, 0x15
jb 0x10007551
cmp esi, 0x1a
jbe 0x10007571
cmp esi, 0x1f
jb 0x1000755b
cmp esi, 0x24
jbe 0x10007571
cmp esi, 0x29
jb 0x10007565
cmp esi, 0x2c
jbe 0x10007571
lea eax, [esi - 0x33]
cmp eax, 3
ja 0x100076c4
mov eax, dword [edi]
lea ecx, [esp + 0x30]
and dword [esp + 0x30], 0
and dword [esp + 0x34], 0
and dword [esp + 0x38], 0
and dword [esp + 0x24], 0
and dword [esp + 0x28], 0
and dword [esp + 0x2c], 0
push ecx
push 8
mov ecx, edi
call dword [eax + 0x74]
mov eax, dword [edi]
lea ecx, [esp + 0x24]
push ecx
push 0x2c
mov ecx, edi
call dword [eax + 0x74]
movss xmm0, dword [esp + 0x30]
lea eax, [esp + 0x3c]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x28]
push eax
movss dword [esp + 0x50], xmm0
lea eax, [esp + 0x5c]
movss xmm0, dword [esp + 0x30]
push eax
movss dword [esp + 0x58], xmm0
call fcn.100030b8
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.100030b8
movss xmm0, dword [0x10083148]
add esp, 0x10
comiss xmm0, dword [esp + 0x44]
ja 0x100076c4
comiss xmm0, dword [esp + 0x20]
ja 0x100076c4
movss xmm3, dword [esp + 0x40]
movss xmm4, dword [esp + 0x3c]
movaps xmm0, xmm3
subss xmm0, dword [esp + 0x1c]
mov ecx, dword [0x10194f14]
push 0
push ebx
sub esp, 0x10
cvtps2pd xmm2, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0x30]
mulsd xmm2, xmm2
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm0
cvtpd2ps xmm1, xmm0
cvtpd2ps xmm0, xmm2
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
mulss xmm0, dword [0x1008314c]
movaps xmm1, xmm0
movss dword [esp + 0xc], xmm0
mulss xmm1, dword [0x10083140]
mulss xmm0, dword [0x10083138]
movss dword [esp + 8], xmm1
mulss xmm1, dword [0x10083140]
subss xmm3, xmm0
subss xmm4, xmm1
movss dword [esp + 4], xmm3
movss dword [esp], xmm4
call fcn.10041815
inc esi
cmp esi, 0x36
jle 0x10007542
mov eax, dword [0x1015c888]
and dword [esp + 0x88], 0
and dword [esp + 0x8c], 0
and dword [esp + 0x90], 0
and dword [esp + 0x94], 0
and dword [esp + 0x98], 0
and dword [esp + 0x9c], 0
cmp byte [eax + 0x4787], 0
je 0x1000787e
mov ecx, dword [0x1019a9ac]
lea edx, [esp + 0x88]
push edx
push 1
mov eax, dword [ecx]
call dword [eax + 0x74]
mov eax, dword [edi]
lea ecx, [esp + 0x94]
push ecx
push 1
mov ecx, edi
call dword [eax + 0x74]
push ebx
sub esp, 0xc
lea esi, [esp + 0xa4]
mov edi, esp
lea eax, [esp + 0x104]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002a6d5
add esp, 0x10
lea esi, [esp + 0x8c]
push eax
sub esp, 0xc
lea eax, [esp + 0xfc]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002a6d5
mov ecx, dword [0x10194f14]
add esp, 0x10
push eax
call fcn.10041d9d
mov ecx, dword [0x1015c888]
cmp byte [ecx + 0x43], 0
je 0x1000787e
mov eax, dword [0x10194ec8]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100831b0]
cvtpd2ps xmm0, xmm0
movss dword [ecx + 0xffd], xmm0
mov eax, dword [0x10194ec4]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
xor esi, esi
addsd xmm0, qword [eax*8 + 0x100831b0]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x10083140]
movss dword [esp + 0x10], xmm0
mov eax, dword [0x1015c888]
cmp byte [esi + eax + 0x26cc], 0
je 0x10007871
push esi
call fcn.10003f0d
pop ecx
test al, al
je 0x10007871
lea eax, [esp + 0x58]
push eax
push esi
call fcn.10040605
movss xmm0, dword [esp + 0x60]
lea eax, [esp + 0x44]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x64]
push eax
movss dword [esp + 0x58], xmm0
lea eax, [esp + 0x54]
movss xmm0, dword [esp + 0x6c]
push eax
movss dword [esp + 0x60], xmm0
call fcn.100030b8
movss xmm0, dword [0x10083148]
add esp, 0x10
comiss xmm0, dword [esp + 0x44]
ja 0x10007871
cvttss2si eax, dword [esp + 0x40]
mov ecx, dword [0x10194f14]
push ebx
push eax
cvttss2si eax, dword [esp + 0x44]
push eax
cvttss2si eax, dword [esp + 0x1c]
push 0
push eax
call fcn.10041a32
inc esi
cmp esi, 0x3ec
jl 0x100077e4
mov ecx, dword [0x10194f14]
push 0xff
push ebx
sub esp, 0x10
and dword [esp + 0xc], 0
mov dword [esp + 8], 0x41400000
and dword [esp + 4], 0
and dword [esp], 0
call fcn.10041815
mov eax, ebp
jmp 0x100078af
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret