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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb0
mov eax, dword [0x1032bb20]
xor edx, edx
push esi
push edi
mov esi, ecx
mov eax, dword [eax + 0x1e3c]
push str.Background
mov ecx, dword [eax]
call fcn.10151830
mov edi, dword [ebp + 8]
add esp, 4
mov dword [esp + 0x4c], eax
mov edx, dword [edi + 0x10]
test edx, edx
je 0x1012907f
mov ecx, dword [0x103280dc]
mov eax, dword [ecx + 0x10]
mov ecx, edx
movd xmm2, dword [eax + 0x18]
mov eax, dword [0x103280d8]
cvtdq2ps xmm2, xmm2
mov eax, dword [eax]
mulss xmm2, dword [eax + 0x1c]
movaps xmm0, xmm2
subss xmm0, dword [edi + 0x18]
comiss xmm0, dword [0x102cd1d0]
jbe 0x10128776
movss xmm1, dword [0x102cd2fc]
movaps xmm0, xmm2
divss xmm1, dword [0x102cd4b4]
subss xmm0, dword [edi + 0x1c]
comiss xmm0, xmm1
jbe 0x10128776
lea ecx, [edx - 1]
mov dword [edi + 0x10], ecx
test ecx, ecx
jne 0x1012876a
mov dword [edi + 0xc], ecx
jmp 0x1012876d
inc dword [edi + 0xc]
addss xmm1, xmm2
movss dword [edi + 0x1c], xmm1
test ecx, ecx
je 0x1012907f
cmp dword [esi + 0x3c], 4
jne 0x10128e3c
mov eax, dword [edi + 0xc]
lea edx, [esp + 0x24]
dec eax
mov dword [esp + 0x28], 0
add eax, ecx
mov dword [esp + 0x24], 0
mov ecx, dword [edi + 8]
dec ecx
and ecx, eax
mov eax, dword [edi + 4]
push edx
push dword [eax + ecx*4]
call fcn.1019e450
xorps xmm0, xmm0
test al, al
je 0x10128e3f
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
dec ecx
mov esi, dword [0x103280c8]
add eax, ecx
mov ecx, dword [edi + 8]
dec ecx
movss dword [esp + 0xc], xmm0
and ecx, eax
mov dword [esp + 0x40], esi
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x10]
add ecx, eax
mov dword [esp + 0x50], ecx
cmp eax, ecx
je 0x10128e3f
mov edi, eax
nop
mov eax, dword [esi + 0xc]
mov ecx, edi
dec eax
shr ecx, 1
and ecx, eax
mov edx, edi
mov eax, dword [esi + 8]
and edx, 1
mov dword [esp + 0x10], edx
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x30], eax
mov edx, dword [eax + edx*8]
mov eax, dword [0x103280d8]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
movsx eax, byte [edx + 0xc]
push eax
call esi
mov esi, eax
test esi, esi
je 0x10128d00
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + eax*8]
cmp byte [eax + 1], 0
je 0x10128d00
cmp byte [eax + 2], 0
jne 0x10128d00
mov eax, dword [esp + 0x18]
sub esp, 8
movss xmm0, dword [esi + 0x1d4]
movss xmm5, dword [esi + 0x1d8]
movaps xmm1, xmm0
movss xmm3, dword [esi + 0x1dc]
movaps xmm2, xmm5
subss xmm2, dword [eax + 4]
subss xmm1, dword [eax]
movss dword [esp + 0x28], xmm0
movaps xmm0, xmm3
subss xmm0, dword [eax + 8]
movss dword [esp + 0x50], xmm5
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
movss dword [esp + 0x38], xmm3
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.100e5cd0
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
add esp, 8
comiss xmm0, dword [0x102cd59c]
ja 0x10128d00
movss xmm0, dword [esp + 0x30]
mov ecx, esi
mov eax, dword [esi]
movaps xmm3, xmm0
addss xmm3, dword [0x102cd4a8]
movss xmm1, dword [esp + 0x20]
movss xmm2, dword [esp + 0x48]
mov eax, dword [eax + 0x28]
movss dword [esp + 0xa8], xmm0
movss dword [esp + 0x90], xmm3
subss xmm3, xmm0
addss xmm0, dword [0x102cd4bc]
movss dword [esp + 0xa0], xmm1
movss dword [esp + 0xa4], xmm2
movss dword [esp + 0x88], xmm1
movss dword [esp + 0x8c], xmm2
movss dword [esp + 8], xmm3
movss dword [esp + 0x94], xmm1
movss dword [esp + 0x98], xmm2
movss dword [esp + 0x9c], xmm0
call eax
sub esp, 8
movss xmm0, dword [eax + 4]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [0x102cd3ac]
divss xmm0, dword [0x102cd540]
mulss xmm0, dword [eax]
movss dword [esp + 0x44], xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100e5d80
movss xmm0, dword [esp + 0x44]
cvtps2pd xmm0, xmm0
fstp dword [esp + 0x84]
movsd qword [esp], xmm0
call fcn.100e5dd0
movss xmm0, dword [0x102cd3ac]
divss xmm0, dword [0x102cd540]
fstp dword [esp + 0x8c]
mulss xmm0, dword [esp + 0x34]
movss dword [esp + 0x34], xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100e5d80
movss xmm0, dword [esp + 0x34]
cvtps2pd xmm0, xmm0
fstp dword [esp + 0x7c]
movsd qword [esp], xmm0
call fcn.100e5dd0
movss xmm0, dword [0x102cd3ac]
divss xmm0, dword [0x102cd540]
fstp dword [esp + 0x88]
mulss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x3c], xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100e5d80
movss xmm0, dword [esp + 0x3c]
cvtps2pd xmm0, xmm0
fstp dword [esp + 0x80]
movsd qword [esp], xmm0
call fcn.100e5dd0
movss xmm7, dword [0x102cd628]
movss xmm0, dword [esp + 0x7c]
xorps xmm0, xmmword [0x102cd9f0]
movss xmm4, dword [esp + 0x80]
fstp dword [esp + 0x78]
movss xmm5, dword [esp + 0x78]
movaps xmm6, xmm5
mulss xmm5, xmm7
mulss xmm6, xmm7
mulss xmm5, dword [esp + 0x88]
mulss xmm6, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0x84]
mulss xmm0, dword [esp + 0x88]
subss xmm6, xmm0
movaps xmm0, xmm4
movss dword [esp + 0x34], xmm6
mulss xmm0, dword [esp + 0x84]
movaps xmm1, xmm6
mulss xmm4, xmm7
mulss xmm0, dword [esp + 0x7c]
mulss xmm4, dword [esp + 0x8c]
subss xmm5, xmm0
mulss xmm1, xmm6
mulss xmm4, xmm4
movaps xmm0, xmm5
movss dword [esp + 0x44], xmm5
mulss xmm0, xmm5
addss xmm1, xmm0
addss xmm1, xmm4
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100e5cd0
fstp dword [esp + 0x3c]
movss xmm3, dword [esp + 0x3c]
add esp, 8
xorps xmm0, xmm0
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x10128b32
movss xmm2, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x3c]
divss xmm2, xmm3
divss xmm1, xmm3
jmp 0x10128b38
xorps xmm2, xmm2
xorps xmm1, xmm1
mulss xmm2, dword [0x102cd470]
lea edx, [esp + 0x88]
mov ecx, dword [esp + 0x18]
movss xmm0, dword [esp + 0x20]
mulss xmm1, dword [0x102cd470]
push esi
movss xmm6, dword [esp + 0xc]
subss xmm0, xmm2
addss xmm2, dword [esp + 0x24]
movss dword [esp + 0xb0], xmm0
movss xmm0, dword [esp + 0x4c]
subss xmm0, xmm1
movss dword [esp + 0x5c], xmm2
addss xmm1, dword [esp + 0x4c]
movss dword [esp + 0xb4], xmm0
movaps xmm0, xmm6
addss xmm0, dword [esp + 0x34]
addss xmm6, dword [esp + 0x34]
movss dword [esp + 0x60], xmm1
movss dword [esp + 0xb8], xmm0
movss dword [esp + 0x64], xmm6
call fcn.101290d0
mulss xmm0, dword [0x102cd2a0]
lea edx, [esp + 0x98]
mov ecx, dword [esp + 0x1c]
add esp, 4
addss xmm0, dword [0x102cd1d0]
push esi
movss dword [esp + 0xc], xmm0
call fcn.101290d0
mulss xmm0, dword [0x102cd270]
lea edx, [esp + 0xa4]
mov ecx, dword [esp + 0x1c]
add esp, 4
addss xmm0, dword [esp + 8]
push esi
movss dword [esp + 0xc], xmm0
call fcn.101290d0
mulss xmm0, dword [0x102cd270]
lea edx, [esp + 0xb0]
mov ecx, dword [esp + 0x1c]
add esp, 4
addss xmm0, dword [esp + 8]
push esi
movss dword [esp + 0xc], xmm0
call fcn.101290d0
mulss xmm0, dword [0x102cd24c]
lea edx, [esp + 0x5c]
mov ecx, dword [esp + 0x1c]
add esp, 4
addss xmm0, dword [esp + 8]
push esi
movss dword [esp + 0xc], xmm0
call fcn.101290d0
movss xmm2, dword [0x102cd4f0]
add esp, 4
movaps xmm1, xmm2
mulss xmm0, dword [0x102cd24c]
divss xmm1, dword [0x102cd59c]
push 0
push esi
addss xmm0, dword [esp + 0x10]
mulss xmm1, dword [esp + 0x18]
subss xmm2, xmm1
mulss xmm2, xmm0
movaps xmm3, xmm2
movss dword [esp + 0x18], xmm2
call fcn.101bc580
movss xmm1, dword [esp + 0x10]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10128d03
mov ecx, esi
call fcn.10021790
cmp dword [eax], 0
jle 0x10128cc1
movss xmm0, dword [0x102cd4bc]
jmp 0x10128cc9
movss xmm0, dword [0x102cd4ec]
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [esp], xmm0
call fcn.100e5878
fstp dword [esp + 0x10]
movss xmm1, dword [esp + 0x10]
add esp, 8
addss xmm1, dword [esp + 0xc]
xorps xmm0, xmm0
movss dword [esp + 0xc], xmm1
jmp 0x10128d09
xorps xmm0, xmm0
movss xmm1, dword [esp + 0xc]
mov esi, dword [esp + 0x40]
inc edi
cmp edi, dword [esp + 0x50]
jne 0x10128800
comiss xmm1, xmm0
mov edi, dword [ebp + 8]
jbe 0x10128e3f
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10329638]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1033695c]
cmp eax, dword [ecx + 4]
jg 0x10129087
mov eax, dword [0x103280dc]
mov ecx, dword [eax + 0x1c]
mov ecx, dword [ecx + 0x8d8]
call fcn.1015c700
cvttss2si eax, dword [esp + 0xc]
sub esp, 8
mov dword [esp + 0x48], 0x10000000
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], eax
mov eax, esp
push 6
push str._DMG
mov dword [eax + 4], ecx
lea ecx, [esp + 0x68]
mov dword [eax], 1
call fcn.1000cc10
mov ecx, dword [0x1032bb20]
lea eax, [esp + 0x60]
movss xmm3, dword [0x102cd604]
lea esi, [esp + 0x68]
add esp, 0x10
cmp dword [esp + 0x6c], 0xf
movss xmm2, dword [ecx + 0x1a70]
cmova esi, dword [esp + 0x58]
push 0
push 0
push str.100_DMG
push ecx
mov ecx, dword [ecx + 0x1a6c]
mov dword [esp], 0xbf800000
push eax
call fcn.1016fbe0
movss xmm0, dword [esp + 0x50]
addss xmm0, dword [0x102cd2f4]
movss xmm1, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x50]
push esi
cvttss2si eax, xmm0
push dword [0x10336960]
movd xmm0, eax
lea eax, [esp + 0x30]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x102cd360]
subss xmm1, xmm0
movss xmm0, dword [esp + 0x38]
subss xmm0, dword [0x102cd440]
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x38], xmm0
call fcn.10171700
lea ecx, [esp + 0x58]
call fcn.10003f00
call fcn.1015c870
xorps xmm0, xmm0
xor eax, eax
mov byte [esp + 0x17], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], eax
cmp dword [edi + 0x10], eax
jbe 0x1012907f
mov ecx, dword [edi + 0xc]
add ecx, eax
movss dword [esp + 0xc], xmm0
mov eax, dword [edi + 8]
dec eax
movss dword [esp + 0x18], xmm0
and ecx, eax
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x10], eax
mov eax, dword [0x103280d8]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x98]
call eax
mov esi, eax
mov eax, dword [esp + 0x10]
movss xmm0, dword [esi + 0x34]
mulss xmm0, dword [eax + 4]
movss xmm1, dword [esi + 0x30]
mulss xmm1, dword [eax]
addss xmm1, xmm0
movss xmm0, dword [esi + 0x38]
mulss xmm0, dword [eax + 8]
addss xmm1, xmm0
movss xmm0, dword [0x102cd1f8]
addss xmm1, dword [esi + 0x3c]
comiss xmm0, xmm1
movss dword [esp + 0x40], xmm1
jbe 0x10128ee0
xor al, al
jmp 0x1012904e
mov eax, dword [0x103280d8]
lea edx, [esp + 8]
push edx
lea edx, [esp + 0x54]
push edx
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x14]
cmp byte [esp + 0x17], 0
mov eax, dword [esp + 0x10]
movss xmm2, dword [eax + 4]
movss xmm3, dword [eax]
movaps xmm4, xmm2
mulss xmm4, dword [esi + 4]
movaps xmm0, xmm3
mulss xmm0, dword [esi]
movss xmm1, dword [eax + 8]
mov al, 1
mulss xmm3, dword [esi + 0x10]
mov byte [esp + 0x1f], al
addss xmm4, xmm0
mulss xmm2, dword [esi + 0x14]
movaps xmm0, xmm1
mulss xmm1, dword [esi + 0x18]
mulss xmm0, dword [esi + 8]
addss xmm3, xmm2
addss xmm4, xmm0
movd xmm0, dword [esp + 0x50]
cvtdq2ps xmm0, xmm0
addss xmm3, xmm1
movss xmm1, dword [0x102cd2fc]
addss xmm4, dword [esi + 0xc]
divss xmm0, dword [0x102cd360]
divss xmm4, dword [esp + 0x40]
addss xmm3, dword [esi + 0x1c]
addss xmm4, dword [0x102cd2fc]
divss xmm3, dword [esp + 0x40]
mulss xmm4, xmm0
movd xmm0, dword [esp + 8]
subss xmm1, xmm3
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x18], xmm4
divss xmm0, dword [0x102cd360]
movss dword [esp + 0x34], xmm4
mulss xmm1, xmm0
movss dword [esp + 0xc], xmm1
movss dword [esp + 0x38], xmm1
je 0x1012905a
mov eax, dword [0x103280cc]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x10]
add ecx, 0xd4
shr eax, 1
movss xmm3, dword [ecx + 0xc]
cmp edx, eax
jae 0x10128fff
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movd xmm3, edx
addsd xmm0, qword [eax*8 + 0x102cd8f0]
cvtdq2ps xmm3, xmm3
cvtpd2ps xmm0, xmm0
divss xmm3, xmm0
movss xmm0, dword [ecx]
movss xmm1, dword [ecx + 4]
movss xmm2, dword [ecx + 8]
push ecx
lea ecx, [esp + 0x5c]
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x60], xmm1
movss dword [esp + 0x64], xmm2
movss dword [esp + 0x68], xmm3
mov dword [esp], 0x3f800000
call fcn.1015c630
mov ecx, dword [esp + 0x50]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.10171770
mov al, byte [esp + 0x1f]
movss xmm1, dword [esp + 0xc]
movss xmm4, dword [esp + 0x18]
mov byte [esp + 0x17], al
xorps xmm0, xmm0
mov eax, dword [esp + 0x20]
inc eax
movss dword [esp + 0x24], xmm4
movss dword [esp + 0x28], xmm1
mov dword [esp + 0x20], eax
cmp eax, dword [edi + 0x10]
jb 0x10128e63
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x1033695c
call fcn.100bbde8
add esp, 4
cmp dword [0x1033695c], 0xffffffff
jne 0x10128d44
movaps xmm0, xmmword [0x102cd8d0]
lea ecx, [esp + 0x58]
movups xmmword [esp + 0x58], xmm0
call fcn.1015c630
push 0x1033695c
mov dword [0x10336960], eax
call fcn.100bbd97
add esp, 4
jmp 0x10128d44