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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
mov eax, dword [0x10249010]
xor eax, esp
mov dword [esp + 0xe4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [0x1039eb90]
mov esi, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x38], ecx
mov eax, dword [edi + 0x31b8]
mov byte [eax + 0x8c], 1
mov eax, dword [edi + 0x31b8]
mov dword [esp + 0x4c], eax
cmp byte [eax + 0x8f], 0
je 0x10083ae9
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.1015164c
mov esp, ebp
pop ebp
ret
call fcn.1005fc60
movaps xmm2, xmm0
movss dword [esp + 0x74], xmm2
call fcn.1005fb20
test byte [esp + 0x10], 0x10
movaps xmm1, xmm0
movss dword [esp + 0x7c], xmm1
je 0x10083b11
xorps xmm0, xmm0
jmp 0x10083b1c
movaps xmm0, xmm2
addss xmm0, dword [edi + 0x2b8c]
mov ecx, dword [esp + 0x38]
subss xmm1, xmm0
xor edx, edx
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x44], xmm1
call fcn.100560f0
mov dword [esp + 0x50], eax
mov dword [edi + 0x3248], edx
call fcn.1005fd10
mov ecx, dword [esp + 0x38]
call fcn.1005f290
mov edx, dword [esp + 0x10]
mov dword [esp + 0x78], edx
test edx, 0x20
je 0x10083b6f
and edx, 0xff9fffff
or edx, 0x100008
mov dword [esp + 0x10], edx
test dl, 8
jne 0x10083b7f
mov ecx, esi
call fcn.10087010
mov edx, dword [esp + 0x10]
mov ecx, dword [edi + 0x44d8]
test edx, 0x700000
jne 0x10083b96
mov eax, ecx
and eax, 0x700000
or edx, eax
test edx, 0x1800000
jne 0x10083ba7
mov eax, ecx
and eax, 0x1800000
or edx, eax
test edx, 0x6000000
jne 0x10083bb8
mov eax, ecx
and eax, 0x6000000
or edx, eax
test edx, 0x18000000
jne 0x10083bc9
mov eax, ecx
and eax, 0x18000000
or edx, eax
movss xmm3, dword [esi + 4]
and ecx, 0xe00fffff
movss xmm0, dword [esi]
or edx, ecx
movss xmm2, dword [esi + 8]
mov eax, edx
shr eax, 0x13
mov ecx, edx
shr ecx, 1
and eax, 0xffffff01
not cl
mov dword [esp + 0x30], eax
and ecx, 0xffffff01
mov dword [esp + 0x10], edx
lea eax, [esi + 4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x84], eax
lea eax, [esi + 8]
movzx ecx, cl
add ecx, 3
movss dword [esp + 0x88], xmm0
cmp byte [esp + 0x2c], 0
mov dword [esp + 0x18], ecx
movss dword [esp + 0x8c], xmm3
mov dword [esp + 0x5c], eax
movss dword [esp + 0x90], xmm2
je 0x10083c45
movss xmm1, dword [esi + 0xc]
jmp 0x10083c4d
movss xmm1, dword [0x10232db8]
mov eax, edx
movss dword [esp + 0x94], xmm1
and eax, 0x10100000
mov dword [esp + 0x80], eax
cmp eax, 0x10100000
jne 0x10083c8e
lea eax, [esp + 0x90]
movaps xmm1, xmm3
push eax
lea edx, [esp + 0x90]
lea ecx, [esp + 0x8c]
call fcn.10055ab0
add esp, 4
jmp 0x10083cd4
mov eax, edx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x10083d00
lea eax, [esp + 0x90]
movaps xmm1, xmm3
push eax
lea edx, [esp + 0x90]
lea ecx, [esp + 0x8c]
call fcn.10055a10
add esp, 4
lea eax, [esp + 0x90]
push eax
mov eax, edx
mov edx, ecx
push eax
mov ecx, esi
call fcn.100839d0
add esp, 8
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
movss xmm0, dword [esp + 0x88]
movss xmm3, dword [esp + 0x8c]
movss xmm2, dword [esp + 0x90]
movss xmm1, dword [esp + 0x94]
movss xmm5, dword [0x102330c4]
xorps xmm4, xmm4
comiss xmm0, xmm4
movss xmm4, dword [0x10232d64]
jb 0x10083d1d
movaps xmm7, xmm4
jmp 0x10083d20
movaps xmm7, xmm5
movss xmm6, dword [0x10233000]
mulss xmm0, xmm6
addss xmm0, xmm7
xorps xmm7, xmm7
comiss xmm3, xmm7
cvttss2si eax, xmm0
mov dword [esp + 0x98], eax
jb 0x10083d48
movaps xmm0, xmm4
jmp 0x10083d4b
movaps xmm0, xmm5
comiss xmm2, xmm7
mulss xmm3, xmm6
addss xmm3, xmm0
cvttss2si eax, xmm3
mov dword [esp + 0x9c], eax
jb 0x10083d68
movaps xmm0, xmm4
jmp 0x10083d6b
movaps xmm0, xmm5
comiss xmm1, xmm7
mulss xmm2, xmm6
addss xmm2, xmm0
cvttss2si eax, xmm2
mov dword [esp + 0xa0], eax
jae 0x10083d86
movaps xmm4, xmm5
cmp dword [edi + 0x2bcc], 0
mulss xmm1, xmm6
mov byte [esp + 0xe], 0
mov byte [esp + 0xf], 0
addss xmm1, xmm4
cvttss2si eax, xmm1
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x4c]
movss xmm2, dword [eax + 0xd0]
movss xmm3, dword [eax + 0xd4]
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x40], xmm3
jne 0x10083dd4
movss xmm1, dword [esp + 0x48]
jmp 0x10083dd7
xorps xmm1, xmm1
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0xd0], xmm0
mov eax, edx
and eax, 0x20
test edx, 0x300000
je 0x10084062
test eax, eax
jne 0x10084062
movss xmm2, dword [edi + 0x2b8c]
lea eax, [ecx - 1]
movss xmm1, dword [esp + 0x44]
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, ecx
cvtdq2ps xmm0, xmm0
mov ecx, str.M:000
divss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm0, dword [0x10232db8]
addss xmm2, xmm0
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x50]
mulss xmm2, xmm3
subss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, edx
cvtdq2ps xmm0, xmm0
and eax, 0x1000000
mov edx, str.M:0.000
mov dword [esp + 0x20], eax
cmove edx, ecx
lea ecx, [esp + 0x2c]
maxss xmm0, dword [0x10232db8]
movss dword [esp + 0x40], xmm0
call fcn.1005a1c0
movss xmm1, dword [esp + 0x34]
add esp, 0xc
movss xmm0, dword [eax]
comiss xmm0, xmm1
mov eax, dword [esp + 0x10]
jb 0x10083eb8
xor ecx, ecx
jmp 0x10083ec7
mov ecx, eax
and ecx, 0x200000
neg ecx
sbb ecx, ecx
neg ecx
inc ecx
mov edx, dword [esp + 0x18]
xor esi, esi
test edx, edx
je 0x1008422b
shl ecx, 4
cmp dword [esp + 0x14], esi
je 0x10083fa5
and eax, 8
lea ecx, [ecx + 0x1020fb70]
mov dword [esp + 0x54], eax
mov dword [esp + 0x14], ecx
test esi, esi
je 0x10083f12
movss xmm1, dword [edi + 0x2b8c]
call fcn.1005f960
movss xmm1, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea eax, [esi + 1]
mov dword [esp + 0x20], eax
cmp eax, edx
jge 0x10083f22
movaps xmm0, xmm1
jmp 0x10083f28
movss xmm0, dword [esp + 0x34]
call fcn.1005fa60
cmp byte [esp + 0x30], 0
je 0x10083f39
xorps xmm0, xmm0
jmp 0x10083f41
movss xmm0, dword [0x10232db8]
push ecx
push dword [ecx]
lea edx, [esp + 0x90]
push ecx
mov ecx, dword [esi*4 + 0x1020fba0]
lea edx, [edx + esi*4]
movss dword [esp], xmm0
call fcn.1007f0e0
mov cl, byte [esp + 0x1a]
add esp, 0xc
or cl, al
or byte [esp + 0xf], cl
cmp dword [esp + 0x54], 0
mov byte [esp + 0xe], cl
jne 0x10083f7d
call fcn.10060d80
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
add ecx, 4
movss xmm1, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
cmp esi, dword [esp + 0x18]
jl 0x10083ef3
jmp 0x1008422b
xor esi, esi
lea ecx, [ecx + 0x1020fb18]
cmp byte [esp + 0x30], 0
mov edx, 0xff
mov dword [esp + 0x14], ecx
cmovne edx, esi
and eax, 8
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], eax
nop dword [eax]
test esi, esi
jle 0x10083fef
movss xmm1, dword [edi + 0x2b8c]
call fcn.1005f960
movss xmm1, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
lea eax, [esi + 1]
mov dword [esp + 0x54], eax
cmp eax, dword [esp + 0x18]
jge 0x10084001
movaps xmm0, xmm1
jmp 0x10084007
movss xmm0, dword [esp + 0x34]
call fcn.1005fa60
push ecx
push dword [ecx]
push edx
push ecx
mov ecx, dword [esi*4 + 0x1020fba0]
lea edx, [esp + 0xa8]
lea edx, [edx + esi*4]
call fcn.1007f120
or byte [esp + 0x1e], al
add esp, 0x10
cmp dword [esp + 0x20], 0
jne 0x1008403a
call fcn.10060d80
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x54]
add ecx, 4
movss xmm1, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
cmp esi, dword [esp + 0x18]
jl 0x10083fd0
jmp 0x1008422b
mov esi, eax
test edx, 0x400000
je 0x1008423d
test eax, eax
jne 0x1008423d
cmp byte [esp + 0x2c], 0
mov eax, 0xff
je 0x100840fa
mov ecx, dword [esp + 0xa4]
test ecx, ecx
jns 0x10084095
mov dword [esp + 0x34], esi
jmp 0x1008409e
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x34], ecx
mov esi, dword [esp + 0xa0]
test esi, esi
jns 0x100840ad
xor esi, esi
jmp 0x100840b2
cmp esi, eax
cmovg esi, eax
mov edx, dword [esp + 0x9c]
test edx, edx
jns 0x100840c1
xor edx, edx
jmp 0x100840c6
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x98]
test ecx, ecx
jns 0x100840d5
xor ecx, ecx
jmp 0x100840da
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x34]
lea eax, [esp + 0xac]
push esi
push edx
push ecx
push 0x1020f908
push 0x40
push eax
call fcn.10055170
add esp, 0x1c
jmp 0x10084150
mov esi, dword [esp + 0xa0]
test esi, esi
jns 0x10084109
xor esi, esi
jmp 0x1008410e
cmp esi, eax
cmovg esi, eax
mov edx, dword [esp + 0x9c]
test edx, edx
jns 0x1008411d
xor edx, edx
jmp 0x10084122
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x98]
test ecx, ecx
jns 0x10084131
xor ecx, ecx
jmp 0x10084136
cmp ecx, eax
cmovg ecx, eax
push esi
push edx
push ecx
push 0x1020f91c
lea eax, [esp + 0xb8]
push 0x40
push eax
call fcn.10055170
add esp, 0x18
movss xmm0, dword [esp + 0x44]
call fcn.1005fa60
sub esp, 0x10
lea edx, [esp + 0xb8]
call fcn.1007f970
add esp, 0x10
test al, al
je 0x1008421b
mov byte [esp + 0xe], 1
lea ecx, [esp + 0xa8]
mov al, byte [ecx]
cmp al, 0x23
je 0x1008418f
cmp al, 0x20
je 0x1008418f
cmp al, 9
jne 0x10084192
inc ecx
jmp 0x10084181
cmp byte [esp + 0x2c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0xa4], 0xff
je 0x100841f5
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.100534e0
add esp, 0x18
jmp 0x1008421b
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.100534e0
add esp, 0x14
mov edx, dword [esp + 0x10]
xor esi, esi
test dl, 8
jne 0x10084231
call fcn.10060d80
mov edx, dword [esp + 0x10]
xor esi, esi
movss xmm2, dword [esp + 0x3c]
movss xmm3, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x14], eax
test dl, 0x10
jne 0x100843ef
test esi, esi
jne 0x10084268
cmp dword [edi + 0x2bcc], eax
je 0x10084268
movss xmm1, dword [esp + 0x44]
addss xmm1, dword [edi + 0x2b8c]
jmp 0x1008426b
xorps xmm1, xmm1
cmp byte [esp + 0x2c], 0
movaps xmm0, xmm2
mov eax, dword [esp + 0x4c]
addss xmm0, xmm1
movss dword [eax + 0xd4], xmm3
movss dword [eax + 0xd0], xmm0
mov eax, dword [esp + 0x1c]
je 0x10084298
movss xmm1, dword [eax + 0xc]
jmp 0x100842a0
movss xmm1, dword [0x10232db8]
movss xmm0, dword [eax]
mov ecx, str.ColorButton
movss dword [esp + 0x60], xmm0
movss xmm0, dword [eax + 4]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x24], 0
push dword [esp + 0x24]
mov dword [esp + 0x24], 0
push dword [esp + 0x24]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [eax]
push edx
lea edx, [esp + 0x6c]
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x78], xmm1
call fcn.100867d0
add esp, 0xc
test al, al
mov eax, dword [esp + 0x10]
je 0x10084368
test al, 4
jne 0x10084368
movups xmm0, xmmword [esp + 0x60]
mov ecx, str.picker
movups xmmword [edi + 0x44e8], xmm0
call fcn.10060980
movss xmm0, dword [edi + 0x3268]
lea eax, [esp + 0x20]
subss xmm0, dword [0x10232db8]
push eax
xor edx, edx
mov dword [esp + 0x24], 0
lea ecx, [esp + 0x58]
mov dword [esp + 0x28], 0
movss dword [esp + 0x58], xmm0
movss xmm0, dword [edi + 0x2b88]
addss xmm0, dword [edi + 0x3274]
movss dword [esp + 0x5c], xmm0
call fcn.1005f150
mov eax, dword [esp + 0x14]
add esp, 4
test al, 8
jne 0x10084371
call fcn.10060d80
mov ecx, str.picker
call fcn.10060d00
test al, al
je 0x100843eb
mov eax, dword [edi + 0x31b8]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
cmp eax, ecx
je 0x100843a8
mov edx, ecx
mov ecx, eax
push 0
call fcn.1007b030
add esp, 4
call fcn.1007d680
movss xmm0, dword [esp + 0x74]
mulss xmm0, dword [0x10232e74]
call fcn.1005fa60
mov edx, dword [esp + 0x1c]
lea eax, [edi + 0x44e8]
push eax
mov eax, dword [esp + 0x7c]
mov ecx, 0x1020f4a8
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.10084870
or byte [esp + 0x16], al
add esp, 8
call fcn.10060d40
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
cmp ecx, dword [esp + 0x50]
je 0x10084451
test dl, dl
js 0x10084451
test esi, esi
je 0x10084409
movss xmm0, dword [esp + 0x48]
jmp 0x10084417
movss xmm0, dword [esp + 0x7c]
addss xmm0, dword [edi + 0x2b8c]
movss xmm1, dword [esp + 0x3c]
mov eax, dword [esp + 0x4c]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [edi + 0x2b78]
mov edx, dword [esp + 0x50]
push 0
movss dword [eax + 0xd0], xmm1
movss dword [eax + 0xd4], xmm0
call fcn.1007b030
add esp, 4
cmp byte [esp + 0xe], 0
mov esi, dword [esp + 0x14]
je 0x100845bd
test esi, esi
jne 0x100845bd
cmp byte [esp + 0xf], 0
jne 0x10084489
movups xmm0, xmmword [esp + 0x98]
cvtdq2ps xmm0, xmm0
mulps xmm0, xmmword [0x102332b0]
movups xmmword [esp + 0x88], xmm0
mov eax, dword [esp + 0x10]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1008452c
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 + 0x44dc], xmm0
movss dword [edi + 0x44e0], xmm1
call fcn.10055ab0
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.10055960
mov dword [edi + 0x44e4], eax
jmp 0x10084547
movss xmm7, dword [esp + 0x90]
movss xmm6, dword [esp + 0x8c]
movss xmm5, dword [esp + 0x88]
cmp dword [esp + 0x80], 0x10100000
jne 0x10084596
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.10055a10
movss xmm7, dword [esp + 0x94]
add esp, 4
movss xmm6, dword [esp + 0x8c]
movss xmm5, dword [esp + 0x88]
cmp byte [esp + 0x2c], 0
mov eax, dword [esp + 0x1c]
movss dword [eax], xmm5
movss dword [eax + 4], xmm6
movss dword [eax + 8], xmm7
je 0x100845bd
movss xmm0, dword [esp + 0x94]
movss dword [eax + 0xc], xmm0
call fcn.1005f300
call fcn.1005fe40
test byte [edi + 0x3264], 1
je 0x10084687
test dword [esp + 0x10], 0x200
jne 0x10084687
call fcn.10064a50
test al, al
je 0x10084687
mov ecx, str._COL3F
mov byte [esp + 0xf], 0
call fcn.10064af0
test eax, eax
je 0x10084620
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xf], 1
mov byte [esp + 0xe], 1
movq xmm0, qword [eax]
movq qword [ecx], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, str._COL4F
call fcn.10064af0
test eax, eax
je 0x1008464b
mov ecx, dword [esp + 0x18]
shl ecx, 2
push ecx
push dword [eax]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xe], 1
jmp 0x10084652
cmp byte [esp + 0xf], 0
je 0x10084682
test dword [esp + 0x10], 0x10000000
je 0x10084682
mov eax, dword [esp + 0x1c]
mov ecx, eax
mov edx, dword [esp + 0x84]
push dword [esp + 0x5c]
movss xmm2, dword [eax + 8]
movss xmm1, dword [edx]
movss xmm0, dword [eax]
call fcn.10055a10
add esp, 4
call fcn.10064c90
test esi, esi
je 0x100846a3
mov ecx, dword [edi + 0x31f0]
test ecx, ecx
je 0x100846a3
cmp dword [edi + 0x3224], esi
jne 0x100846a3
mov dword [edi + 0x325c], ecx
mov cl, byte [esp + 0xe]
test cl, cl
je 0x100846b0
call fcn.100574c0
mov al, cl
mov ecx, dword [esp + 0xec]
pop edi
pop esi
xor ecx, esp
call fcn.1015164c
mov esp, ebp
pop ebp
ret