Function at 0x10083940
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 [0x10335918]
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 0x100839a9
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.1014b7c5
mov esp, ebp
pop ebp
ret
call fcn.1005f9c0
movaps xmm2, xmm0
movss dword [esp + 0x7c], xmm2
call fcn.1005f880
test byte [esp + 0x14], 0x10
movaps xmm1, xmm0
movss dword [esp + 0x84], xmm1
je 0x100839d4
xorps xmm0, xmm0
jmp 0x100839df
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.10055eb0
mov dword [esp + 0x5c], eax
mov dword [esi + 0x3248], 0
call fcn.1005fa70
mov ecx, dword [esp + 0x44]
call fcn.1005f010
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x80], ecx
test cl, 0x20
je 0x10083a36
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0x14], ecx
test cl, 8
jne 0x10083a48
mov edx, ecx
mov ecx, edi
call fcn.10086e50
mov ecx, dword [esp + 0x14]
test ecx, 0x700000
jne 0x10083a5d
mov eax, dword [esi + 0x44d8]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x10083a72
mov eax, dword [esi + 0x44d8]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x10083a87
mov eax, dword [esi + 0x44d8]
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x10083a9c
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 0x10083b0c
movss xmm0, dword [edi + 0xc]
jmp 0x10083b14
movss xmm0, dword [0x1022c018]
mov eax, ecx
movss dword [esp + 0x94], xmm0
and eax, 0x10100000
cmp eax, 0x10100000
jne 0x10083b4e
lea eax, [esp + 0x90]
movaps xmm0, xmm3
push eax
lea edx, [esp + 0x90]
lea ecx, [esp + 0x8c]
call fcn.10055870
add esp, 4
jmp 0x10083b94
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x10083bc0
lea eax, [esp + 0x90]
movaps xmm0, xmm3
push eax
lea edx, [esp + 0x90]
lea ecx, [esp + 0x8c]
call fcn.100557d0
add esp, 4
lea eax, [esp + 0x90]
push eax
mov eax, edx
mov edx, ecx
push eax
mov ecx, edi
call fcn.10083890
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 [0x1022c304]
xorps xmm4, xmm4
comiss xmm3, xmm4
movss xmm4, dword [0x1022bfc4]
jb 0x10083bdd
movaps xmm7, xmm4
jmp 0x10083be0
movaps xmm7, xmm5
movss xmm6, dword [0x1022c24c]
mulss xmm3, xmm6
addss xmm3, xmm7
xorps xmm7, xmm7
comiss xmm1, xmm7
cvttss2si eax, xmm3
mov dword [esp + 0x98], eax
jb 0x10083c08
movaps xmm3, xmm4
jmp 0x10083c0b
movaps xmm3, xmm5
comiss xmm2, xmm7
mulss xmm1, xmm6
addss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [esp + 0x9c], eax
jb 0x10083c28
movaps xmm1, xmm4
jmp 0x10083c2b
movaps xmm1, xmm5
comiss xmm0, xmm7
mulss xmm2, xmm6
addss xmm2, xmm1
cvttss2si eax, xmm2
mov dword [esp + 0xa0], eax
jae 0x10083c46
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 0x10083c94
movss xmm1, dword [esp + 0x50]
jmp 0x10083c97
xorps xmm1, xmm1
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0xd0], xmm0
test ecx, 0x300000
je 0x10083f65
test cl, 0x20
jne 0x10083f65
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 [0x1022c018]
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 [0x1022c018]
movss dword [esp + 0x30], xmm0
call fcn.10059f70
movss xmm1, dword [esp + 0x4c]
add esp, 0xc
mov ecx, dword [esp + 0x14]
movss xmm0, dword [eax]
comiss xmm0, xmm1
jb 0x10083d74
xor eax, eax
jmp 0x10083d82
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 0x10083e61
shl eax, 4
cmp dword [esp + 0x1c], edi
je 0x10083eaf
and ecx, 8
mov dword [esp + 0x54], ecx
lea ecx, [eax + 0x1020957c]
mov dword [esp + 0x1c], ecx
nop
test edi, edi
je 0x10083dcf
movss xmm1, dword [esi + 0x2b8c]
call fcn.1005f6c0
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 0x10083ddf
movaps xmm0, xmm1
jmp 0x10083de5
movss xmm0, dword [esp + 0x24]
call fcn.1005f7c0
cmp byte [esp + 0x20], 0
je 0x10083df6
xorps xmm0, xmm0
jmp 0x10083dfe
movss xmm0, dword [0x1022c018]
push ecx
push dword [ecx]
lea edx, [esp + 0x90]
push ecx
mov ecx, dword [edi*4 + 0x102095ac]
lea edx, [edx + edi*4]
movss dword [esp], xmm0
call fcn.1007eff0
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 0x10083e3a
call fcn.10060ad0
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 0x10083db0
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 0x100842d7
test cl, 0x20
jne 0x1008415a
cmp dword [esi + 0x2bcc], 0
je 0x1008415a
movss xmm1, dword [esp + 0x4c]
addss xmm1, dword [esi + 0x2b8c]
jmp 0x1008415d
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 + 0x10209524]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
test edi, edi
jle 0x10083ef2
movss xmm1, dword [esi + 0x2b8c]
call fcn.1005f6c0
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 0x10083f04
movaps xmm0, xmm1
jmp 0x10083f0a
movss xmm0, dword [esp + 0x24]
call fcn.1005f7c0
push ecx
push dword [ecx]
push edx
push ecx
mov ecx, dword [edi*4 + 0x102095ac]
lea edx, [esp + 0xa8]
lea edx, [edx + edi*4]
call fcn.1007f030
or byte [esp + 0x22], al
add esp, 0x10
cmp dword [esp + 0x38], 0
jne 0x10083f3d
call fcn.10060ad0
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 0x10083ed3
jmp 0x10083e5d
test ecx, 0x400000
je 0x10083e75
test cl, 0x20
jne 0x10083e75
cmp byte [esp + 0x48], 0
mov eax, 0xff
je 0x10084011
mov edx, dword [esp + 0xa4]
test edx, edx
jns 0x10083f9f
mov dword [esp + 0x24], 0
jmp 0x10083fa8
cmp edx, eax
cmovg edx, eax
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0xa0]
test ecx, ecx
jns 0x10083fbd
mov dword [esp + 0x20], 0
jmp 0x10083fc6
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x9c]
test edx, edx
jns 0x10083fd5
xor edx, edx
jmp 0x10083fda
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x98]
test ecx, ecx
jns 0x10083fe9
xor ecx, ecx
jmp 0x10083fee
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x24]
lea eax, [esp + 0xac]
push dword [esp + 0x24]
push edx
push ecx
push str._02X_02X_02X_02X
push 0x40
push eax
call fcn.10054f30
add esp, 0x1c
jmp 0x10084074
mov ecx, dword [esp + 0xa0]
test ecx, ecx
jns 0x10084026
mov dword [esp + 0x24], 0
jmp 0x1008402f
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x9c]
test edx, edx
jns 0x1008403e
xor edx, edx
jmp 0x10084043
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x98]
test ecx, ecx
jns 0x10084052
xor ecx, ecx
jmp 0x10084057
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x24]
lea eax, [esp + 0xac]
push edx
push ecx
push 0x10209350
push 0x40
push eax
call fcn.10054f30
add esp, 0x18
movss xmm0, dword [esp + 0x4c]
call fcn.1005f7c0
sub esp, 0x10
lea edx, [esp + 0xb8]
call fcn.1007f8b0
add esp, 0x10
test al, al
je 0x1008413f
mov byte [esp + 0x12], 1
lea ecx, [esp + 0xa8]
mov al, byte [ecx]
cmp al, 0x23
je 0x100840b3
cmp al, 0x20
je 0x100840b3
cmp al, 9
jne 0x100840b6
inc ecx
jmp 0x100840a5
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 0x10084119
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 0x10209328
push ecx
call fcn.10053280
add esp, 0x18
jmp 0x1008413f
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.10053280
add esp, 0x14
mov ecx, dword [esp + 0x14]
test cl, 8
jne 0x10083e65
call fcn.10060ad0
mov ecx, dword [esp + 0x14]
jmp 0x10083e65
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 0x10084182
movss xmm1, dword [edi + 0xc]
jmp 0x1008418a
movss xmm1, dword [0x1022c018]
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.100865e0
add esp, 0xc
test al, al
mov eax, dword [esp + 0x14]
je 0x1008424f
test al, 4
jne 0x1008424f
movups xmm0, xmmword [esp + 0x60]
mov ecx, str.picker
movups xmmword [esi + 0x44e8], xmm0
call fcn.100606d0
movss xmm0, dword [esi + 0x3268]
lea eax, [esp + 0x38]
subss xmm0, dword [0x1022c018]
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.1005eef0
mov eax, dword [esp + 0x18]
add esp, 4
test al, 8
jne 0x10084258
call fcn.10060ad0
mov ecx, str.picker
call fcn.10060a50
test al, al
je 0x100842d3
mov eax, dword [esi + 0x31b8]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
cmp eax, ecx
je 0x1008428f
mov edx, ecx
mov ecx, eax
push 0
call fcn.1007b4c0
add esp, 4
call fcn.1007d5a0
movss xmm0, dword [esp + 0x7c]
mulss xmm0, dword [0x1022c0d0]
call fcn.1005f7c0
lea eax, [esi + 0x44e8]
mov edx, edi
push eax
mov eax, dword [esp + 0x84]
mov ecx, 0x10208eb4
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.10084750
or byte [esp + 0x1a], al
add esp, 8
call fcn.10060a90
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x5c]
cmp dword [esp + 0x44], edx
je 0x1008433d
test cl, cl
js 0x1008433d
test cl, 0x20
je 0x100842f2
movss xmm0, dword [esp + 0x50]
jmp 0x10084303
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.1007b4c0
add esp, 4
cmp byte [esp + 0x12], 0
je 0x100844a7
cmp dword [esp + 0x2c], 0
jne 0x100844a7
cmp byte [esp + 0x13], 0
jne 0x10084374
movups xmm0, xmmword [esp + 0x98]
cvtdq2ps xmm0, xmm0
mulps xmm0, xmmword [0x1022c4e0]
movups xmmword [esp + 0x88], xmm0
mov eax, dword [esp + 0x14]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x10084417
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.10055870
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.10055720
mov dword [esi + 0x44e4], eax
jmp 0x10084432
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 0x10084484
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.100557d0
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 0x100844a7
movss xmm0, dword [esp + 0x94]
movss dword [edi + 0xc], xmm0
call fcn.1005f080
call fcn.1005fba0
test byte [esi + 0x3264], 1
je 0x10084563
test dword [esp + 0x14], 0x200
jne 0x10084563
call fcn.10064760
test al, al
je 0x10084563
mov ecx, str._COL3F
mov byte [esp + 0x13], 0
call fcn.10064800
test eax, eax
je 0x10084506
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.10064800
test eax, eax
je 0x1008452e
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 0x10084535
cmp byte [esp + 0x13], 0
je 0x1008455e
test dword [esp + 0x14], 0x10000000
je 0x1008455e
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.100557d0
add esp, 4
call fcn.100649a0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10084583
mov ecx, dword [esi + 0x31f0]
test ecx, ecx
je 0x10084583
cmp dword [esi + 0x3224], eax
jne 0x10084583
mov dword [esi + 0x325c], ecx
mov cl, byte [esp + 0x12]
test cl, cl
je 0x10084590
call fcn.10057280
mov al, cl
mov ecx, dword [esp + 0xec]
pop edi
pop esi
xor ecx, esp
call fcn.1014b7c5
mov esp, ebp
pop ebp
ret