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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0x100c8050]
xor eax, esp
mov dword [esp + 0xf4], eax
push esi
push edi
mov edi, dword [0x100ca9c8]
mov dword [esp + 0x24], edx
mov edx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x54], edx
mov eax, dword [edi + 0x1b94]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edi
mov byte [eax + 0x8c], 1
mov eax, dword [edi + 0x1b94]
mov dword [esp + 0x2c], eax
cmp byte [eax + 0x8f], 0
je 0x1005580d
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.10061d94
mov esp, ebp
pop ebp
ret
test byte [edi + 0x1c78], 1
movss xmm2, dword [edi + 0x1554]
addss xmm2, xmm2
addss xmm2, dword [edi + 0x1930]
movss dword [esp + 0x64], xmm2
je 0x1005583a
movss xmm0, dword [edi + 0x1c7c]
jmp 0x10055842
movss xmm0, dword [eax + 0x1b4]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x10055887
cmp dword [eax + 0x198], 0
movss xmm1, dword [eax + 0x24c]
jne 0x10055864
cmp dword [edi + 0x1ecc], 0
je 0x1005586c
movss xmm1, dword [eax + 0x21c]
subss xmm1, dword [eax + 0xcc]
addss xmm1, xmm0
movss xmm0, dword [0x100be6a4]
maxss xmm0, xmm1
xorps xmm1, xmm1
cvttss2si esi, xmm0
mov dword [esp + 0x30], esi
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test cl, 0x10
jne 0x100558a6
movaps xmm1, xmm2
addss xmm1, dword [edi + 0x1568]
movss dword [esp + 0x58], xmm1
subss xmm0, xmm1
mov dword [esp + 0x48], edx
movss dword [esp + 0x50], xmm0
cmp edx, 0xffffffff
jae 0x100558df
mov esi, edx
mov cl, byte [esi]
test cl, cl
je 0x100558db
cmp cl, 0x23
jne 0x100558d1
cmp byte [esi + 1], cl
je 0x100558db
inc esi
mov dword [esp + 0x48], esi
cmp esi, 0xffffffff
jb 0x100558c1
mov esi, dword [esp + 0x30]
mov dword [edi + 0x1c78], 0
call fcn.100342c0
mov ecx, dword [esp + 0x54]
call fcn.10033c60
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x68], ecx
test cl, 0x20
je 0x10055914
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0x18], ecx
test cl, 8
jne 0x10055928
mov edx, ecx
mov ecx, dword [esp + 0x24]
call fcn.1005a100
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 0x2e24]
test ecx, 0x700000
jne 0x1005593f
mov eax, edx
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x10055950
mov eax, edx
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x10055961
mov eax, edx
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x10055972
mov eax, edx
and eax, 0x18000000
or ecx, eax
and edx, 0xe00fffff
or ecx, edx
mov edx, ecx
mov dword [esp + 0x18], ecx
shr edx, 1
mov eax, ecx
shr eax, 0x13
not dl
and eax, 0xffffff01
and edx, 0xffffff01
mov dword [esp + 0x4c], eax
mov dword [esp + 0x40], edx
movzx eax, dl
mov edx, dword [esp + 0x24]
add eax, 3
cmp byte [esp + 0x40], 0
mov dword [esp + 0x28], eax
movss xmm3, dword [edx]
movss xmm1, dword [edx + 4]
movss xmm2, dword [edx + 8]
movss dword [esp + 0x98], xmm3
movss dword [esp + 0x9c], xmm1
movss dword [esp + 0xa0], xmm2
je 0x100559e1
movss xmm4, dword [edx + 0xc]
jmp 0x100559e9
movss xmm4, dword [0x100be6a4]
mov eax, ecx
movss dword [esp + 0xa4], xmm4
and eax, 0x10100000
mov dword [esp + 0x6c], eax
cmp eax, 0x10100000
jne 0x10055a52
lea eax, [esp + 0xa0]
movaps xmm0, xmm3
push eax
lea edx, [esp + 0xa0]
lea ecx, [esp + 0x9c]
call fcn.10029790
movss xmm4, dword [esp + 0xa8]
add esp, 4
movss xmm2, dword [esp + 0xa0]
movss xmm1, dword [esp + 0x9c]
movss xmm3, dword [esp + 0x98]
mov ecx, dword [esp + 0x18]
jmp 0x10055b5a
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x10055b5a
comiss xmm2, xmm1
xorps xmm6, xmm6
movaps xmm5, xmm1
movaps xmm7, xmm2
jbe 0x10055a80
movss xmm6, dword [0x100be7a0]
movaps xmm5, xmm2
movaps xmm7, xmm1
comiss xmm5, xmm3
movaps xmm2, xmm3
jbe 0x10055a9d
movss xmm0, dword [0x100be78c]
movaps xmm2, xmm5
subss xmm0, xmm6
movaps xmm5, xmm3
movaps xmm6, xmm0
movaps xmm0, xmm5
mov eax, dword [edi + 0x2e30]
minss xmm0, xmm7
movaps xmm1, xmm2
movaps xmm3, xmm5
movss dword [esp + 0xa0], xmm2
subss xmm3, xmm7
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100be70c]
addss xmm0, dword [0x100be60c]
divss xmm3, xmm0
movaps xmm0, xmm2
addss xmm3, xmm6
addss xmm0, dword [0x100be60c]
andps xmm3, xmmword [0x100beb50]
divss xmm1, xmm0
movss dword [esp + 0x98], xmm3
movss dword [esp + 0x9c], xmm1
cmp eax, dword [edx]
jne 0x10055b5a
mov eax, dword [edi + 0x2e34]
cmp eax, dword [edx + 4]
jne 0x10055b5a
mov eax, dword [edi + 0x2e38]
cmp eax, dword [edx + 8]
jne 0x10055b5a
ucomiss xmm1, dword [0x100be5fc]
lahf
test ah, 0x44
jp 0x10055b3c
movss xmm3, dword [edi + 0x2e28]
movss dword [esp + 0x98], xmm3
ucomiss xmm2, dword [0x100be5fc]
lahf
test ah, 0x44
jp 0x10055b5a
movss xmm1, dword [edi + 0x2e2c]
movss dword [esp + 0x9c], xmm1
comiss xmm3, dword [0x100be5fc]
movss xmm5, dword [0x100be790]
movss xmm0, dword [0x100be664]
jb 0x10055b78
movaps xmm7, xmm0
jmp 0x10055b7b
movaps xmm7, xmm5
movss xmm6, dword [0x100be744]
mulss xmm3, xmm6
addss xmm3, xmm7
xorps xmm7, xmm7
comiss xmm1, xmm7
cvttss2si eax, xmm3
mov dword [esp + 0xa8], eax
jb 0x10055ba3
movaps xmm3, xmm0
jmp 0x10055ba6
movaps xmm3, xmm5
comiss xmm2, xmm7
mulss xmm1, xmm6
addss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [esp + 0xac], eax
jb 0x10055bc3
movaps xmm1, xmm0
jmp 0x10055bc6
movaps xmm1, xmm5
comiss xmm4, xmm7
mulss xmm2, xmm6
addss xmm2, xmm1
cvttss2si eax, xmm2
mov dword [esp + 0xb0], eax
jae 0x10055be1
movaps xmm0, xmm5
cmp dword [edi + 0x15a8], 0
mulss xmm4, xmm6
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
addss xmm4, xmm0
cvttss2si eax, xmm4
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x2c]
movss xmm0, dword [eax + 0xcc]
movss xmm1, dword [eax + 0xd0]
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x60], xmm1
jne 0x10055c2f
movss xmm1, dword [esp + 0x58]
jmp 0x10055c32
xorps xmm1, xmm1
addss xmm0, xmm1
movss dword [eax + 0xcc], xmm0
test ecx, 0x300000
je 0x10056051
test cl, 0x20
jne 0x10056051
mov edx, dword [esp + 0x28]
movss xmm2, dword [edi + 0x1568]
movss xmm1, dword [esp + 0x50]
movaps xmm0, xmm2
mov edi, dword [0x100ca9c8]
lea eax, [edx - 1]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
mulss xmm0, xmm3
subss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x100be6a4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [esp + 0x50]
addss xmm2, xmm1
movss dword [esp + 0x3c], xmm1
movss xmm1, dword [0x100be6a4]
mulss xmm2, xmm3
movss xmm3, dword [0x100be778]
subss xmm0, xmm2
movss xmm2, dword [edi + 0x1930]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, ecx
and eax, 0x1000000
mov ecx, str.M:000
push ecx
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x24], eax
mov eax, str.M:0.000
cmove eax, ecx
push 0
push eax
push ecx
mov ecx, dword [edi + 0x192c]
maxss xmm1, xmm0
lea eax, [esp + 0x44]
mov dword [esp], 0xbf800000
push eax
movss dword [esp + 0x58], xmm1
call fcn.10047ce0
movss xmm0, dword [esp + 0x34]
addss xmm0, dword [0x100be69c]
movss xmm1, dword [esp + 0x3c]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x18]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x10055d47
xor edx, edx
jmp 0x10055d56
mov edx, eax
and edx, 0x200000
neg edx
sbb edx, edx
neg edx
inc edx
xor ecx, ecx
mov dword [esp + 0x70], ecx
cmp dword [esp + 0x28], ecx
jbe 0x100562c2
shl edx, 4
cmp dword [esp + 0x20], ecx
je 0x10055edf
mov esi, dword [esp + 0x1c]
lea edx, [edx + 0x100bdd14]
and eax, 8
mov dword [esp + 0x20], edx
mov dword [esp + 0x78], eax
test ecx, ecx
je 0x10055daa
movss xmm1, dword [esi + 0x1568]
xorps xmm0, xmm0
call fcn.10034080
movss xmm1, dword [esp + 0x3c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x28]
jge 0x10055dbc
movaps xmm0, xmm1
jmp 0x10055dc2
movss xmm0, dword [esp + 0x44]
or dword [edi + 0x1c78], 1
cmp byte [esp + 0x4c], 0
movss dword [edi + 0x1c7c], xmm0
je 0x10055ddd
xorps xmm0, xmm0
jmp 0x10055de5
movss xmm0, dword [0x100be6a4]
movss xmm3, dword [0x100be628]
lea eax, [esp + 0x70]
push ecx
push dword [edx]
mov edx, 8
movss dword [esp + 0x78], xmm0
push eax
lea eax, [esp + 0x80]
mov dword [esp + 0x80], 0
push eax
lea eax, [esp + 0xa8]
lea eax, [eax + ecx*4]
mov ecx, dword [ecx*4 + 0x100bdd9c]
push eax
call fcn.1004ed10
mov cl, byte [esp + 0x2a]
add esp, 0x14
mov edi, dword [0x100ca9c8]
or cl, al
or byte [esp + 0x17], cl
cmp dword [esp + 0x78], 0
mov byte [esp + 0x16], cl
jne 0x10055eb3
cmp byte [edi + 0x3e3], 0
je 0x10055eb3
mov ecx, 8
call fcn.1002aef0
test al, al
je 0x10055eb3
mov eax, dword [edi + 0x1b94]
xor edx, edx
mov ecx, dword [eax + 0xc0]
mov eax, dword [eax + 0xc8]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.100292b0
add esp, 4
cmp dword [edi + 0x1bc8], eax
jne 0x10055e92
mov dword [edi + 0x1bcc], eax
cmp dword [edi + 0x1c04], eax
jne 0x10055ea1
mov byte [edi + 0x1c08], 1
mov edx, 1
mov ecx, eax
call fcn.10034da0
mov edi, dword [0x100ca9c8]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
add edx, 4
movss xmm1, dword [esp + 0x3c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x20], edx
cmp ecx, dword [esp + 0x28]
jl 0x10055d88
mov esi, dword [esp + 0x30]
jmp 0x100562c2
xor ecx, ecx
lea edx, [edx + 0x100bdd44]
cmp byte [esp + 0x4c], cl
mov esi, 0xff
mov dword [esp + 0x70], ecx
cmovne esi, ecx
mov dword [esp + 0x20], edx
and eax, 8
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
nop word [eax + eax]
test ecx, ecx
jle 0x10055f32
movss xmm1, dword [esi + 0x1568]
xorps xmm0, xmm0
call fcn.10034080
movss xmm1, dword [esp + 0x3c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esp + 0x70], eax
cmp eax, dword [esp + 0x28]
jge 0x10055f44
movaps xmm0, xmm1
jmp 0x10055f4a
movss xmm0, dword [esp + 0x44]
mov eax, dword [esp + 0x34]
movss xmm3, dword [0x100be6a4]
or dword [edi + 0x1c78], 1
push ecx
push dword [edx]
mov dword [esp + 0x80], eax
mov edx, 4
lea eax, [esp + 0x80]
movss dword [edi + 0x1c7c], xmm0
push eax
lea eax, [esp + 0x80]
mov dword [esp + 0x80], 0
push eax
lea eax, [esp + 0xb8]
lea eax, [eax + ecx*4]
mov ecx, dword [ecx*4 + 0x100bdd9c]
push eax
call fcn.1004ed10
or byte [esp + 0x2a], al
add esp, 0x14
cmp dword [esp + 0x4c], 0
mov edi, dword [0x100ca9c8]
jne 0x10056025
cmp byte [edi + 0x3e3], 0
je 0x10056025
mov ecx, 8
call fcn.1002aef0
test al, al
je 0x10056025
mov eax, dword [edi + 0x1b94]
xor edx, edx
mov ecx, dword [eax + 0xc0]
mov eax, dword [eax + 0xc8]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.100292b0
add esp, 4
cmp dword [edi + 0x1bc8], eax
jne 0x10056004
mov dword [edi + 0x1bcc], eax
cmp dword [edi + 0x1c04], eax
jne 0x10056013
mov byte [edi + 0x1c08], 1
mov edx, 1
mov ecx, eax
call fcn.10034da0
mov edi, dword [0x100ca9c8]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x70]
add edx, 4
movss xmm1, dword [esp + 0x3c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x20], edx
cmp ecx, dword [esp + 0x28]
jl 0x10055f10
mov esi, dword [esp + 0x30]
jmp 0x100562c2
mov eax, ecx
and eax, 0x400020
cmp eax, 0x400000
jne 0x100562bc
cmp byte [esp + 0x40], 0
mov eax, 0xff
je 0x100560e9
mov ecx, dword [esp + 0xb4]
test ecx, ecx
jns 0x10056084
mov dword [esp + 0x44], 0
jmp 0x1005608d
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x44], ecx
mov edi, dword [esp + 0xb0]
test edi, edi
jns 0x1005609c
xor edi, edi
jmp 0x100560a1
cmp edi, eax
cmovg edi, eax
mov edx, dword [esp + 0xac]
test edx, edx
jns 0x100560b0
xor edx, edx
jmp 0x100560b5
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0xa8]
test ecx, ecx
jns 0x100560c4
xor ecx, ecx
jmp 0x100560c9
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x44]
lea eax, [esp + 0xbc]
push edi
push edx
push ecx
push 0x100bdacc
push 0x40
push eax
call fcn.10029270
add esp, 0x1c
jmp 0x1005613f
mov edi, dword [esp + 0xb0]
test edi, edi
jns 0x100560f8
xor edi, edi
jmp 0x100560fd
cmp edi, eax
cmovg edi, eax
mov edx, dword [esp + 0xac]
test edx, edx
jns 0x1005610c
xor edx, edx
jmp 0x10056111
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0xa8]
test ecx, ecx
jns 0x10056120
xor ecx, ecx
jmp 0x10056125
cmp ecx, eax
cmovg ecx, eax
push edi
push edx
push ecx
push 0x100bdae0
lea eax, [esp + 0xc8]
push 0x40
push eax
call fcn.10029270
add esp, 0x18
mov eax, dword [0x100ca9c8]
xor edx, edx
movss xmm5, dword [esp + 0x50]
mov ecx, str.Text
push 0
push 0
or dword [eax + 0x1c78], 1
movss dword [eax + 0x1c7c], xmm5
lea eax, [esp + 0x80]
push 6
push eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x88], 0
push 0x40
push eax
mov dword [esp + 0x94], 0
call fcn.10052020
add esp, 0x18
test al, al
je 0x1005624a
mov byte [esp + 0x16], 1
lea ecx, [esp + 0xb8]
nop word [eax + eax]
mov al, byte [ecx]
cmp al, 0x23
je 0x100561be
cmp al, 0x20
je 0x100561be
cmp al, 9
jne 0x100561c1
inc ecx
jmp 0x100561b0
cmp byte [esp + 0x40], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
je 0x10056224
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xb4]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.10027940
add esp, 0x18
jmp 0x1005624a
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0xb0]
push eax
push str._02X_02X_02X
push ecx
call fcn.10027940
add esp, 0x14
test byte [esp + 0x18], 8
jne 0x100562bc
mov edi, dword [0x100ca9c8]
cmp byte [edi + 0x3e3], 0
je 0x100562c2
mov ecx, 8
call fcn.1002aef0
test al, al
je 0x100562c2
mov eax, dword [edi + 0x1b94]
xor edx, edx
mov ecx, dword [eax + 0xc0]
mov eax, dword [eax + 0xc8]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.100292b0
add esp, 4
cmp dword [edi + 0x1bc8], eax
jne 0x100562a1
mov dword [edi + 0x1bcc], eax
cmp dword [edi + 0x1c04], eax
jne 0x100562b0
mov byte [edi + 0x1c08], 1
mov edx, 1
mov ecx, eax
call fcn.10034da0
mov edi, dword [0x100ca9c8]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], 0
test al, 0x10
jne 0x100565f3
mov edi, dword [esp + 0x1c]
test al, 0x20
jne 0x100562f7
cmp dword [edi + 0x15a8], 0
je 0x100562f7
movss xmm1, dword [esp + 0x50]
addss xmm1, dword [edi + 0x1568]
jmp 0x100562fa
xorps xmm1, xmm1
cmp byte [esp + 0x40], 0
movss xmm0, dword [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
addss xmm0, xmm1
movss dword [ecx + 0xcc], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [ecx + 0xd0], xmm0
mov ecx, dword [esp + 0x24]
je 0x10056330
movss xmm1, dword [ecx + 0xc]
jmp 0x10056338
movss xmm1, dword [0x100be6a4]
movss xmm0, dword [ecx]
lea edx, [esp + 0x80]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [ecx + 4]
mov dword [esp + 0x38], 0
push dword [esp + 0x38]
mov dword [esp + 0x38], 0
push dword [esp + 0x38]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [ecx + 8]
mov ecx, str.ColorButton
push eax
movss dword [esp + 0x94], xmm0
movss dword [esp + 0x98], xmm1
call fcn.10059500
add esp, 0xc
test al, al
je 0x1005646f
test byte [esp + 0x18], 4
jne 0x1005646f
movups xmm0, xmmword [esp + 0x80]
mov eax, dword [0x100ca9c8]
xor edx, edx
movups xmmword [edi + 0x2e3c], xmm0
mov eax, dword [eax + 0x1b94]
mov ecx, dword [eax + 0xc0]
mov eax, dword [eax + 0xc8]
push dword [eax + ecx*4 - 4]
mov ecx, 0x100bdb2c
call fcn.100292b0
mov ecx, eax
add esp, 4
mov eax, dword [0x100ca9c8]
cmp dword [eax + 0x1bc8], ecx
jne 0x100563f8
mov dword [eax + 0x1bcc], ecx
cmp dword [eax + 0x1c04], ecx
jne 0x10056407
mov byte [eax + 0x1c08], 1
xor edx, edx
call fcn.10034da0
movss xmm0, dword [edi + 0x1564]
mov eax, dword [esp + 0x2c]
mov edi, dword [0x100ca9c8]
movss xmm1, dword [eax + 0x120]
addss xmm0, dword [eax + 0x12c]
subss xmm1, dword [0x100be6a4]
or dword [edi + 0x1c18], 1
mov dword [edi + 0x1c30], 0
mov dword [edi + 0x1c34], 0
movss dword [edi + 0x1c2c], xmm0
movss dword [edi + 0x1c28], xmm1
mov dword [edi + 0x1c1c], 1
jmp 0x10056475
mov edi, dword [0x100ca9c8]
test byte [esp + 0x18], 8
jne 0x100564e1
cmp byte [edi + 0x3e3], 0
je 0x100564e1
mov ecx, 8
call fcn.1002aef0
test al, al
je 0x100564e1
mov eax, dword [edi + 0x1b94]
xor edx, edx
mov ecx, dword [eax + 0xc0]
mov eax, dword [eax + 0xc8]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.100292b0
add esp, 4
cmp dword [edi + 0x1bc8], eax
jne 0x100564c6
mov dword [edi + 0x1bcc], eax
cmp dword [edi + 0x1c04], eax
jne 0x100564d5
mov byte [edi + 0x1c08], 1
mov edx, 1
mov ecx, eax
call fcn.10034da0
mov ecx, 0x100bdb2c
call fcn.10035190
test al, al
je 0x100565e9
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
mov eax, dword [edi + 0x1b94]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x48]
cmp ecx, eax
je 0x1005655c
push 0
mov edx, eax
call fcn.1004b020
mov ecx, dword [0x100ca9c8]
add esp, 4
mov eax, dword [ecx + 0x1b94]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1b94]
cmp byte [eax + 0x8f], 0
jne 0x1005655c
movss xmm1, dword [0x100be7a0]
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call fcn.10033d80
mov eax, dword [0x100ca9c8]
mov ecx, str.picker
movss xmm0, dword [esp + 0x64]
mulss xmm0, dword [0x100be71c]
mov edx, dword [esp + 0x24]
or dword [eax + 0x1c78], 1
movss dword [eax + 0x1c7c], xmm0
lea eax, [edi + 0x2e3c]
push eax
mov eax, dword [esp + 0x6c]
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.10056c60
mov edi, dword [0x100ca9c8]
add esp, 8
or byte [esp + 0x16], al
mov eax, dword [edi + 0x1b94]
cmp dword [edi + 0x1cf8], eax
jne 0x100565cd
mov dword [edi + 0x1df8], eax
mov dword [edi + 0x1dfc], 2
test dword [eax + 8], 0x1000000
je 0x100565dd
mov byte [edi + 0x1b46], 1
call fcn.10033470
mov byte [edi + 0x1b46], 0
mov eax, dword [esp + 0x18]
mov edi, dword [0x100ca9c8]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
cmp ecx, edx
je 0x10056664
test al, al
js 0x10056664
test al, 0x20
je 0x10056613
movss xmm0, dword [esp + 0x58]
mov esi, dword [esp + 0x1c]
jmp 0x10056626
movd xmm0, esi
mov esi, dword [esp + 0x1c]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esi + 0x1568]
movss xmm1, dword [esp + 0x5c]
mov eax, dword [esp + 0x2c]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x60]
addss xmm0, dword [esi + 0x1554]
push 0
movss dword [eax + 0xcc], xmm1
movss dword [eax + 0xd0], xmm0
call fcn.1004b020
mov edi, dword [0x100ca9c8]
add esp, 4
jmp 0x10056668
mov esi, dword [esp + 0x1c]
cmp byte [esp + 0x16], 0
je 0x10056817
cmp dword [esp + 0x30], 0
jne 0x10056817
cmp byte [esp + 0x17], 0
jne 0x1005669f
movups xmm0, xmmword [esp + 0xa8]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x100beb40]
movups xmmword [esp + 0x98], xmm0
mov eax, dword [esp + 0x18]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x10056716
movss xmm0, dword [esp + 0x98]
lea eax, [esp + 0xa0]
movss xmm1, dword [esp + 0x9c]
lea edx, [esp + 0x9c]
movss xmm2, dword [esp + 0xa0]
lea ecx, [esp + 0x98]
push eax
movss dword [esi + 0x2e28], xmm0
movss dword [esi + 0x2e2c], xmm1
call fcn.10029790
movq xmm0, qword [esp + 0x9c]
add esp, 4
mov eax, dword [esp + 0xa0]
movq qword [esi + 0x2e30], xmm0
mov dword [esi + 0x2e38], eax
cmp dword [esp + 0x6c], 0x10100000
jne 0x100567d5
movss xmm1, dword [esp + 0x9c]
xorps xmm5, xmm5
movss xmm4, dword [esp + 0xa0]
movaps xmm0, xmm1
comiss xmm4, xmm0
movss xmm3, dword [esp + 0x98]
movaps xmm2, xmm3
jbe 0x1005675b
movss xmm5, dword [0x100be7a0]
movaps xmm1, xmm4
movaps xmm4, xmm0
comiss xmm1, xmm2
jbe 0x10056775
movss xmm0, dword [0x100be78c]
movaps xmm3, xmm1
subss xmm0, xmm5
movaps xmm1, xmm2
movaps xmm5, xmm0
movaps xmm0, xmm1
movss dword [esp + 0xa0], xmm3
minss xmm0, xmm4
movaps xmm2, xmm3
subss xmm1, xmm4
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x100be70c]
addss xmm0, dword [0x100be60c]
divss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x100be60c]
addss xmm1, xmm5
divss xmm2, xmm0
andps xmm1, xmmword [0x100beb50]
movss dword [esp + 0x98], xmm1
movss dword [esp + 0x9c], xmm2
jmp 0x100567f0
movss xmm3, dword [esp + 0xa0]
movss xmm2, dword [esp + 0x9c]
movss xmm1, dword [esp + 0x98]
cmp byte [esp + 0x40], 0
mov eax, dword [esp + 0x24]
movss dword [eax], xmm1
movss dword [eax + 4], xmm2
movss dword [eax + 8], xmm3
je 0x10056817
movss xmm0, dword [esp + 0xa4]
movss dword [eax + 0xc], xmm0
mov eax, dword [edi + 0x1b94]
dec dword [eax + 0xc0]
call fcn.100343f0
mov edi, dword [esp + 0x2c]
test byte [edi + 0x11c], 1
je 0x10056a47
test dword [esp + 0x18], 0x200
jne 0x10056a47
mov esi, dword [0x100ca9c8]
cmp byte [esi + 0x1e3c], 0
je 0x100569f1
mov ecx, dword [esi + 0x1b94]
test byte [ecx + 0x11c], 1
je 0x100569f1
mov edx, dword [esi + 0x1b9c]
test edx, edx
je 0x100569f1
mov eax, dword [ecx + 0x320]
cmp eax, dword [edx + 0x320]
jne 0x100569f1
test byte [ecx + 0x11c], 2
lea edi, [ecx + 0x130]
jne 0x100568a2
lea edi, [ecx + 0x120]
mov eax, dword [ecx + 0x118]
test eax, eax
jne 0x100568b2
push edi
call fcn.1002acc0
cmp dword [esi + 0x1e54], eax
je 0x100569ed
movups xmm0, xmmword [edi]
mov ecx, str._COL3F
mov dword [esi + 0x1e94], eax
mov byte [esi + 0x1e3e], 1
movups xmmword [esi + 0x1e84], xmm0
mov byte [esp + 0x17], 0
call fcn.100387d0
mov esi, dword [esp + 0x24]
test eax, eax
je 0x10056906
mov eax, dword [eax]
mov byte [esp + 0x17], 1
mov byte [esp + 0x16], 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.100387d0
mov ecx, eax
test ecx, ecx
je 0x10056930
mov eax, dword [esp + 0x28]
shl eax, 2
push eax
push dword [ecx]
push esi
call fcn.10063980
add esp, 0xc
mov byte [esp + 0x16], 1
jmp 0x1005693b
cmp byte [esp + 0x17], 0
je 0x100569e0
test dword [esp + 0x18], 0x10000000
je 0x100569e0
movss xmm2, dword [esi + 4]
movss xmm4, dword [esi + 8]
comiss xmm4, xmm2
movss xmm3, dword [esi]
jbe 0x1005696f
movss xmm5, dword [0x100be7a0]
movaps xmm0, xmm2
movaps xmm2, xmm4
movaps xmm4, xmm0
jmp 0x10056972
xorps xmm5, xmm5
comiss xmm2, xmm3
jbe 0x1005698f
movaps xmm0, xmm3
movaps xmm3, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x100be78c]
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 [0x100be70c]
addss xmm0, dword [0x100be60c]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x100be60c]
addss xmm2, xmm5
divss xmm1, xmm0
andps xmm2, xmmword [0x100beb50]
movss dword [esi], xmm2
movss dword [esi + 4], xmm1
mov esi, dword [0x100ca9c8]
mov byte [esi + 0x1e3e], 0
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
test edx, edx
je 0x10056a15
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x1bc8]
test ecx, ecx
je 0x10056a15
cmp dword [eax + 0x1bf8], edx
jne 0x10056a15
mov dword [edi + 0x118], ecx
mov al, byte [esp + 0x16]
test al, al
je 0x10056a33
mov ecx, dword [esi + 0x1b94]
mov word [esi + 0x1bd8], 0x101
or dword [ecx + 0x11c], 4
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
xor ecx, esp
call fcn.10061d94
mov esp, ebp
pop ebp
ret
mov esi, dword [0x100ca9c8]
jmp 0x100569f1