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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
mov eax, dword [0x10242040]
xor eax, esp
mov dword [esp + 0xe4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x10335910]
mov dword [esp + 0x10], eax
push edi
mov edi, edx
mov dword [esp + 0x44], ecx
mov eax, dword [esi + 0x31b8]
mov dword [esp + 0x2c], edi
mov byte [eax + 0x8c], 1
mov eax, dword [esi + 0x31b8]
mov dword [esp + 0x28], eax
cmp byte [eax + 0x8f], 0
je 0x10083e89
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.1014ba4f
mov esp, ebp
pop ebp
ret
call fcn.1005feb0
movaps xmm2, xmm0
movss dword [esp + 0x7c], xmm2
call fcn.1005fd70
test byte [esp + 0x14], 0x10
movaps xmm1, xmm0
movss dword [esp + 0x84], xmm1
je 0x10083eb4
xorps xmm0, xmm0
jmp 0x10083ebf
movaps xmm0, xmm2
addss xmm0, dword [esi + 0x2b8c]
mov ecx, dword [esp + 0x44]
subss xmm1, xmm0
xor edx, edx
movss dword [esp + 0x50], xmm0
movss dword [esp + 0x4c], xmm1
call fcn.100563a0
mov dword [esp + 0x5c], eax
mov dword [esi + 0x3248], 0
call fcn.1005ff60
mov ecx, dword [esp + 0x44]
call fcn.1005f500
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x80], ecx
test cl, 0x20
je 0x10083f16
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0x14], ecx
test cl, 8
jne 0x10083f28
mov edx, ecx
mov ecx, edi
call fcn.10087340
mov ecx, dword [esp + 0x14]
test ecx, 0x700000
jne 0x10083f3d
mov eax, dword [esi + 0x44d8]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x10083f52
mov eax, dword [esi + 0x44d8]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x10083f67
mov eax, dword [esi + 0x44d8]
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x10083f7c
mov eax, dword [esi + 0x44d8]
and eax, 0x18000000
or ecx, eax
mov eax, dword [esi + 0x44d8]
movss xmm3, dword [edi]
and eax, 0xe00fffff
movss xmm1, dword [edi + 4]
or ecx, eax
movss xmm2, dword [edi + 8]
mov edx, ecx
shr edx, 1
mov eax, ecx
not dl
shr eax, 0x13
and edx, 0xffffff01
mov dword [esp + 0x14], ecx
mov dword [esp + 0x48], edx
and eax, 0xffffff01
movzx edx, dl
add edx, 3
mov dword [esp + 0x20], eax
cmp byte [esp + 0x48], 0
mov dword [esp + 0x18], edx
movss dword [esp + 0x88], xmm3
movss dword [esp + 0x8c], xmm1
movss dword [esp + 0x90], xmm2
je 0x10083fec
movss xmm0, dword [edi + 0xc]
jmp 0x10083ff4
movss xmm0, dword [0x1022c720]
mov eax, ecx
movss dword [esp + 0x94], xmm0
and eax, 0x10100000
cmp eax, 0x10100000
jne 0x1008402e
lea eax, [esp + 0x90]
movaps xmm0, xmm3
push eax
lea edx, [esp + 0x90]
lea ecx, [esp + 0x8c]
call fcn.10055d60
add esp, 4
jmp 0x10084074
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x100840a0
lea eax, [esp + 0x90]
movaps xmm0, xmm3
push eax
lea edx, [esp + 0x90]
lea ecx, [esp + 0x8c]
call fcn.10055cc0
add esp, 4
lea eax, [esp + 0x90]
push eax
mov eax, edx
mov edx, ecx
push eax
mov ecx, edi
call fcn.10083d70
add esp, 8
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
movss xmm3, dword [esp + 0x88]
movss xmm1, dword [esp + 0x8c]
movss xmm2, dword [esp + 0x90]
movss xmm0, dword [esp + 0x94]
movss xmm5, dword [0x1022ca1c]
xorps xmm4, xmm4
comiss xmm3, xmm4
movss xmm4, dword [0x1022c6cc]
jb 0x100840bd
movaps xmm7, xmm4
jmp 0x100840c0
movaps xmm7, xmm5
movss xmm6, dword [0x1022c960]
mulss xmm3, xmm6
addss xmm3, xmm7
xorps xmm7, xmm7
comiss xmm1, xmm7
cvttss2si eax, xmm3
mov dword [esp + 0x98], eax
jb 0x100840e8
movaps xmm3, xmm4
jmp 0x100840eb
movaps xmm3, xmm5
comiss xmm2, xmm7
mulss xmm1, xmm6
addss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [esp + 0x9c], eax
jb 0x10084108
movaps xmm1, xmm4
jmp 0x1008410b
movaps xmm1, xmm5
comiss xmm0, xmm7
mulss xmm2, xmm6
addss xmm2, xmm1
cvttss2si eax, xmm2
mov dword [esp + 0xa0], eax
jae 0x10084126
movaps xmm4, xmm5
cmp dword [esi + 0x2bcc], 0
mulss xmm0, xmm6
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
addss xmm0, xmm4
cvttss2si eax, xmm0
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x28]
movss xmm2, dword [eax + 0xd0]
movss xmm3, dword [eax + 0xd4]
movss dword [esp + 0x30], xmm2
movss dword [esp + 0x34], xmm3
jne 0x10084174
movss xmm1, dword [esp + 0x50]
jmp 0x10084177
xorps xmm1, xmm1
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0xd0], xmm0
test ecx, 0x300000
je 0x10084445
test cl, 0x20
jne 0x10084445
movss xmm2, dword [esi + 0x2b8c]
lea eax, [edx - 1]
movss xmm1, dword [esp + 0x4c]
movaps xmm0, xmm2
movd xmm3, eax
cvtdq2ps xmm3, xmm3
push ecx
mov dword [esp], 0xbf800000
push 0
push 0
mulss xmm0, xmm3
subss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mov edx, str.M:0.000
divss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm0, dword [0x1022c720]
addss xmm2, xmm0
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x58]
mulss xmm2, xmm3
subss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, ecx
cvtdq2ps xmm0, xmm0
and eax, 0x1000000
mov ecx, str.M:000
mov dword [esp + 0x28], eax
cmove edx, ecx
lea ecx, [esp + 0x44]
maxss xmm0, dword [0x1022c720]
movss dword [esp + 0x30], xmm0
call fcn.1005a470
movss xmm1, dword [esp + 0x4c]
add esp, 0xc
mov ecx, dword [esp + 0x14]
movss xmm0, dword [eax]
comiss xmm0, xmm1
jb 0x10084254
xor eax, eax
jmp 0x10084262
mov eax, ecx
and eax, 0x200000
neg eax
sbb eax, eax
neg eax
inc eax
mov edx, dword [esp + 0x18]
xor edi, edi
test edx, edx
je 0x10084341
shl eax, 4
cmp dword [esp + 0x1c], edi
je 0x1008438f
and ecx, 8
mov dword [esp + 0x54], ecx
lea ecx, [eax + 0x10209ce4]
mov dword [esp + 0x1c], ecx
nop
test edi, edi
je 0x100842af
movss xmm1, dword [esi + 0x2b8c]
call fcn.1005fbb0
movss xmm1, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea eax, [edi + 1]
mov dword [esp + 0x38], eax
cmp eax, edx
jge 0x100842bf
movaps xmm0, xmm1
jmp 0x100842c5
movss xmm0, dword [esp + 0x24]
call fcn.1005fcb0
cmp byte [esp + 0x20], 0
je 0x100842d6
xorps xmm0, xmm0
jmp 0x100842de
movss xmm0, dword [0x1022c720]
push ecx
push dword [ecx]
lea edx, [esp + 0x90]
push ecx
mov ecx, dword [edi*4 + 0x10209d14]
lea edx, [edx + edi*4]
movss dword [esp], xmm0
call fcn.1007f4d0
mov dl, byte [esp + 0x1e]
add esp, 0xc
or dl, al
or byte [esp + 0x13], dl
cmp dword [esp + 0x54], 0
mov byte [esp + 0x12], dl
jne 0x1008431a
call fcn.10060fc0
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x38]
add ecx, 4
movss xmm1, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
cmp edi, dword [esp + 0x18]
jl 0x10084290
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
movss xmm2, dword [esp + 0x30]
movss xmm3, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], 0
test cl, 0x10
jne 0x100847b7
test cl, 0x20
jne 0x1008463a
cmp dword [esi + 0x2bcc], 0
je 0x1008463a
movss xmm1, dword [esp + 0x4c]
addss xmm1, dword [esi + 0x2b8c]
jmp 0x1008463d
xor edi, edi
mov edx, 0xff
cmp byte [esp + 0x20], 0
cmovne edx, edi
and ecx, 8
mov dword [esp + 0x38], ecx
lea ecx, [eax + 0x10209c8c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
test edi, edi
jle 0x100843d2
movss xmm1, dword [esi + 0x2b8c]
call fcn.1005fbb0
movss xmm1, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea eax, [edi + 1]
mov dword [esp + 0x54], eax
cmp eax, dword [esp + 0x18]
jge 0x100843e4
movaps xmm0, xmm1
jmp 0x100843ea
movss xmm0, dword [esp + 0x24]
call fcn.1005fcb0
push ecx
push dword [ecx]
push edx
push ecx
mov ecx, dword [edi*4 + 0x10209d14]
lea edx, [esp + 0xa8]
lea edx, [edx + edi*4]
call fcn.1007f510
or byte [esp + 0x22], al
add esp, 0x10
cmp dword [esp + 0x38], 0
jne 0x1008441d
call fcn.10060fc0
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x54]
add ecx, 4
movss xmm1, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
cmp edi, dword [esp + 0x18]
jl 0x100843b3
jmp 0x1008433d
test ecx, 0x400000
je 0x10084355
test cl, 0x20
jne 0x10084355
cmp byte [esp + 0x48], 0
mov eax, 0xff
je 0x100844f1
mov edx, dword [esp + 0xa4]
test edx, edx
jns 0x1008447f
mov dword [esp + 0x24], 0
jmp 0x10084488
cmp edx, eax
cmovg edx, eax
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0xa0]
test ecx, ecx
jns 0x1008449d
mov dword [esp + 0x20], 0
jmp 0x100844a6
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x9c]
test edx, edx
jns 0x100844b5
xor edx, edx
jmp 0x100844ba
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x98]
test ecx, ecx
jns 0x100844c9
xor ecx, ecx
jmp 0x100844ce
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x24]
lea eax, [esp + 0xac]
push dword [esp + 0x24]
push edx
push ecx
push 0x10209aa4
push 0x40
push eax
call fcn.10055420
add esp, 0x1c
jmp 0x10084554
mov ecx, dword [esp + 0xa0]
test ecx, ecx
jns 0x10084506
mov dword [esp + 0x24], 0
jmp 0x1008450f
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x9c]
test edx, edx
jns 0x1008451e
xor edx, edx
jmp 0x10084523
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x98]
test ecx, ecx
jns 0x10084532
xor ecx, ecx
jmp 0x10084537
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x24]
lea eax, [esp + 0xac]
push edx
push ecx
push 0x10209a84
push 0x40
push eax
call fcn.10055420
add esp, 0x18
movss xmm0, dword [esp + 0x4c]
call fcn.1005fcb0
sub esp, 0x10
lea edx, [esp + 0xb8]
call fcn.1007fd90
add esp, 0x10
test al, al
je 0x1008461f
mov byte [esp + 0x12], 1
lea ecx, [esp + 0xa8]
mov al, byte [ecx]
cmp al, 0x23
je 0x10084593
cmp al, 0x20
je 0x10084593
cmp al, 9
jne 0x10084596
inc ecx
jmp 0x10084585
cmp byte [esp + 0x48], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0xa4], 0xff
je 0x100845f9
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.10053770
add esp, 0x18
jmp 0x1008461f
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.10053770
add esp, 0x14
mov ecx, dword [esp + 0x14]
test cl, 8
jne 0x10084345
call fcn.10060fc0
mov ecx, dword [esp + 0x14]
jmp 0x10084345
xorps xmm1, xmm1
cmp byte [esp + 0x48], 0
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0xd4], xmm3
movss dword [eax + 0xd0], xmm0
je 0x10084662
movss xmm1, dword [edi + 0xc]
jmp 0x1008466a
movss xmm1, dword [0x1022c720]
movss xmm0, dword [edi]
lea edx, [esp + 0x60]
mov dword [esp + 0x3c], 0
push dword [esp + 0x3c]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [edi + 4]
mov dword [esp + 0x3c], 0
push dword [esp + 0x3c]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [edi + 8]
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x78], xmm1
call fcn.10086ad0
add esp, 0xc
test al, al
mov eax, dword [esp + 0x14]
je 0x1008472f
test al, 4
jne 0x1008472f
movups xmm0, xmmword [esp + 0x60]
mov ecx, str.picker
movups xmmword [esi + 0x44e8], xmm0
call fcn.10060bc0
movss xmm0, dword [esi + 0x3268]
lea eax, [esp + 0x38]
subss xmm0, dword [0x1022c720]
push eax
xor edx, edx
mov dword [esp + 0x3c], 0
lea ecx, [esp + 0x58]
mov dword [esp + 0x40], 0
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esi + 0x3274]
addss xmm0, dword [esi + 0x2b88]
movss dword [esp + 0x5c], xmm0
call fcn.1005f3e0
mov eax, dword [esp + 0x18]
add esp, 4
test al, 8
jne 0x10084738
call fcn.10060fc0
mov ecx, str.picker
call fcn.10060f40
test al, al
je 0x100847b3
mov eax, dword [esi + 0x31b8]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
cmp eax, ecx
je 0x1008476f
mov edx, ecx
mov ecx, eax
push 0
call fcn.1007b9a0
add esp, 4
call fcn.1007da80
movss xmm0, dword [esp + 0x7c]
mulss xmm0, dword [0x1022c7d8]
call fcn.1005fcb0
lea eax, [esi + 0x44e8]
mov edx, edi
push eax
mov eax, dword [esp + 0x84]
mov ecx, 0x10209620
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.10084c30
or byte [esp + 0x1a], al
add esp, 8
call fcn.10060f80
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x5c]
cmp dword [esp + 0x44], edx
je 0x1008481d
test cl, cl
js 0x1008481d
test cl, 0x20
je 0x100847d2
movss xmm0, dword [esp + 0x50]
jmp 0x100847e3
movss xmm0, dword [esp + 0x84]
addss xmm0, dword [esi + 0x2b8c]
movss xmm1, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x34]
addss xmm0, dword [esi + 0x2b78]
mov ecx, dword [esp + 0x44]
push 0
movss dword [eax + 0xd0], xmm1
movss dword [eax + 0xd4], xmm0
call fcn.1007b9a0
add esp, 4
cmp byte [esp + 0x12], 0
je 0x10084987
cmp dword [esp + 0x2c], 0
jne 0x10084987
cmp byte [esp + 0x13], 0
jne 0x10084854
movups xmm0, xmmword [esp + 0x98]
cvtdq2ps xmm0, xmm0
mulps xmm0, xmmword [0x1022cbf0]
movups xmmword [esp + 0x88], xmm0
mov eax, dword [esp + 0x14]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x100848f7
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 [esi + 0x44dc], xmm0
movss dword [esi + 0x44e0], xmm1
call fcn.10055d60
movss xmm5, dword [esp + 0x8c]
lea ecx, [esp + 0x64]
movss xmm6, dword [esp + 0x90]
add esp, 4
movss xmm7, dword [esp + 0x90]
movss dword [esp + 0x60], xmm5
movss dword [esp + 0x64], xmm6
movss dword [esp + 0x68], xmm7
mov dword [esp + 0x6c], 0
call fcn.10055c10
mov dword [esi + 0x44e4], eax
jmp 0x10084912
movss xmm7, dword [esp + 0x90]
movss xmm6, dword [esp + 0x8c]
movss xmm5, dword [esp + 0x88]
mov eax, dword [esp + 0x14]
and eax, 0x10100000
cmp eax, 0x10100000
jne 0x10084964
lea eax, [esp + 0x90]
movaps xmm2, xmm7
push eax
lea edx, [esp + 0x90]
movaps xmm1, xmm6
lea ecx, [esp + 0x8c]
movaps xmm0, xmm5
call fcn.10055cc0
movss xmm7, dword [esp + 0x94]
add esp, 4
movss xmm6, dword [esp + 0x8c]
movss xmm5, dword [esp + 0x88]
cmp byte [esp + 0x48], 0
movss dword [edi], xmm5
movss dword [edi + 4], xmm6
movss dword [edi + 8], xmm7
je 0x10084987
movss xmm0, dword [esp + 0x94]
movss dword [edi + 0xc], xmm0
call fcn.1005f570
call fcn.10060090
test byte [esi + 0x3264], 1
je 0x10084a43
test dword [esp + 0x14], 0x200
jne 0x10084a43
call fcn.10064c70
test al, al
je 0x10084a43
mov ecx, str._COL3F
mov byte [esp + 0x13], 0
call fcn.10064d10
test eax, eax
je 0x100849e6
mov eax, dword [eax]
mov byte [esp + 0x13], 1
mov byte [esp + 0x12], 1
movq xmm0, qword [eax]
movq qword [edi], xmm0
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
mov ecx, str._COL4F
call fcn.10064d10
test eax, eax
je 0x10084a0e
mov ecx, dword [esp + 0x18]
shl ecx, 2
push ecx
push dword [eax]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0x12], 1
jmp 0x10084a15
cmp byte [esp + 0x13], 0
je 0x10084a3e
test dword [esp + 0x14], 0x10000000
je 0x10084a3e
movss xmm2, dword [edi + 8]
lea eax, [edi + 8]
movss xmm1, dword [edi + 4]
lea edx, [edi + 4]
movss xmm0, dword [edi]
mov ecx, edi
push eax
call fcn.10055cc0
add esp, 4
call fcn.10064eb0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10084a63
mov ecx, dword [esi + 0x31f0]
test ecx, ecx
je 0x10084a63
cmp dword [esi + 0x3224], eax
jne 0x10084a63
mov dword [esi + 0x325c], ecx
mov cl, byte [esp + 0x12]
test cl, cl
je 0x10084a70
call fcn.10057770
mov al, cl
mov ecx, dword [esp + 0xec]
pop edi
pop esi
xor ecx, esp
call fcn.1014ba4f
mov esp, ebp
pop ebp
ret