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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x1015a380]
xor eax, esp
mov dword [esp + 0x134], eax
push esi
mov esi, dword [0x1020f4d8]
push edi
mov edi, edx
mov dword [esp + 0x1c], esi
mov edx, ecx
mov dword [esp + 0x28], edi
mov eax, dword [esi + 0x19b0]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x44], edx
mov dword [esp + 0xc], ecx
mov byte [eax + 0x8c], 1
mov eax, dword [esi + 0x19b0]
mov dword [esp + 0x18], eax
cmp byte [eax + 0x8f], 0
je 0x10033a2f
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.100d7b08
mov esp, ebp
pop ebp
ret
movss xmm0, dword [esi + 0x154c]
addss xmm0, xmm0
addss xmm0, dword [esi + 0x18c4]
movss dword [esp + 0x4c], xmm0
test cl, 0x10
je 0x10033a53
xorps xmm2, xmm2
jmp 0x10033a5e
movaps xmm2, xmm0
addss xmm2, dword [esi + 0x1560]
test byte [esi + 0x1a8c], 1
xorps xmm0, xmm0
je 0x10033a74
movss xmm1, dword [esi + 0x1a90]
jmp 0x10033a7c
movss xmm1, dword [eax + 0x180]
comiss xmm0, xmm1
jbe 0x10033aae
cmp dword [eax + 0x1d0], 0
movss xmm0, dword [eax + 0x22c]
je 0x10033a9a
movss xmm0, dword [eax + 0x20c]
subss xmm0, dword [eax + 0xd8]
addss xmm1, xmm0
maxss xmm1, dword [0x10155bc0]
mov dword [esp + 0x34], edx
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, xmm2
movss dword [esp + 0x20], xmm0
cmp edx, 0xffffffff
jae 0x10033aee
mov esi, edx
nop
mov dl, byte [esi]
test dl, dl
je 0x10033aea
cmp dl, 0x23
jne 0x10033ae0
cmp byte [esi + 1], dl
je 0x10033aea
inc esi
mov dword [esp + 0x34], esi
cmp esi, 0xffffffff
jb 0x10033ad0
mov esi, dword [esp + 0x1c]
mov edx, ecx
mov dword [esp + 0x48], ecx
shr edx, 1
mov eax, ecx
shr eax, 0x13
not dl
and eax, 0xffffff01
and edx, 0xffffff01
mov dword [esp + 0x58], eax
movzx eax, dl
add eax, 3
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
call fcn.100142d0
mov ecx, dword [esp + 0x44]
call fcn.100141c0
mov ecx, dword [esp + 0xc]
test cl, 0x20
je 0x10033b41
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0xc], ecx
test cl, 8
jne 0x10033b53
mov edx, ecx
mov ecx, edi
call fcn.100382c0
mov ecx, dword [esp + 0xc]
test ecx, 0x700000
jne 0x10033b68
mov eax, dword [esi + 0x2cdc]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x10033b7d
mov eax, dword [esi + 0x2cdc]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x10033b92
mov eax, dword [esi + 0x2cdc]
and eax, 0x6000000
or ecx, eax
mov eax, dword [esi + 0x2cdc]
movss xmm2, dword [edi]
and eax, 0xf80fffff
movss xmm5, dword [edi + 4]
or ecx, eax
cmp byte [esp + 0x38], 0
movss xmm1, dword [edi + 8]
mov dword [esp + 0xc], ecx
movss dword [esp + 0x60], xmm2
movss dword [esp + 0x64], xmm5
movss dword [esp + 0x68], xmm1
je 0x10033bd7
movss xmm0, dword [edi + 0xc]
movss dword [esp + 0x6c], xmm0
jmp 0x10033bdf
mov dword [esp + 0x6c], 0x3f800000
test ecx, 0x200000
je 0x10033c76
comiss xmm1, xmm5
xorps xmm4, xmm4
movaps xmm3, xmm5
jbe 0x10033c04
movss xmm4, dword [0x10155edc]
movaps xmm3, xmm1
movaps xmm1, xmm5
comiss xmm3, xmm2
movaps xmm5, xmm2
jbe 0x10033c21
movss xmm0, dword [0x10155ec4]
movaps xmm5, xmm3
subss xmm0, xmm4
movaps xmm3, xmm2
movaps xmm4, xmm0
movaps xmm0, xmm3
movss dword [esp + 0x68], xmm5
minss xmm0, xmm1
movaps xmm2, xmm5
subss xmm3, xmm1
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x10155c6c]
addss xmm0, dword [0x10155a74]
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x10155a74]
addss xmm3, xmm4
divss xmm2, xmm0
andps xmm3, xmmword [0x10156220]
movss dword [esp + 0x60], xmm3
movss dword [esp + 0x64], xmm2
movss xmm0, dword [esp + 0x60]
xorps xmm5, xmm5
comiss xmm0, xmm5
movss xmm2, dword [0x10155ecc]
movss xmm1, dword [0x10155b64]
jb 0x10033c99
movaps xmm4, xmm1
jmp 0x10033c9c
movaps xmm4, xmm2
movss xmm0, dword [esp + 0x60]
movss xmm3, dword [0x10155e08]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si esi, xmm0
movss xmm0, dword [esp + 0x64]
comiss xmm0, xmm5
mov dword [esp + 0x70], esi
jb 0x10033cca
movaps xmm4, xmm1
jmp 0x10033ccd
movaps xmm4, xmm2
movss xmm0, dword [esp + 0x64]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x68]
comiss xmm0, xmm5
mov dword [esp + 0x74], edx
jb 0x10033cf3
movaps xmm4, xmm1
jmp 0x10033cf6
movaps xmm4, xmm2
movss xmm0, dword [esp + 0x68]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x6c]
comiss xmm0, xmm5
mov dword [esp + 0x78], eax
jae 0x10033d1a
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x6c]
mulss xmm0, xmm3
mov byte [esp + 0xb], 0
mov byte [esp + 0x13], 0
addss xmm0, xmm1
cvttss2si edi, xmm0
mov dword [esp + 0x7c], edi
test ecx, 0x300000
je 0x100342c9
test cl, 0x20
jne 0x100342c9
mov edx, dword [esp + 0x3c]
test ecx, 0x1000000
movss xmm4, dword [esp + 0x20]
mov ecx, str.M:000
movaps xmm1, xmm4
mov esi, dword [0x1020f4d8]
push ecx
lea eax, [edx - 1]
movd xmm2, eax
mov eax, dword [esp + 0x20]
cvtdq2ps xmm2, xmm2
push 0
movss xmm3, dword [eax + 0x1560]
movaps xmm0, xmm3
mulss xmm0, xmm2
subss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm0, dword [0x10155bc0]
addss xmm3, xmm0
movss dword [esp + 0x28], xmm0
mulss xmm3, xmm2
movss xmm2, dword [esi + 0x18c4]
subss xmm4, xmm3
cvttss2si eax, xmm4
movd xmm0, eax
mov eax, str.M:0.000
cvtdq2ps xmm0, xmm0
cmove eax, ecx
push eax
push ecx
mov ecx, dword [esi + 0x18c0]
lea eax, [esp + 0x3c]
mov dword [esp], 0xbf800000
maxss xmm0, dword [0x10155bc0]
push eax
movss dword [esp + 0x70], xmm0
call fcn.100279e0
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [0x10155bb8]
mov dword [esp + 0x80], 0x1015430c
mov dword [esp + 0x84], 0x10154310
mov dword [esp + 0x88], 0x10154314
mov dword [esp + 0x8c], 0x10154318
cvttss2si eax, xmm0
mov dword [esp + 0xc8], str._3.0f
mov dword [esp + 0xcc], str._3.0f
mov dword [esp + 0xd0], str._3.0f
mov dword [esp + 0xd4], str._3.0f
mov dword [esp + 0xd8], str.R:_3.0f
mov dword [esp + 0xdc], str.G:_3.0f
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x20]
mov dword [esp + 0xe0], str.B:_3.0f
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov dword [esp + 0xe4], str.A:_3.0f
mov dword [esp + 0xe8], str.H:_3.0f
mov dword [esp + 0xec], str.S:_3.0f
mov dword [esp + 0xf0], str.V:_3.0f
mov dword [esp + 0xf4], str.A:_3.0f
comiss xmm1, xmm0
mov dword [esp + 0x98], str._0.3f
mov dword [esp + 0x9c], str._0.3f
mov dword [esp + 0xa0], str._0.3f
mov dword [esp + 0xa4], str._0.3f
mov dword [esp + 0xa8], str.R:_0.3f
mov dword [esp + 0xac], str.G:_0.3f
mov dword [esp + 0xb0], str.B:_0.3f
mov dword [esp + 0xb4], str.A:_0.3f
mov dword [esp + 0xb8], str.H:_0.3f
mov dword [esp + 0xbc], str.S:_0.3f
mov dword [esp + 0xc0], str.V:_0.3f
mov dword [esp + 0xc4], str.A:_0.3f
jb 0x10033f6f
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x10033f84
mov ecx, dword [esp + 0xc]
and ecx, 0x200000
neg ecx
sbb ecx, ecx
neg ecx
inc ecx
mov dword [esp + 0x14], ecx
xorps xmm4, xmm4
mov eax, esi
ucomiss xmm0, xmm4
mov dword [esp + 0x24], eax
mov ecx, dword [eax + 0x19b0]
mov dword [esp + 0x20], ecx
lahf
test ah, 0x44
jp 0x10033fa8
movss xmm0, dword [ecx + 0x23c]
lea edi, [ecx + 0x194]
movss dword [ecx + 0x180], xmm0
mov ecx, dword [edi + 4]
mov eax, dword [edi]
cmp eax, ecx
jne 0x10033fec
lea esi, [eax + 1]
test ecx, ecx
je 0x10033fd1
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10033fd6
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.100198b0
mov esi, dword [0x1020f4d8]
xorps xmm4, xmm4
mov edx, dword [edi]
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x180]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x24]
inc dword [edi]
xor edi, edi
mov dword [esp + 0x20], edi
and dword [eax + 0x1a8c], 0xfffffffe
cmp dword [esp + 0x3c], edi
jbe 0x1003422d
mov eax, dword [esp + 0xc]
mov ecx, eax
and ecx, 0x1000000
and eax, 8
shl dword [esp + 0x14], 4
mov dword [esp + 0x50], ecx
mov dword [esp + 0x2c], eax
test edi, edi
je 0x1003404f
mov eax, dword [esp + 0x1c]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1560]
call fcn.10014630
lea eax, [edi + 1]
cmp eax, dword [esp + 0x3c]
jne 0x100340dd
movss xmm0, dword [esp + 0x5c]
mov ecx, dword [esi + 0x19b0]
ucomiss xmm0, xmm4
mov dword [esp + 0x40], ecx
lahf
test ah, 0x44
jp 0x1003407d
movss xmm0, dword [ecx + 0x23c]
lea edi, [ecx + 0x194]
movss dword [ecx + 0x180], xmm0
mov ecx, dword [edi + 4]
mov edx, dword [edi]
cmp edx, ecx
jne 0x100340be
inc edx
mov dword [esp + 0x24], edx
test ecx, ecx
je 0x100340ac
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, ecx
jmp 0x100340b1
mov eax, 8
cmp eax, edx
mov ecx, edi
cmovg edx, eax
push edx
call fcn.100198b0
mov edx, dword [edi]
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x180]
mov dword [ecx + edx*4], eax
inc dword [edi]
and dword [esi + 0x1a8c], 0xfffffffe
mov edi, dword [esp + 0x20]
cmp dword [esp + 0x50], 0
je 0x1003414e
cmp byte [esp + 0x58], 0
mov eax, dword [esp + 0x14]
je 0x100340f4
xorps xmm0, xmm0
jmp 0x100340fc
movss xmm0, dword [0x10155bc0]
movss xmm3, dword [0x10155aa0]
mov edx, 8
push ecx
push dword [esp + eax + 0x9c]
mov ecx, dword [esp + edi*4 + 0x88]
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x30]
movss dword [esp + 0x4c], xmm0
push eax
lea eax, [esp + 0x70]
mov dword [esp + 0x34], 0
lea eax, [eax + edi*4]
push eax
call fcn.1002fc30
add esp, 0x14
or al, byte [esp + 0xb]
mov byte [esp + 0x13], al
mov byte [esp + 0xb], al
jmp 0x100341a3
movss xmm3, dword [0x10155bc0]
xor ecx, ecx
cmp byte [esp + 0x58], cl
mov eax, 0xff
push ecx
cmovne eax, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x44], eax
lea edx, [ecx + 4]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + edi*4 + 0x84]
push dword [esp + eax + 0xcc]
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x80]
lea eax, [eax + edi*4]
push eax
call fcn.1002fc30
add esp, 0x14
or byte [esp + 0xb], al
cmp dword [esp + 0x2c], 0
mov esi, dword [0x1020f4d8]
jne 0x10034216
cmp byte [esi + 0x3de], 0
je 0x10034216
mov ecx, 8
call fcn.1000c260
test al, al
je 0x10034216
mov eax, dword [esi + 0x19b0]
xor edx, edx
mov ecx, dword [eax + 0xcc]
mov eax, dword [eax + 0xd4]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.100093e0
add esp, 4
cmp dword [esi + 0x19ec], eax
jne 0x100341fa
mov dword [esi + 0x19f0], eax
cmp dword [esi + 0x1a20], eax
jne 0x10034209
mov byte [esi + 0x1a24], 1
mov ecx, eax
call fcn.10014cf0
mov esi, dword [0x1020f4d8]
add dword [esp + 0x14], 4
inc edi
xorps xmm4, xmm4
mov dword [esp + 0x20], edi
cmp edi, dword [esp + 0x3c]
jl 0x10034037
mov eax, dword [esi + 0x19b0]
mov byte [eax + 0x8c], 1
mov ecx, dword [esi + 0x19b0]
mov edx, dword [ecx + 0x194]
sub edx, 1
mov dword [ecx + 0x194], edx
jne 0x1003425b
movss xmm0, dword [ecx + 0x23c]
jmp 0x10034267
mov eax, dword [ecx + 0x19c]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x180], xmm0
mov eax, dword [esi + 0x19b0]
mov byte [eax + 0x8c], 1
mov ecx, dword [esi + 0x19b0]
mov edx, dword [ecx + 0x194]
sub edx, 1
mov dword [ecx + 0x194], edx
jne 0x100342ac
movss xmm0, dword [ecx + 0x23c]
movss dword [ecx + 0x180], xmm0
mov ecx, dword [esp + 0xc]
jmp 0x10034594
mov eax, dword [ecx + 0x19c]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x180], xmm0
mov ecx, dword [esp + 0xc]
jmp 0x10034594
test ecx, 0x400000
je 0x1003458e
test cl, 0x20
jne 0x1003458e
cmp byte [esp + 0x38], 0
mov ecx, 0xff
je 0x1003433e
test edi, edi
jns 0x100342f2
xor edi, edi
jmp 0x100342f7
cmp edi, ecx
cmovg edi, ecx
test eax, eax
jns 0x100342ff
xor eax, eax
jmp 0x10034307
cmp eax, 0xff
cmovg eax, ecx
test edx, edx
jns 0x1003430f
xor edx, edx
jmp 0x10034314
cmp edx, ecx
cmovg edx, ecx
test esi, esi
jns 0x1003431c
xor esi, esi
jmp 0x10034321
cmp esi, ecx
cmovg esi, ecx
push edi
push eax
push edx
push esi
push 0x101543a4
lea eax, [esp + 0x10c]
push 0x40
push eax
call fcn.10009380
add esp, 0x1c
jmp 0x10034382
test eax, eax
jns 0x10034346
xor eax, eax
jmp 0x1003434e
cmp eax, 0xff
cmovg eax, ecx
test edx, edx
jns 0x10034356
xor edx, edx
jmp 0x1003435b
cmp edx, ecx
cmovg edx, ecx
test esi, esi
jns 0x10034363
xor esi, esi
jmp 0x10034368
cmp esi, ecx
cmovg esi, ecx
push eax
push edx
push esi
push 0x101543b8
lea eax, [esp + 0x108]
push 0x40
push eax
call fcn.10009380
add esp, 0x18
movss xmm4, dword [esp + 0x20]
ucomiss xmm4, dword [0x10155a64]
mov eax, dword [0x1020f4d8]
mov dword [esp + 0x50], eax
mov ecx, dword [eax + 0x19b0]
mov dword [esp + 0x2c], ecx
lahf
test ah, 0x44
jp 0x100343b0
movss xmm4, dword [ecx + 0x23c]
lea esi, [ecx + 0x194]
movss dword [ecx + 0x180], xmm4
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jne 0x100343e9
inc ecx
test edi, edi
je 0x100343d7
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x100343dc
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.100198b0
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x2c]
push 0
push 0
push 6
mov eax, dword [eax + 0x180]
mov dword [ecx + edx*4], eax
xor edx, edx
mov eax, dword [esp + 0x5c]
mov ecx, str.Text
inc dword [esi]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
and dword [eax + 0x1a8c], 0xfffffffe
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x108]
push 0x40
push eax
call fcn.10030a00
add esp, 0x18
test al, al
je 0x100344c9
mov byte [esp + 0xb], 1
lea ecx, [esp + 0xf8]
mov al, byte [ecx]
cmp al, 0x23
je 0x1003445e
cmp al, 0x20
je 0x1003445e
cmp al, 9
jne 0x10034461
inc ecx
jmp 0x10034450
cmp byte [esp + 0x38], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
je 0x100344ac
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x7c]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.100078b0
add esp, 0x18
jmp 0x100344c9
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x78]
push eax
push str._02X_02X_02X
push ecx
call fcn.100078b0
add esp, 0x14
mov ecx, dword [esp + 0xc]
mov esi, dword [0x1020f4d8]
test cl, 8
jne 0x10034542
cmp byte [esi + 0x3de], 0
mov edi, dword [esi + 0x19b0]
je 0x10034542
mov ecx, 8
call fcn.1000c260
test al, al
je 0x1003453e
mov ecx, dword [edi + 0xcc]
xor edx, edx
mov eax, dword [edi + 0xd4]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.100093e0
add esp, 4
cmp dword [esi + 0x19ec], eax
jne 0x10034522
mov dword [esi + 0x19f0], eax
cmp dword [esi + 0x1a20], eax
jne 0x10034531
mov byte [esi + 0x1a24], 1
mov ecx, eax
call fcn.10014cf0
mov esi, dword [0x1020f4d8]
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x19b0]
mov byte [eax + 0x8c], 1
mov edx, dword [esi + 0x19b0]
mov edi, dword [edx + 0x194]
sub edi, 1
mov dword [edx + 0x194], edi
jne 0x10034578
movss xmm0, dword [edx + 0x23c]
movss dword [edx + 0x180], xmm0
jmp 0x10034594
mov eax, dword [edx + 0x19c]
movss xmm0, dword [eax + edi*4 - 4]
movss dword [edx + 0x180], xmm0
jmp 0x10034594
mov esi, dword [0x1020f4d8]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
test cl, 0x10
jne 0x10034903
test cl, 0x20
jne 0x100345c2
movss xmm1, dword [edi + 0x1560]
xorps xmm0, xmm0
call fcn.10014630
mov ecx, dword [esp + 0xc]
cmp byte [esp + 0x38], 0
mov eax, dword [esp + 0x28]
je 0x100345d4
movss xmm1, dword [eax + 0xc]
jmp 0x100345dc
movss xmm1, dword [0x10155bc0]
movss xmm0, dword [eax]
lea edx, [esp + 0x80]
mov dword [esp + 0x30], 0
push dword [esp + 0x30]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [eax + 4]
mov dword [esp + 0x30], 0
push dword [esp + 0x30]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [eax + 8]
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0x94], xmm0
movss dword [esp + 0x98], xmm1
call fcn.10037890
add esp, 0xc
test al, al
je 0x1003470d
test byte [esp + 0xc], 4
jne 0x1003470d
movups xmm0, xmmword [esp + 0x80]
mov esi, dword [0x1020f4d8]
xor edx, edx
movups xmmword [edi + 0x2cf0], xmm0
mov eax, dword [esi + 0x19b0]
mov ecx, dword [eax + 0xcc]
mov eax, dword [eax + 0xd4]
push dword [eax + ecx*4 - 4]
mov ecx, 0x10154404
call fcn.100093e0
add esp, 4
cmp dword [esi + 0x19ec], eax
jne 0x10034696
mov dword [esi + 0x19f0], eax
cmp dword [esi + 0x1a20], eax
jne 0x100346a5
mov byte [esi + 0x1a24], 1
mov ecx, eax
call fcn.10014cf0
mov eax, dword [esp + 0x18]
mov esi, dword [0x1020f4d8]
movss xmm1, dword [eax + 0x120]
movss xmm0, dword [eax + 0x12c]
addss xmm0, dword [edi + 0x155c]
subss xmm1, dword [0x10155bc0]
or dword [esi + 0x1a34], 1
mov dword [esi + 0x1a4c], 0
mov dword [esi + 0x1a50], 0
movss dword [esi + 0x1a48], xmm0
movss dword [esi + 0x1a44], xmm1
mov dword [esi + 0x1a38], 1
jmp 0x10034713
mov esi, dword [0x1020f4d8]
test byte [esp + 0xc], 8
jne 0x1003477a
cmp byte [esi + 0x3de], 0
je 0x1003477a
mov ecx, 8
call fcn.1000c260
test al, al
je 0x1003477a
mov eax, dword [esi + 0x19b0]
xor edx, edx
mov ecx, dword [eax + 0xcc]
mov eax, dword [eax + 0xd4]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.100093e0
add esp, 4
cmp dword [esi + 0x19ec], eax
jne 0x10034764
mov dword [esi + 0x19f0], eax
cmp dword [esi + 0x1a20], eax
jne 0x10034773
mov byte [esi + 0x1a24], 1
mov ecx, eax
call fcn.10014cf0
mov ecx, 0x10154404
call fcn.10015170
test al, al
je 0x100348f5
mov eax, dword [edi + 0x19b0]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
cmp ecx, eax
je 0x100347d4
push 1
mov edx, eax
call fcn.1002c960
mov eax, dword [0x1020f4d8]
add esp, 4
mov ecx, dword [eax + 0x19b0]
cmp byte [ecx + 0x8f], 0
jne 0x100347d4
mov ecx, dword [ecx + 0x16c]
neg ecx
sbb ecx, ecx
add ecx, 6
call fcn.1002f270
movss xmm0, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mulss xmm0, dword [0x10155c94]
and eax, 0x7890002
or eax, 0x740080
mov dword [esp + 0x48], eax
mov eax, dword [0x1020f4d8]
ucomiss xmm0, dword [0x10155a64]
mov dword [esp + 0x2c], eax
mov ecx, dword [eax + 0x19b0]
mov dword [esp + 0x4c], ecx
lahf
test ah, 0x44
jp 0x1003481c
movss xmm0, dword [ecx + 0x23c]
lea esi, [ecx + 0x194]
movss dword [ecx + 0x180], xmm0
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jne 0x10034855
inc ecx
test edi, edi
je 0x10034843
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10034848
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.100198b0
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x1c]
mov eax, dword [eax + 0x180]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x2c]
inc dword [esi]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x28]
and dword [eax + 0x1a8c], 0xfffffffe
lea eax, [edi + 0x2cf0]
push eax
push ecx
mov ecx, str.picker
call fcn.100350b0
mov ecx, dword [0x1020f4d8]
add esp, 8
or byte [esp + 0xb], al
mov eax, dword [ecx + 0x19b0]
mov byte [eax + 0x8c], 1
mov ecx, dword [ecx + 0x19b0]
mov edx, dword [ecx + 0x194]
sub edx, 1
mov dword [ecx + 0x194], edx
jne 0x100348da
movss xmm0, dword [ecx + 0x23c]
movss dword [ecx + 0x180], xmm0
call fcn.100151f0
jmp 0x100348f9
mov eax, dword [ecx + 0x19c]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x180], xmm0
call fcn.100151f0
jmp 0x100348f9
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
mov esi, dword [0x1020f4d8]
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x34]
je 0x10034939
test cl, cl
js 0x10034939
movss xmm1, dword [edi + 0x1560]
xorps xmm0, xmm0
call fcn.10014630
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x44]
push 1
call fcn.1002c960
mov esi, dword [0x1020f4d8]
add esp, 4
cmp dword [esp + 0x14], 0
jne 0x100349cd
cmp byte [esp + 0x13], 0
jne 0x1003495f
movups xmm0, xmmword [esp + 0x70]
cvtdq2ps xmm0, xmm0
mulps xmm0, xmmword [0x10156020]
movups xmmword [esp + 0x60], xmm0
test dword [esp + 0xc], 0x200000
je 0x10034990
movss xmm2, dword [esp + 0x68]
lea eax, [esp + 0x68]
movss xmm1, dword [esp + 0x64]
lea edx, [esp + 0x64]
movss xmm0, dword [esp + 0x60]
lea ecx, [esp + 0x60]
push eax
call fcn.10009a60
add esp, 4
cmp byte [esp + 0xb], 0
je 0x100349cd
cmp byte [esp + 0x38], 0
mov eax, dword [esp + 0x28]
movss xmm0, dword [esp + 0x60]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x64]
movss dword [eax + 4], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [eax + 8], xmm0
je 0x100349cd
movss xmm0, dword [esp + 0x6c]
movss dword [eax + 0xc], xmm0
mov eax, dword [esi + 0x19b0]
dec dword [eax + 0xcc]
call fcn.10014400
mov esi, dword [esp + 0x18]
test byte [esi + 0x11c], 1
je 0x10034ae4
test dword [esp + 0xc], 0x200
jne 0x10034ae4
mov esi, dword [0x1020f4d8]
cmp byte [esi + 0x1d3c], 0
je 0x10034ae0
mov ecx, dword [esi + 0x19b0]
mov edx, dword [ecx + 0x11c]
test dl, 1
je 0x10034ae0
mov edi, dword [esi + 0x19b4]
test edi, edi
je 0x10034ae0
mov eax, dword [ecx + 0x304]
cmp eax, dword [edi + 0x304]
jne 0x10034ae0
lea edi, [ecx + 0x130]
test dl, 2
jne 0x10034a56
lea edi, [ecx + 0x120]
mov eax, dword [ecx + 0x118]
test eax, eax
jne 0x10034a66
push edi
call fcn.1000bb60
cmp dword [esi + 0x1d54], eax
je 0x10034ae0
movups xmm0, xmmword [edi]
mov ecx, str._COL3F
mov dword [esi + 0x1d94], eax
mov byte [esi + 0x1d3d], 1
movups xmmword [esi + 0x1d84], xmm0
call fcn.100184d0
mov esi, dword [esp + 0x28]
test eax, eax
je 0x10034aac
mov eax, dword [eax]
mov byte [esp + 0xb], 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.100184d0
mov ecx, eax
test ecx, ecx
je 0x10034ad4
mov eax, dword [esp + 0x3c]
shl eax, 2
push eax
push dword [ecx]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xb], 1
mov eax, dword [0x1020f4d8]
mov byte [eax + 0x1d3d], 0
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
test edx, edx
je 0x10034b08
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x19ec]
test ecx, ecx
je 0x10034b08
cmp dword [eax + 0x1a18], edx
jne 0x10034b08
mov dword [esi + 0x118], ecx
mov ecx, dword [esp + 0x13c]
mov al, byte [esp + 0xb]
pop edi
pop esi
xor ecx, esp
call fcn.100d7b08
mov esp, ebp
pop ebp
ret