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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
mov eax, dword [0x10110040]
xor eax, esp
mov dword [esp + 0xe4], eax
push esi
push edi
mov edi, dword [0x1011138c]
mov dword [esp + 0x1c], edx
mov edx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x48], edx
mov eax, dword [edi + 0x1b9c]
mov dword [esp + 0x10], ecx
mov byte [eax + 0x8c], 1
mov eax, dword [edi + 0x1b9c]
mov dword [esp + 0x24], eax
cmp byte [eax + 0x8f], 0
je 0x10056969
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.100c100d
mov esp, ebp
pop ebp
ret
test byte [edi + 0x1c24], 1
movss xmm2, dword [edi + 0x1554]
addss xmm2, xmm2
addss xmm2, dword [edi + 0x1930]
movss dword [esp + 0x58], xmm2
je 0x10056996
movss xmm0, dword [edi + 0x1c28]
jmp 0x1005699e
movss xmm0, dword [eax + 0x180]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x100569e0
cmp dword [eax + 0x168], 0
movss xmm1, dword [eax + 0x218]
jne 0x100569c0
cmp dword [edi + 0x1f04], 0
je 0x100569c8
movss xmm1, dword [eax + 0x1e8]
subss xmm1, dword [eax + 0xd0]
addss xmm1, xmm0
movss xmm0, dword [0x10109bb4]
maxss xmm0, xmm1
cvttss2si esi, xmm0
mov dword [esp + 0x2c], esi
movd xmm3, esi
cvtdq2ps xmm3, xmm3
test cl, 0x10
je 0x100569f9
xorps xmm0, xmm0
jmp 0x10056a04
movaps xmm0, xmm2
addss xmm0, dword [edi + 0x1568]
movss dword [esp + 0x50], xmm0
movaps xmm1, xmm3
mov dword [esp + 0x44], edx
subss xmm1, xmm0
movss dword [esp + 0x4c], xmm1
cmp edx, 0xffffffff
jae 0x10056a40
mov esi, edx
mov cl, byte [esi]
test cl, cl
je 0x10056a3c
cmp cl, 0x23
jne 0x10056a32
cmp byte [esi + 1], cl
je 0x10056a3c
inc esi
mov dword [esp + 0x44], esi
cmp esi, 0xffffffff
jb 0x10056a22
mov esi, dword [esp + 0x2c]
mov dword [edi + 0x1c24], 0
call fcn.1003aa80
mov ecx, dword [esp + 0x48]
call fcn.1003a340
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
test cl, 0x20
je 0x10056a75
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0x10], ecx
test cl, 8
jne 0x10056a89
mov edx, ecx
mov ecx, dword [esp + 0x1c]
call fcn.1005abf0
mov ecx, dword [esp + 0x10]
test ecx, 0x700000
jne 0x10056a9e
mov eax, dword [edi + 0x2e6c]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x10056ab3
mov eax, dword [edi + 0x2e6c]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x10056ac8
mov eax, dword [edi + 0x2e6c]
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x10056add
mov eax, dword [edi + 0x2e6c]
and eax, 0x18000000
or ecx, eax
mov eax, dword [edi + 0x2e6c]
and eax, 0xe00fffff
or ecx, eax
mov edx, ecx
mov dword [esp + 0x10], ecx
shr edx, 1
mov eax, ecx
shr eax, 0x13
not dl
and eax, 0xffffff01
and edx, 0xffffff01
mov dword [esp + 0x5c], eax
mov dword [esp + 0x38], edx
movzx eax, dl
mov edx, dword [esp + 0x1c]
add eax, 3
cmp byte [esp + 0x38], 0
mov dword [esp + 0x28], eax
movss xmm3, dword [edx]
movss xmm1, dword [edx + 4]
movss xmm2, dword [edx + 8]
movss dword [esp + 0x88], xmm3
movss dword [esp + 0x8c], xmm1
movss dword [esp + 0x90], xmm2
je 0x10056b51
movss xmm4, dword [edx + 0xc]
jmp 0x10056b59
movss xmm4, dword [0x10109bb4]
mov eax, ecx
movss dword [esp + 0x94], xmm4
and eax, 0x10100000
cmp eax, 0x10100000
jne 0x10056be0
lea eax, [esp + 0x90]
movaps xmm0, xmm3
push eax
lea edx, [esp + 0x90]
lea ecx, [esp + 0x8c]
call fcn.1002f200
movss xmm4, dword [esp + 0x98]
add esp, 4
movss xmm2, dword [esp + 0x90]
movss xmm1, dword [esp + 0x8c]
movss xmm3, dword [esp + 0x88]
mov ecx, dword [esp + 0x10]
xorps xmm5, xmm5
comiss xmm3, xmm5
movss xmm6, dword [0x10109ca8]
movss xmm0, dword [0x10109b70]
jb 0x10056d01
movss dword [esp + 0x14], xmm0
jmp 0x10056d07
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x10056bb9
comiss xmm2, xmm1
xorps xmm5, xmm5
movss dword [esp + 0x18], xmm2
xorps xmm7, xmm7
movaps xmm6, xmm1
jbe 0x10056c15
movss xmm7, dword [0x10109cb8]
movaps xmm6, xmm2
movss dword [esp + 0x18], xmm1
jmp 0x10056c18
movaps xmm1, xmm2
comiss xmm6, xmm3
movaps xmm2, xmm3
jbe 0x10056c35
movss xmm0, dword [0x10109ca4]
movaps xmm2, xmm6
subss xmm0, xmm7
movaps xmm6, xmm3
movaps xmm7, xmm0
movaps xmm0, xmm6
mov eax, dword [edi + 0x2e78]
minss xmm0, xmm1
movaps xmm1, xmm2
movaps xmm3, xmm6
movss dword [esp + 0x90], xmm2
subss xmm3, dword [esp + 0x18]
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x10109c24]
addss xmm0, dword [0x10109b24]
divss xmm3, xmm0
movaps xmm0, xmm2
addss xmm3, xmm7
addss xmm0, dword [0x10109b24]
andps xmm3, xmmword [0x1010a190]
divss xmm1, xmm0
movss dword [esp + 0x88], xmm3
movss dword [esp + 0x8c], xmm1
cmp eax, dword [edx]
jne 0x10056bbc
mov eax, dword [edi + 0x2e7c]
cmp eax, dword [edx + 4]
jne 0x10056bbc
mov eax, dword [edi + 0x2e80]
cmp eax, dword [edx + 8]
jne 0x10056bbc
ucomiss xmm1, xmm5
lahf
test ah, 0x44
jp 0x10056cde
movss xmm3, dword [edi + 0x2e70]
movss dword [esp + 0x88], xmm3
ucomiss xmm2, xmm5
lahf
test ah, 0x44
jp 0x10056bbc
movss xmm1, dword [edi + 0x2e74]
movss dword [esp + 0x8c], xmm1
jmp 0x10056bbc
movss dword [esp + 0x14], xmm6
comiss xmm1, xmm5
movss xmm7, dword [0x10109c68]
mulss xmm3, xmm7
addss xmm3, dword [esp + 0x14]
cvttss2si eax, xmm3
mov dword [esp + 0x98], eax
jb 0x10056d2e
movaps xmm3, xmm0
jmp 0x10056d31
movaps xmm3, xmm6
comiss xmm2, xmm5
mulss xmm1, xmm7
addss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [esp + 0x9c], eax
jb 0x10056d4e
movaps xmm1, xmm0
jmp 0x10056d51
movaps xmm1, xmm6
comiss xmm4, xmm5
mulss xmm2, xmm7
addss xmm2, xmm1
cvttss2si eax, xmm2
mov dword [esp + 0xa0], eax
jae 0x10056d6c
movaps xmm0, xmm6
cmp dword [edi + 0x15a8], 0
mulss xmm4, xmm7
mov byte [esp + 0xe], 0
mov byte [esp + 0xf], 0
addss xmm4, xmm0
cvttss2si eax, xmm4
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x24]
movss xmm2, dword [eax + 0xd0]
movss xmm3, dword [eax + 0xd4]
movss dword [esp + 0x30], xmm2
movss dword [esp + 0x34], xmm3
jne 0x10056dba
movss xmm1, dword [esp + 0x50]
jmp 0x10056dbd
xorps xmm1, xmm1
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0xd0], xmm0
test ecx, 0x300000
je 0x100570e9
test cl, 0x20
jne 0x100570e9
mov edx, dword [esp + 0x28]
movss xmm2, dword [edi + 0x1568]
movss xmm1, dword [esp + 0x4c]
lea eax, [edx - 1]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movaps xmm0, xmm3
mulss xmm0, xmm2
subss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x10109bb4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [esp + 0x4c]
addss xmm2, xmm1
movss dword [esp + 0x18], xmm1
movss xmm1, dword [0x10109bb4]
mulss xmm2, xmm3
movss xmm3, dword [0x10109c90]
subss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, ecx
and eax, 0x1000000
mov ecx, str.M:000
mov dword [esp + 0x3c], eax
mov eax, str.M:0.000
cmove eax, ecx
mov ecx, dword [0x1011138c]
push ecx
cvtdq2ps xmm0, xmm0
push 0
push eax
lea eax, [esp + 0x6c]
push ecx
movss xmm2, dword [ecx + 0x1930]
mov ecx, dword [ecx + 0x192c]
maxss xmm1, xmm0
mov dword [esp], 0xbf800000
push eax
movss dword [esp + 0x34], xmm1
call fcn.10047160
movss xmm0, dword [esp + 0x60]
addss xmm0, dword [0x10109bac]
movss xmm1, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x10056ed5
xor edx, edx
jmp 0x10056ee4
mov edx, ecx
and edx, 0x200000
neg edx
sbb edx, edx
neg edx
inc edx
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [esp + 0x28], eax
jbe 0x1005730c
and ecx, 8
shl edx, 4
mov dword [esp + 0x40], ecx
cmp dword [esp + 0x3c], eax
je 0x10057005
mov esi, dword [esp + 0x40]
lea ecx, [edx + 0x10109a78]
mov dword [esp + 0x3c], ecx
mov edx, eax
mov dword [esp + 0x40], edx
test eax, eax
je 0x10056f42
movss xmm1, dword [edi + 0x1568]
xorps xmm0, xmm0
call fcn.1003a840
movss xmm1, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x28]
jge 0x10056f52
movaps xmm0, xmm1
jmp 0x10056f58
movss xmm0, dword [esp + 0x20]
mov eax, dword [0x1011138c]
or dword [eax + 0x1c24], 1
cmp byte [esp + 0x5c], 0
movss dword [eax + 0x1c28], xmm0
je 0x10056f78
xorps xmm0, xmm0
jmp 0x10056f80
movss xmm0, dword [0x10109bb4]
movss xmm3, dword [0x10109b34]
lea eax, [esp + 0x68]
push ecx
push dword [ecx]
mov ecx, dword [esp + 0x48]
push eax
lea eax, [esp + 0x6c]
movss dword [esp + 0x74], xmm0
push eax
mov ecx, dword [ecx*4 + 0x10109b00]
lea eax, [esp + 0x98]
lea eax, [eax + edx*4]
mov dword [esp + 0x70], 0
push eax
mov edx, 8
call fcn.100502c0
mov dl, byte [esp + 0x22]
add esp, 0x14
or dl, al
or byte [esp + 0xf], dl
mov byte [esp + 0xe], dl
test esi, esi
jne 0x10056fdd
call fcn.1003bb00
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
add ecx, 4
movss xmm1, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
cmp eax, dword [esp + 0x28]
jl 0x10056f16
mov esi, dword [esp + 0x2c]
jmp 0x10057308
xor eax, eax
xor esi, esi
cmp byte [esp + 0x5c], al
mov ecx, 0xff
mov dword [esp + 0x14], eax
cmovne ecx, esi
lea esi, [edx + 0x10109aa8]
mov dword [esp + 0x68], ecx
mov ecx, eax
mov dword [esp + 0x60], ecx
test eax, eax
jle 0x1005704b
movss xmm1, dword [edi + 0x1568]
xorps xmm0, xmm0
call fcn.1003a840
movss xmm1, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x28]
jge 0x1005705b
movaps xmm0, xmm1
jmp 0x10057061
movss xmm0, dword [esp + 0x20]
mov eax, dword [0x1011138c]
mov edx, 4
movss xmm3, dword [0x10109bb4]
push ecx
push dword [esi]
or dword [eax + 0x1c24], 1
movss dword [eax + 0x1c28], xmm0
mov eax, dword [esp + 0x70]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x68]
mov dword [esp + 0x68], 0
push eax
lea eax, [esp + 0xa8]
lea eax, [eax + ecx*4]
mov ecx, dword [ecx*4 + 0x10109b00]
push eax
call fcn.100502c0
or byte [esp + 0x22], al
add esp, 0x14
cmp dword [esp + 0x40], 0
jne 0x100570c9
call fcn.1003bb00
mov eax, dword [esp + 0x14]
add esi, 4
movss xmm1, dword [esp + 0x18]
cmp eax, dword [esp + 0x28]
jl 0x10057023
mov esi, dword [esp + 0x2c]
jmp 0x10057308
test ecx, 0x400000
je 0x1005731c
test cl, 0x20
jne 0x1005731c
cmp byte [esp + 0x38], 0
mov eax, 0xff
je 0x10057195
mov edx, dword [esp + 0xa4]
test edx, edx
jns 0x10057123
mov dword [esp + 0x20], 0
jmp 0x1005712c
cmp edx, eax
cmovg edx, eax
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0xa0]
test ecx, ecx
jns 0x10057141
mov dword [esp + 0x5c], 0
jmp 0x1005714a
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x9c]
test edx, edx
jns 0x10057159
xor edx, edx
jmp 0x1005715e
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x98]
test ecx, ecx
jns 0x1005716d
xor ecx, ecx
jmp 0x10057172
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x20]
lea eax, [esp + 0xac]
push dword [esp + 0x60]
push edx
push ecx
push 0x10109874
push 0x40
push eax
call fcn.1002eb60
add esp, 0x1c
jmp 0x100571f8
mov ecx, dword [esp + 0xa0]
test ecx, ecx
jns 0x100571aa
mov dword [esp + 0x20], 0
jmp 0x100571b3
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x9c]
test edx, edx
jns 0x100571c2
xor edx, edx
jmp 0x100571c7
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x98]
test ecx, ecx
jns 0x100571d6
xor ecx, ecx
jmp 0x100571db
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x20]
lea eax, [esp + 0xac]
push edx
push ecx
push 0x10109888
push 0x40
push eax
call fcn.1002eb60
add esp, 0x18
mov eax, dword [0x1011138c]
xor edx, edx
movss xmm5, dword [esp + 0x4c]
mov ecx, str.Text
push 0
push 0
or dword [eax + 0x1c24], 1
movss dword [eax + 0x1c28], xmm5
lea eax, [esp + 0x70]
push 6
push eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x78], 0
push 0x40
push eax
mov dword [esp + 0x84], 0
call fcn.100531f0
add esp, 0x18
test al, al
je 0x100572fa
mov byte [esp + 0xe], 1
lea ecx, [esp + 0xa8]
nop dword [eax]
mov al, byte [ecx]
cmp al, 0x23
je 0x1005726e
cmp al, 0x20
je 0x1005726e
cmp al, 9
jne 0x10057271
inc ecx
jmp 0x10057260
cmp byte [esp + 0x38], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0xa4], 0xff
je 0x100572d4
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xa4]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.1002d030
add esp, 0x18
jmp 0x100572fa
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0xa0]
push eax
push str._02X_02X_02X
push ecx
call fcn.1002d030
add esp, 0x14
mov ecx, dword [esp + 0x10]
test cl, 8
jne 0x1005730c
call fcn.1003bb00
mov ecx, dword [esp + 0x10]
movss xmm2, dword [esp + 0x30]
movss xmm3, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], 0
test cl, 0x10
jne 0x100575c0
test cl, 0x20
jne 0x1005734b
cmp dword [edi + 0x15a8], 0
je 0x1005734b
movss xmm1, dword [esp + 0x4c]
addss xmm1, dword [edi + 0x1568]
jmp 0x1005734e
xorps xmm1, xmm1
cmp byte [esp + 0x38], 0
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0xd4], xmm3
movss dword [eax + 0xd0], xmm0
mov eax, dword [esp + 0x1c]
je 0x10057377
movss xmm1, dword [eax + 0xc]
jmp 0x1005737f
movss xmm1, dword [0x10109bb4]
movss xmm0, dword [eax]
lea edx, [esp + 0x70]
mov dword [esp + 0x64], 0
push dword [esp + 0x64]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [eax + 4]
mov dword [esp + 0x64], 0
push dword [esp + 0x64]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [eax + 8]
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x88], xmm1
call fcn.1005a170
add esp, 0xc
test al, al
mov eax, dword [esp + 0x10]
je 0x100574a8
test al, 4
jne 0x100574a8
movups xmm0, xmmword [esp + 0x70]
mov eax, dword [0x1011138c]
xor edx, edx
movups xmmword [edi + 0x2e84], xmm0
mov eax, dword [eax + 0x1b9c]
mov ecx, dword [eax + 0xc4]
mov eax, dword [eax + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, str.picker
call fcn.1002eba0
mov ecx, eax
add esp, 4
mov eax, dword [0x1011138c]
cmp dword [eax + 0x1bd0], ecx
jne 0x10057434
mov dword [eax + 0x1bd4], ecx
cmp dword [eax + 0x1c0c], ecx
jne 0x10057443
mov byte [eax + 0x1c10], 1
xor edx, edx
call fcn.1003b5b0
movss xmm1, dword [edi + 0x1c44]
movss xmm0, dword [edi + 0x1564]
addss xmm0, dword [edi + 0x1c50]
mov eax, dword [0x1011138c]
subss xmm1, dword [0x10109bb4]
or dword [eax + 0x1c64], 1
movss dword [eax + 0x1c78], xmm0
movss dword [eax + 0x1c74], xmm1
mov dword [eax + 0x1c7c], 0
mov dword [eax + 0x1c80], 0
mov dword [eax + 0x1c68], 1
mov eax, dword [esp + 0x10]
test al, 8
jne 0x100574b1
call fcn.1003bb00
mov ecx, str.picker
call fcn.1003ba80
test al, al
je 0x100575bc
mov eax, dword [edi + 0x1b9c]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
cmp ecx, eax
je 0x10057528
push 0
mov edx, eax
call fcn.1004cf90
mov ecx, dword [0x1011138c]
add esp, 4
mov eax, dword [ecx + 0x1b9c]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1b9c]
cmp byte [eax + 0x8f], 0
jne 0x10057528
movss xmm1, dword [0x10109cb8]
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
call fcn.1003a460
mov eax, dword [0x1011138c]
mov ecx, 0x101094fc
movss xmm0, dword [esp + 0x58]
mulss xmm0, dword [0x10109c38]
mov edx, dword [esp + 0x1c]
or dword [eax + 0x1c24], 1
movss dword [eax + 0x1c28], xmm0
lea eax, [edi + 0x2e84]
push eax
mov eax, dword [esp + 0x58]
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.10057ba0
or byte [esp + 0x16], al
add esp, 8
mov eax, dword [0x1011138c]
mov dword [esp + 0x54], eax
mov ecx, dword [eax + 0x1b9c]
cmp dword [eax + 0x1d30], ecx
jne 0x1005759c
mov dword [eax + 0x1e30], ecx
mov dword [eax + 0x1e34], 2
test dword [ecx + 8], 0x1000000
je 0x100575ac
mov byte [eax + 0x1b46], 1
call fcn.10039a80
mov eax, dword [esp + 0x54]
mov byte [eax + 0x1b46], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x48], eax
je 0x10057626
test cl, cl
js 0x10057626
test cl, 0x20
je 0x100575db
movss xmm0, dword [esp + 0x50]
jmp 0x100575ea
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x1568]
movss xmm1, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x34]
addss xmm0, dword [edi + 0x1554]
mov ecx, dword [esp + 0x48]
push 0
movss dword [edx + 0xd0], xmm1
movss dword [edx + 0xd4], xmm0
mov edx, eax
call fcn.1004cf90
add esp, 4
cmp byte [esp + 0xe], 0
je 0x100577dd
cmp dword [esp + 0x2c], 0
jne 0x100577dd
cmp byte [esp + 0xf], 0
jne 0x1005765d
movups xmm0, xmmword [esp + 0x98]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x1010a180]
movups xmmword [esp + 0x88], xmm0
mov eax, dword [esp + 0x10]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x100576d4
movss xmm0, dword [esp + 0x88]
lea eax, [esp + 0x90]
movss xmm1, dword [esp + 0x8c]
lea edx, [esp + 0x8c]
movss xmm2, dword [esp + 0x90]
lea ecx, [esp + 0x88]
push eax
movss dword [edi + 0x2e70], xmm0
movss dword [edi + 0x2e74], xmm1
call fcn.1002f200
movq xmm0, qword [esp + 0x8c]
add esp, 4
mov eax, dword [esp + 0x90]
movq qword [edi + 0x2e78], xmm0
mov dword [edi + 0x2e80], eax
mov eax, dword [esp + 0x10]
and eax, 0x10100000
cmp eax, 0x10100000
jne 0x10057799
movss xmm1, dword [esp + 0x8c]
xorps xmm5, xmm5
movss xmm4, dword [esp + 0x90]
movaps xmm0, xmm1
comiss xmm4, xmm0
movss xmm3, dword [esp + 0x88]
movaps xmm2, xmm3
jbe 0x1005771f
movss xmm5, dword [0x10109cb8]
movaps xmm1, xmm4
movaps xmm4, xmm0
comiss xmm1, xmm2
jbe 0x10057739
movss xmm0, dword [0x10109ca4]
movaps xmm3, xmm1
subss xmm0, xmm5
movaps xmm1, xmm2
movaps xmm5, xmm0
movaps xmm0, xmm1
movss dword [esp + 0x90], xmm3
minss xmm0, xmm4
movaps xmm2, xmm3
subss xmm1, xmm4
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x10109c24]
addss xmm0, dword [0x10109b24]
divss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x10109b24]
addss xmm1, xmm5
divss xmm2, xmm0
andps xmm1, xmmword [0x1010a190]
movss dword [esp + 0x88], xmm1
movss dword [esp + 0x8c], xmm2
jmp 0x100577b4
movss xmm3, dword [esp + 0x90]
movss xmm2, dword [esp + 0x8c]
movss xmm1, dword [esp + 0x88]
cmp byte [esp + 0x38], 0
mov esi, dword [esp + 0x1c]
movss dword [esi], xmm1
movss dword [esi + 4], xmm2
movss dword [esi + 8], xmm3
je 0x100577e1
movss xmm0, dword [esp + 0x94]
movss dword [esi + 0xc], xmm0
jmp 0x100577e1
mov esi, dword [esp + 0x1c]
mov eax, dword [0x1011138c]
mov eax, dword [eax + 0x1b9c]
dec dword [eax + 0xc4]
call fcn.1003abb0
test byte [edi + 0x1c40], 1
je 0x10057934
test dword [esp + 0x10], 0x200
jne 0x10057934
call fcn.1003f150
test al, al
je 0x10057934
mov ecx, str._COL3F
mov byte [esp + 0xf], 0
call fcn.1003f1e0
test eax, eax
je 0x1005784c
mov eax, dword [eax]
mov byte [esp + 0xf], 1
mov byte [esp + 0xe], 1
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov ecx, str._COL4F
call fcn.1003f1e0
mov ecx, eax
test ecx, ecx
je 0x10057876
mov eax, dword [esp + 0x28]
shl eax, 2
push eax
push dword [ecx]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xe], 1
jmp 0x10057881
cmp byte [esp + 0xf], 0
je 0x10057926
test dword [esp + 0x10], 0x10000000
je 0x10057926
movss xmm2, dword [esi + 4]
movss xmm4, dword [esi + 8]
comiss xmm4, xmm2
movss xmm3, dword [esi]
jbe 0x100578b5
movss xmm5, dword [0x10109cb8]
movaps xmm0, xmm2
movaps xmm2, xmm4
movaps xmm4, xmm0
jmp 0x100578b8
xorps xmm5, xmm5
comiss xmm2, xmm3
jbe 0x100578d5
movaps xmm0, xmm3
movaps xmm3, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x10109ca4]
subss xmm0, xmm5
movaps xmm5, xmm0
movaps xmm0, xmm2
movss dword [esi + 8], xmm3
minss xmm0, xmm4
movaps xmm1, xmm3
subss xmm2, xmm4
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x10109c24]
addss xmm0, dword [0x10109b24]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x10109b24]
addss xmm2, xmm5
divss xmm1, xmm0
andps xmm2, xmmword [0x1010a190]
movss dword [esi], xmm2
movss dword [esi + 4], xmm1
mov eax, dword [0x1011138c]
mov byte [eax + 0x1e76], 0
jmp 0x10057939
mov eax, dword [0x1011138c]
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x10057959
mov ecx, dword [edi + 0x1bd0]
test ecx, ecx
je 0x10057959
cmp dword [edi + 0x1c00], edx
jne 0x10057959
mov dword [edi + 0x1c38], ecx
mov cl, byte [esp + 0xe]
test cl, cl
je 0x10057971
or dword [eax + 0x1c40], 4
mov word [eax + 0x1be0], 0x101
mov al, cl
mov ecx, dword [esp + 0xec]
pop edi
pop esi
xor ecx, esp
call fcn.100c100d
mov esp, ebp
pop ebp
ret