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

Disassembly:
sub esp, 0x120
cmp dword [0x1018d148], 0
push ebx
push ebp
push esi
push edi
je 0x100078f4
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 0x10007522
mov eax, dword [eax + ebx*4 + 0x26]
test eax, eax
je 0x10007522
mov eax, dword [eax + 8]
test eax, eax
je 0x10007522
cmp dword [eax + 4], 0
je 0x10007522
lea eax, [esp + 0x3c]
push eax
push ebx
call fcn.10040700
movss xmm0, dword [esp + 0x4c]
lea eax, [esp + 0x50]
cvtps2pd xmm0, xmm0
push eax
lea eax, [esp + 0x64]
push eax
addsd xmm0, qword [0x100831c0]
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 [0x100831a0]
subss xmm0, dword [esp + 0x50]
movss dword [esp + 0x18], xmm0
call edi
push 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100831a0]
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 [0x100831a8]
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 [0x100831a8]
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 0x10006d4d
ucomiss xmm1, dword [0x10083198]
lahf
test ah, 0x44
jnp 0x10006d4d
mov esi, dword [0x1015c888]
jmp 0x10007522
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 0x10006d72
cmp byte [esi + 0x13f3], 0
jne 0x10007522
cmp dword [ecx], 0xa
jge 0x10006d84
cmp byte [esi + 0x13f6], 0
jne 0x10007522
push 0
push ebx
call fcn.100406c7
mov esi, dword [0x1015c888]
pop ecx
push eax
lea ecx, [esi + 0x23e0]
call fcn.10005ee7
cmp eax, 0xffffffff
je 0x10006db1
cmp byte [esi + 0x13f4], 0
jne 0x10007522
push 0
push ebx
call fcn.100406c7
mov esi, dword [0x1015c888]
pop ecx
push eax
lea ecx, [esi + 0x23c8]
call fcn.10005ee7
cmp eax, 0xffffffff
je 0x10006dde
cmp byte [esi + 0x13f5], 0
jne 0x10007522
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 0x10007522
mov al, byte [esi + 0x13f1]
cmp al, 1
je 0x10007522
mov edi, 0x3fb
cmp cx, di
jne 0x10006e1c
test al, al
jne 0x10007522
mov edi, 0x3fa
cmp cx, di
jne 0x10006e2e
test al, al
jne 0x10007522
cmp dword [edx + 0x20], 0
jne 0x10006e41
cmp byte [esi + 0x1001], 0
jne 0x10007522
cmp dword [edx + 0x1d1], 2
je 0x10007522
cmp byte [esi + 0x23a8], 0
je 0x10006e85
mov eax, dword [0x1018d14c]
mov edi, 0xff000000
push edi
movzx eax, word [eax]
push eax
call fcn.10041015
push edi
push ebx
mov esi, eax
call fcn.10041015
add esp, 0x10
cmp eax, esi
mov esi, dword [0x1015c888]
je 0x10007522
cmp byte [esi + 0x13f2], 0
jne 0x10006e9b
cmp byte [esi + 0x1008], 0
je 0x1000737f
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 0x10006ea8
test ecx, ecx
jle 0x1000737f
cmp byte [esi + 0x1008], 0
je 0x10007354
xor ebp, ebp
mov dword [esp + 0x14], ebp
cmp byte [esi + ebp + 0x26cc], 1
je 0x1000711f
cmp dword [esi + ebp*4 + 0x479c], 1
je 0x1000711f
mov eax, dword [0x1018d14c]
movzx eax, word [eax]
cmp ebp, eax
jne 0x10007338
push 0
push 0xffffffffffffffff
call fcn.1002ae00
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 [0x10083200]
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 [0x100831f0]
movups xmmword [esp + 0xc0], xmm0
mov dword [esp + 0xe0], 0x17
movaps xmm0, xmmword [0x100831e0]
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.1002a71d
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.1002a71d
add esp, 0x10
push eax
call fcn.100030b8
movss xmm0, dword [0x100831ac]
comiss xmm0, dword [esp + 0x8c]
pop ecx
pop ecx
ja 0x1000707d
comiss xmm0, dword [esp + 0x6c]
ja 0x1000707d
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.10041b2d
inc ebx
cmp ebx, 0xe
jl 0x10006fb7
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.1002a71d
add esp, 0x10
push eax
call fcn.100030b8
movss xmm0, dword [0x100831ac]
comiss xmm0, dword [esp + 0x8c]
pop ecx
pop ecx
ja 0x1000710e
comiss xmm0, dword [esp + 0x6c]
ja 0x1000710e
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.10041b2d
add ebx, 0xa
cmp ebx, 0x3d
jl 0x1000708e
jmp 0x10007332
push ebp
call fcn.10003f08
pop ecx
test al, al
je 0x10007338
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 [0x10083200]
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 [0x100831f0]
movups xmmword [esp + 0xc0], xmm0
mov dword [esp + 0xe0], 0x17
movaps xmm0, xmmword [0x100831e0]
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.1002a71d
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.1002a71d
add esp, 0x10
push eax
call fcn.100030b8
movss xmm0, dword [0x100831ac]
comiss xmm0, dword [esp + 0x28]
pop ecx
pop ecx
ja 0x100072a2
comiss xmm0, dword [esp + 0x78]
ja 0x100072a2
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.10041b2d
inc ebx
cmp ebx, 0xe
jl 0x100071e5
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.1002a71d
add esp, 0x10
push eax
call fcn.100030b8
movss xmm0, dword [0x100831ac]
comiss xmm0, dword [esp + 0x28]
pop ecx
pop ecx
ja 0x1000732a
comiss xmm0, dword [esp + 0x78]
ja 0x1000732a
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.10041b2d
add ebx, 0xa
cmp ebx, 0x3d
jl 0x100072b3
mov esi, dword [0x1015c888]
inc ebp
mov dword [esp + 0x14], ebp
cmp ebp, 0x3ec
jl 0x10006ed6
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0xa4]
cmp byte [esi + ebx + 0x26cc], 1
je 0x1000736b
cmp byte [esi + 0x13f2], 0
jne 0x10007522
cmp byte [esi + 0x42], 0
je 0x1000737f
mov byte [esi + ebx + 0x26cc], 1
mov esi, dword [0x1015c888]
cmp byte [esi + 0x13f7], 1
jne 0x100074f9
push ebx
call fcn.100407ff
pop ecx
cmp eax, 0x11
jne 0x10007433
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 0x10006d42
cmp al, 1
je 0x10006d42
cmp al, 2
je 0x10006d42
cmp al, 3
je 0x10006d42
cmp al, 4
je 0x10006d42
cmp al, 5
je 0x10006d42
cmp al, 6
je 0x10006d42
cmp al, 7
je 0x10006d42
cmp al, 8
je 0x10006d42
cmp al, 0xa
je 0x10006d42
cmp al, 0xb
je 0x10006d42
cmp al, 0xc
je 0x10006d42
cmp al, 0xd
je 0x10006d42
cmp al, 0xe
je 0x10006d42
cmp al, 0xf
je 0x10006d42
cmp al, 0x2b
je 0x10006d42
cmp al, 0x2e
je 0x10006d42
push ebx
call fcn.100407ff
pop ecx
cmp eax, 0x12
jne 0x100074da
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 0x10006d42
cmp al, 1
je 0x10006d42
cmp al, 2
je 0x10006d42
cmp al, 3
je 0x10006d42
cmp al, 4
je 0x10006d42
cmp al, 5
je 0x10006d42
cmp al, 6
je 0x10006d42
cmp al, 7
je 0x10006d42
cmp al, 8
je 0x10006d42
cmp al, 0xa
je 0x10006d42
cmp al, 0xb
je 0x10006d42
cmp al, 0xc
je 0x10006d42
cmp al, 0xd
je 0x10006d42
cmp al, 0xe
je 0x10006d42
cmp al, 0xf
je 0x10006d42
cmp al, 0x2b
je 0x10006d42
cmp al, 0x2e
je 0x10006d42
mov eax, dword [0x1018d14c]
mov eax, dword [eax + ebx*4 + 0x26]
mov eax, dword [eax + 8]
cmp dword [eax + 0x1d1], 2
je 0x10006d42
mov esi, dword [0x1015c888]
cmp dword [esi + ebx*4 + 0x479c], 0
jne 0x10007522
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 0x10006c01
cmp byte [esi + 0x4783], 0
je 0x100078f0
mov eax, dword [esi + 0x4791]
cmp eax, 0xffffffff
je 0x100078f0
push eax
call fcn.10040602
mov esi, eax
pop ecx
test esi, esi
je 0x100078f4
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 0x100078f4
xor esi, esi
mov ebx, 0xffff0000
inc esi
cmp esi, 8
jbe 0x100075b9
cmp esi, 0x15
jb 0x10007599
cmp esi, 0x1a
jbe 0x100075b9
cmp esi, 0x1f
jb 0x100075a3
cmp esi, 0x24
jbe 0x100075b9
cmp esi, 0x29
jb 0x100075ad
cmp esi, 0x2c
jbe 0x100075b9
lea eax, [esi - 0x33]
cmp eax, 3
ja 0x1000770c
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 [0x100831ac]
add esp, 0x10
comiss xmm0, dword [esp + 0x44]
ja 0x1000770c
comiss xmm0, dword [esp + 0x20]
ja 0x1000770c
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 [0x100831b0]
movaps xmm1, xmm0
movss dword [esp + 0xc], xmm0
mulss xmm1, dword [0x100831a4]
mulss xmm0, dword [0x1008319c]
movss dword [esp + 8], xmm1
mulss xmm1, dword [0x100831a4]
subss xmm3, xmm0
subss xmm4, xmm1
movss dword [esp + 4], xmm3
movss dword [esp], xmm4
call fcn.10041910
inc esi
cmp esi, 0x36
jle 0x1000758a
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 0x100078c6
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.1002a71d
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.1002a71d
mov ecx, dword [0x10194f14]
add esp, 0x10
push eax
call fcn.10041e98
mov ecx, dword [0x1015c888]
cmp byte [ecx + 0x43], 0
je 0x100078c6
mov eax, dword [0x10194ec8]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10083210]
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 + 0x10083210]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x100831a4]
movss dword [esp + 0x10], xmm0
mov eax, dword [0x1015c888]
cmp byte [esi + eax + 0x26cc], 0
je 0x100078b9
push esi
call fcn.10003f08
pop ecx
test al, al
je 0x100078b9
lea eax, [esp + 0x58]
push eax
push esi
call fcn.10040700
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 [0x100831ac]
add esp, 0x10
comiss xmm0, dword [esp + 0x44]
ja 0x100078b9
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.10041b2d
inc esi
cmp esi, 0x3ec
jl 0x1000782c
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.10041910
mov eax, ebp
jmp 0x100078f7
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret