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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x101903b8]
xor eax, esp
mov dword [esp + 0xd4], eax
push esi
push edi
mov edi, dword [0x10270558]
mov dword [esp + 0x1c], edx
mov edx, ecx
mov dword [esp + 0x2c], edx
mov eax, dword [edi + 0x3e58]
mov byte [eax + 0xac], 1
mov eax, dword [edi + 0x3e58]
mov dword [esp + 0x38], eax
cmp byte [eax + 0xaf], 0
je 0x1003e732
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.100c9808
mov esp, ebp
pop ebp
ret
movss xmm2, dword [edi + 0x37c0]
addss xmm2, xmm2
addss xmm2, dword [edi + 0x3bc4]
movss dword [esp + 0x20], xmm2
call fcn.100164f0
mov eax, dword [ebp + 8]
movaps xmm3, xmm0
movss dword [esp + 0x54], xmm3
mov dword [esp + 0x14], eax
test al, 0x10
je 0x1003e76a
xorps xmm1, xmm1
jmp 0x1003e775
movaps xmm1, xmm2
addss xmm1, dword [edi + 0x37d4]
movss dword [esp + 0x40], xmm1
subss xmm0, xmm1
mov esi, edx
movss dword [esp + 0x48], xmm0
cmp edx, 0xffffffff
jae 0x1003e7a5
nop dword [eax]
mov al, byte [esi]
test al, al
je 0x1003e7a5
cmp al, 0x23
jne 0x1003e79f
cmp byte [esi + 1], al
je 0x1003e7a5
inc esi
cmp esi, 0xffffffff
jb 0x1003e790
mov dword [edi + 0x46b8], 0
mov dword [edi + 0x46bc], 0
call fcn.10016570
mov ecx, dword [esp + 0x2c]
call fcn.10013bb0
mov eax, dword [edi + 0x59b4]
mov dword [esp + 0x58], eax
test eax, eax
jne 0x1003e7ef
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0xe4]
mov eax, dword [eax + 0xec]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi + 0x59b4], eax
mov edx, dword [esp + 0x14]
mov dword [esp + 0x50], edx
test dl, 0x20
je 0x1003e80c
and edx, 0xff9fffff
or edx, 0x100008
mov dword [esp + 0x14], edx
test dl, 8
jne 0x1003e81e
mov ecx, dword [esp + 0x1c]
call fcn.100425b0
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + 0x59b0]
test edx, 0x700000
jne 0x1003e835
mov eax, ecx
and eax, 0x700000
or edx, eax
test edx, 0x1800000
jne 0x1003e846
mov eax, ecx
and eax, 0x1800000
or edx, eax
test edx, 0x6000000
jne 0x1003e857
mov eax, ecx
and eax, 0x6000000
or edx, eax
test edx, 0x18000000
jne 0x1003e868
mov eax, ecx
and eax, 0x18000000
or edx, eax
movss xmm0, dword [0x101878cc]
and ecx, 0xe00fffff
or edx, ecx
mov eax, edx
mov dword [esp + 0x14], edx
shr eax, 1
not al
and eax, 0xffffff01
movzx ecx, al
add ecx, 3
mov dword [esp + 0x30], eax
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x1c]
movss xmm6, dword [ecx + 4]
movss xmm4, dword [ecx]
movaps xmm1, xmm6
movss xmm7, dword [ecx + 8]
movaps xmm3, xmm4
movss dword [esp + 0x78], xmm3
movaps xmm2, xmm7
movss dword [esp + 0x24], xmm6
movss dword [esp + 0x7c], xmm1
movss dword [esp + 0x80], xmm2
test al, al
je 0x1003e8d4
movss xmm0, dword [ecx + 0xc]
mov eax, edx
movss dword [esp + 0x84], xmm0
and eax, 0x10100000
mov dword [esp + 0x44], eax
cmp eax, 0x10100000
jne 0x1003e912
lea eax, [esp + 0x80]
movaps xmm0, xmm3
push eax
lea edx, [esp + 0x80]
lea ecx, [esp + 0x7c]
call fcn.10006c50
add esp, 4
jmp 0x1003e9da
mov eax, edx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1003ea06
comiss xmm7, xmm6
xorps xmm3, xmm3
movaps xmm2, xmm6
movaps xmm5, xmm7
jbe 0x1003e940
movss xmm3, dword [0x10187c14]
movaps xmm2, xmm7
movaps xmm5, xmm6
movaps xmm0, xmm4
comiss xmm2, xmm0
jbe 0x1003e95d
movaps xmm4, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x10187bfc]
subss xmm0, xmm3
movaps xmm3, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x80], xmm4
minss xmm0, xmm5
movaps xmm1, xmm4
subss xmm2, xmm5
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x80]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x80]
movaps xmm0, xmm1
mulss xmm0, dword [0x101879f8]
addss xmm0, dword [0x101877d8]
divss xmm2, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x101877d8]
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmmword [0x10188120]
movss dword [esp + 0x80], xmm2
movss dword [esp + 0x84], xmm1
call fcn.1003e5d0
add esp, 8
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
movss xmm6, dword [esp + 0x24]
movss xmm3, dword [esp + 0x78]
movss xmm1, dword [esp + 0x7c]
movss xmm2, dword [esp + 0x80]
movss xmm0, dword [esp + 0x84]
comiss xmm3, dword [0x101877c8]
movss xmm4, dword [0x10187c00]
movss xmm5, dword [0x1018787c]
jae 0x1003ea22
movaps xmm5, xmm4
movss xmm7, dword [0x10187b80]
mulss xmm3, xmm7
addss xmm3, xmm5
xorps xmm5, xmm5
comiss xmm1, xmm5
cvttss2si eax, xmm3
mov dword [esp + 0x88], eax
jb 0x1003ea4f
movss xmm3, dword [0x1018787c]
jmp 0x1003ea52
movaps xmm3, xmm4
comiss xmm2, xmm5
mulss xmm1, xmm7
addss xmm1, xmm3
movss xmm3, dword [0x1018787c]
cvttss2si eax, xmm1
mov dword [esp + 0x8c], eax
jb 0x1003ea77
movaps xmm1, xmm3
jmp 0x1003ea7a
movaps xmm1, xmm4
comiss xmm0, xmm5
mulss xmm2, xmm7
addss xmm2, xmm1
cvttss2si eax, xmm2
mov dword [esp + 0x90], eax
jb 0x1003ea95
movaps xmm4, xmm3
mulss xmm0, dword [0x10187b80]
mov byte [esp + 0x13], 0
movss xmm7, dword [ecx + 8]
mov dword [esp + 0x34], 0
addss xmm0, xmm4
cvttss2si eax, xmm0
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x38]
movss xmm2, dword [eax + 0xf0]
movss dword [esp + 0x3c], xmm2
test dl, 0x10
jne 0x1003eeb8
cmp byte [esp + 0x30], 0
je 0x1003eae7
movss xmm0, dword [ecx + 0xc]
jmp 0x1003eaef
movss xmm0, dword [0x101878cc]
movss xmm1, dword [ecx]
lea eax, [esp + 0x78]
push eax
push edx
lea edx, [esp + 0x68]
movss dword [esp + 0x68], xmm1
mov ecx, str.ColorButton
movss dword [esp + 0x6c], xmm6
movss dword [esp + 0x70], xmm7
movss dword [esp + 0x74], xmm0
mov dword [esp + 0x80], 0x41a00000
mov dword [esp + 0x84], 0x41000000
call fcn.10041a20
add esp, 8
test al, al
mov eax, dword [esp + 0x14]
je 0x1003eba8
test al, 4
jne 0x1003eba8
movups xmm0, xmmword [esp + 0x60]
mov ecx, str.picker
movups xmmword [edi + 0x59c8], xmm0
call fcn.10017010
mov eax, dword [0x10270558]
movss xmm0, dword [edi + 0x46dc]
movss xmm1, dword [edi + 0x46e8]
or dword [eax + 0x470c], 1
movss dword [eax + 0x471c], xmm0
movss dword [eax + 0x4720], xmm1
mov dword [eax + 0x4724], 0
mov dword [eax + 0x4728], 0
mov dword [eax + 0x4710], 1
mov eax, dword [esp + 0x14]
and eax, 8
mov dword [esp + 0x78], eax
jne 0x1003ebb6
call fcn.10017630
mov edx, 4
mov ecx, str.picker
call fcn.10017540
test al, al
je 0x1003eeab
mov eax, dword [edi + 0x3e58]
cmp word [eax + 0xb6], 1
jne 0x1003eea6
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x1003ec3e
push 0
mov edx, esi
mov ecx, eax
call fcn.100337a0
mov ecx, dword [0x10270558]
add esp, 4
mov eax, dword [ecx + 0x3e58]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e58]
cmp byte [eax + 0xaf], 0
jne 0x1003ec3e
movss xmm1, dword [0x10187c14]
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.10015f10
mov eax, dword [0x10270558]
mov ecx, 0x10186164
movss xmm0, dword [esp + 0x20]
mulss xmm0, dword [0x10187a18]
mov edx, dword [esp + 0x1c]
or dword [eax + 0x46b8], 1
movss dword [eax + 0x46c0], xmm0
lea eax, [edi + 0x59c8]
push eax
mov eax, dword [esp + 0x54]
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.1003f560
add esp, 8
mov byte [esp + 0x13], al
cmp byte [esp + 0x30], 0
mov ecx, 0xff
je 0x1003ed28
mov edx, dword [esp + 0x94]
test edx, edx
jns 0x1003ecb0
mov dword [esp + 0x24], 0
jmp 0x1003ecb9
cmp edx, ecx
cmovg edx, ecx
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x90]
test eax, eax
jns 0x1003ecce
mov dword [esp + 0x20], 0
jmp 0x1003ecda
cmp eax, 0xff
cmovg eax, ecx
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x8c]
test edx, edx
jns 0x1003ece9
xor edx, edx
jmp 0x1003ecee
cmp edx, ecx
cmovg edx, ecx
mov eax, dword [esp + 0x88]
test eax, eax
jns 0x1003ecfd
xor eax, eax
jmp 0x1003ed05
cmp eax, 0xff
cmovg eax, ecx
push dword [esp + 0x24]
push dword [esp + 0x24]
push edx
push eax
push 0x101867d8
lea eax, [esp + 0xac]
push 0x40
push eax
call fcn.10006580
add esp, 0x1c
jmp 0x1003ed91
mov eax, dword [esp + 0x90]
test eax, eax
jns 0x1003ed3d
mov dword [esp + 0x20], 0
jmp 0x1003ed49
cmp eax, 0xff
cmovg eax, ecx
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x8c]
test edx, edx
jns 0x1003ed58
xor edx, edx
jmp 0x1003ed5d
cmp edx, ecx
cmovg edx, ecx
mov eax, dword [esp + 0x88]
test eax, eax
jns 0x1003ed6c
xor eax, eax
jmp 0x1003ed74
cmp eax, 0xff
cmovg eax, ecx
push dword [esp + 0x20]
push edx
push eax
push 0x101867ec
lea eax, [esp + 0xa8]
push 0x40
push eax
call fcn.10006580
add esp, 0x18
mov eax, dword [0x10270558]
xor edx, edx
movss xmm0, dword [esp + 0x48]
mov ecx, str.Text
push 0
push 0
or dword [eax + 0x46b8], 1
movss dword [eax + 0x46c0], xmm0
lea eax, [esp + 0x50]
push 6
push eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x58], 0
push 0x40
push eax
mov dword [esp + 0x64], 0
call fcn.1003ab30
add esp, 0x18
test al, al
je 0x1003ee9a
mov dword [esp + 0x34], 0
lea ecx, [esp + 0x98]
mov byte [esp + 0x13], 1
nop dword [eax + eax]
mov al, byte [ecx]
cmp al, 0x23
je 0x1003ee0e
cmp al, 0x20
je 0x1003ee0e
cmp al, 9
jne 0x1003ee11
inc ecx
jmp 0x1003ee00
cmp byte [esp + 0x30], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x94], 0xff
je 0x1003ee74
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x94]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.10004330
add esp, 0x18
jmp 0x1003ee9a
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x90]
push eax
push str._02X_02X_02X
push ecx
call fcn.10004330
add esp, 0x14
cmp dword [esp + 0x78], 0
jne 0x1003eea6
call fcn.10017630
call fcn.100175d0
mov edx, dword [esp + 0x14]
xorps xmm5, xmm5
movss xmm2, dword [esp + 0x3c]
cmp dword [esp + 0x2c], esi
je 0x1003ef89
test dl, dl
js 0x1003ef89
mov eax, dword [0x10270558]
movss xmm1, dword [edi + 0x37d4]
mov ecx, dword [eax + 0x3e58]
mov dword [esp + 0x24], ecx
cmp byte [ecx + 0xaf], 0
jne 0x1003ef4e
comiss xmm5, xmm1
jbe 0x1003eef7
movss xmm1, dword [eax + 0x37cc]
addss xmm1, dword [ecx + 0xf8]
movss xmm0, dword [ecx + 0xfc]
movss dword [ecx + 0xf0], xmm1
movss dword [ecx + 0xf4], xmm0
mov edx, dword [esp + 0x24]
mov eax, dword [ecx + 0x120]
mov ecx, dword [ecx + 0x124]
mov dword [edx + 0x118], eax
mov eax, edx
mov edx, dword [esp + 0x14]
mov dword [eax + 0x11c], ecx
mov ecx, eax
mov eax, dword [ecx + 0x12c]
mov dword [ecx + 0x128], eax
mov byte [ecx + 0x130], 1
test dl, 0x20
je 0x1003ef5b
movss xmm0, dword [esp + 0x40]
jmp 0x1003ef69
movss xmm0, dword [esp + 0x54]
addss xmm0, dword [edi + 0x37d4]
mov eax, dword [esp + 0x38]
addss xmm2, xmm0
mov ecx, dword [esp + 0x2c]
mov edx, esi
push 0
movss dword [eax + 0xf0], xmm2
call fcn.100337a0
add esp, 4
cmp byte [esp + 0x13], 0
je 0x1003f173
cmp dword [esp + 0x34], 0
jne 0x1003f173
movups xmm0, xmmword [esp + 0x88]
mov eax, dword [esp + 0x14]
and eax, 0x8200000
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x10188110]
movups xmmword [esp + 0x78], xmm0
cmp eax, 0x8200000
jne 0x1003f0a9
movss xmm0, dword [esp + 0x78]
lea eax, [esp + 0x80]
movss xmm1, dword [esp + 0x7c]
lea edx, [esp + 0x7c]
movss xmm2, dword [esp + 0x80]
lea ecx, [esp + 0x78]
push eax
movss dword [edi + 0x59bc], xmm0
movss dword [edi + 0x59c0], xmm1
call fcn.10006c50
movss xmm1, dword [esp + 0x7c]
xorps xmm5, xmm5
mov eax, dword [edi + 0x59b4]
add esp, 4
comiss xmm5, xmm1
mov dword [edi + 0x59b8], eax
movss xmm4, dword [0x101878cc]
jbe 0x1003f02e
xorps xmm0, xmm0
jmp 0x1003f035
movaps xmm0, xmm4
minss xmm0, xmm1
movss xmm7, dword [0x10187b80]
movss xmm6, dword [0x1018787c]
movss xmm2, dword [esp + 0x7c]
comiss xmm5, xmm2
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1003f061
xorps xmm0, xmm0
jmp 0x1003f068
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm3, dword [esp + 0x80]
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm5, xmm3
jbe 0x1003f08c
xorps xmm4, xmm4
jmp 0x1003f090
minss xmm4, xmm3
mulss xmm4, xmm7
addss xmm4, xmm6
cvttss2si eax, xmm4
shl eax, 0x10
or eax, ecx
mov dword [edi + 0x59c4], eax
jmp 0x1003f0c1
movss xmm3, dword [esp + 0x80]
xorps xmm5, xmm5
movss xmm2, dword [esp + 0x7c]
movss xmm1, dword [esp + 0x78]
cmp dword [esp + 0x44], 0x10100000
jne 0x1003f14a
movaps xmm4, xmm1
movaps xmm1, xmm2
movaps xmm0, xmm1
movaps xmm6, xmm4
comiss xmm3, xmm0
jbe 0x1003f0ea
movss xmm5, dword [0x10187c14]
movaps xmm1, xmm3
movaps xmm3, xmm0
comiss xmm1, xmm6
jbe 0x1003f104
movss xmm0, dword [0x10187bfc]
movaps xmm4, xmm1
subss xmm0, xmm5
movaps xmm1, xmm6
movaps xmm5, xmm0
movaps xmm0, xmm1
movaps xmm2, xmm4
minss xmm0, xmm3
subss xmm1, xmm3
movaps xmm3, xmm4
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x101879f8]
addss xmm0, dword [0x101877d8]
divss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x101877d8]
addss xmm1, xmm5
divss xmm2, xmm0
andps xmm1, xmmword [0x10188120]
cmp byte [esp + 0x30], 0
mov esi, dword [esp + 0x1c]
movss dword [esi], xmm1
movss dword [esi + 4], xmm2
movss dword [esi + 8], xmm3
je 0x1003f177
movss xmm0, dword [esp + 0x84]
movss dword [esi + 0xc], xmm0
jmp 0x1003f177
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x58], 0
jne 0x1003f188
mov dword [edi + 0x59b4], 0
mov eax, dword [0x10270558]
mov eax, dword [eax + 0x3e58]
dec dword [eax + 0xe4]
call fcn.100166a0
test byte [edi + 0x46d8], 1
je 0x1003f2e5
test dword [esp + 0x14], 0x200
jne 0x1003f2e5
call fcn.1001bea0
test al, al
je 0x1003f2e5
mov ecx, str._COL3F
mov byte [esp + 0x1b], 0
call fcn.1001bf60
test eax, eax
je 0x1003f1f3
mov eax, dword [eax]
mov byte [esp + 0x1b], 1
mov byte [esp + 0x13], 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.1001bf60
test eax, eax
je 0x1003f21b
mov ecx, dword [esp + 0x5c]
shl ecx, 2
push ecx
push dword [eax]
push esi
call fcn.1012be50
add esp, 0xc
mov byte [esp + 0x13], 1
jmp 0x1003f226
cmp byte [esp + 0x1b], 0
je 0x1003f2cb
test dword [esp + 0x14], 0x10000000
je 0x1003f2cb
movss xmm2, dword [esi + 4]
movss xmm4, dword [esi + 8]
comiss xmm4, xmm2
movss xmm3, dword [esi]
jbe 0x1003f25a
movss xmm5, dword [0x10187c14]
movaps xmm0, xmm2
movaps xmm2, xmm4
movaps xmm4, xmm0
jmp 0x1003f25d
xorps xmm5, xmm5
comiss xmm2, xmm3
jbe 0x1003f27a
movaps xmm0, xmm3
movaps xmm3, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x10187bfc]
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 [0x101879f8]
addss xmm0, dword [0x101877d8]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x101877d8]
addss xmm2, xmm5
divss xmm1, xmm0
andps xmm2, xmmword [0x10188120]
movss dword [esi], xmm2
movss dword [esi + 4], xmm1
mov eax, dword [0x10270558]
cmp byte [eax + 0x49ba], 0
mov byte [eax + 0x4976], 0
je 0x1003f2e5
call fcn.1001bbc0
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x1003f305
mov eax, dword [edi + 0x3ea4]
test eax, eax
je 0x1003f305
cmp dword [edi + 0x3ec0], ecx
jne 0x1003f305
mov dword [edi + 0x46d0], eax
mov al, byte [esp + 0x13]
test al, al
je 0x1003f33e
mov ecx, dword [edi + 0x46d0]
test ecx, ecx
je 0x1003f33e
mov eax, dword [0x10270558]
mov edx, dword [eax + 0x3ea4]
cmp edx, ecx
je 0x1003f32a
test edx, edx
jne 0x1003f333
mov word [eax + 0x3eb4], 0x101
or dword [eax + 0x46d8], 4
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
xor ecx, esp
call fcn.100c9808
mov esp, ebp
pop ebp
ret