Function at 0x1005eb70
Capabilities:
Encode data using xor
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x1011e00c]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov edi, dword [0x101203a8]
mov esi, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edi
mov eax, dword [edi + 0x3e68]
mov byte [eax + 0xac], 1
mov eax, dword [edi + 0x3e68]
mov dword [esp + 0x20], eax
cmp byte [eax + 0xaf], 0
je 0x1005ebcd
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.100f238c
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax + 0xe4]
xor edx, edx
mov eax, dword [eax + 0xec]
or dword [ebp + 8], 0x50028
push dword [eax + ecx*4 - 4]
mov ecx, esi
call fcn.10028240
mov ecx, dword [esp + 0x24]
add esp, 4
mov ecx, dword [ecx]
cmp dword [ecx + 0x3e9c], eax
jne 0x1005ec0f
push ecx
push esi
mov edx, 0xb
mov ecx, eax
call fcn.1003ea10
add esp, 8
mov eax, dword [0x101203a8]
xorps xmm1, xmm1
mov edx, dword [ebp + 8]
movss xmm0, dword [eax + 0x37c0]
movss xmm2, dword [eax + 0x3bd4]
addss xmm0, xmm0
addss xmm0, xmm2
movss dword [esp + 0x4c], xmm0
test dl, 0x10
je 0x1005ec45
movss dword [esp + 0x28], xmm1
jmp 0x1005ec53
addss xmm0, dword [edi + 0x37d4]
movss dword [esp + 0x28], xmm0
mov edi, esi
cmp esi, 0xffffffff
jae 0x1005ec76
nop word [eax + eax]
mov cl, byte [edi]
test cl, cl
je 0x1005ec76
cmp cl, 0x23
jne 0x1005ec70
cmp byte [edi + 1], cl
je 0x1005ec76
inc edi
cmp edi, 0xffffffff
jb 0x1005ec60
or eax, 0xffffffff
mov ecx, esi
test edi, edi
mov esi, edi
cmove esi, eax
cmp ecx, esi
jae 0x1005ecf2
mov al, byte [ecx]
mov byte [esp + 0xb], al
test al, al
je 0x1005ec9e
cmp al, 0x23
jne 0x1005ec99
cmp byte [ecx + 1], al
je 0x1005ec9e
inc ecx
cmp ecx, esi
jb 0x1005ec86
mov esi, dword [esp + 0x10]
cmp esi, ecx
je 0x1005ecf4
movss xmm3, dword [0x10117124]
lea eax, [esp + 0x50]
push 0
push ecx
push esi
push ecx
mov ecx, dword [0x101203a8]
mov dword [esp], 0xbf800000
push eax
mov ecx, dword [ecx + 0x3bd0]
call fcn.1004d720
mov eax, dword [esp + 0x20]
movss xmm0, dword [eax + 0xf0]
mov eax, dword [ebp + 8]
mov dword [esp + 0x48], eax
and eax, 0xff9fffff
or eax, 0x100008
mov dword [ebp + 8], eax
jmp 0x1005ed13
mov esi, ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], edx
and edx, 0xff9fffff
or edx, 0x100008
mov dword [ebp + 8], edx
movss xmm0, dword [eax + 0xf0]
movss dword [esp + 0x18], xmm0
call fcn.10037c20
mov ecx, esi
call fcn.10035080
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x59c0]
mov ecx, dword [ebp + 8]
test ecx, 0x1800000
jne 0x1005ed43
mov eax, edx
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x1005ed54
mov eax, edx
and eax, 0x6000000
or ecx, eax
mov esi, dword [esp + 0x14]
and edx, 0xf80fffff
or ecx, edx
mov eax, ecx
mov dword [ebp + 8], ecx
shr eax, 1
movss xmm3, dword [esi]
not al
movss xmm1, dword [esi + 4]
and eax, 0xffffff01
movss xmm2, dword [esi + 8]
movzx edx, al
add edx, 3
mov dword [esp + 0x1c], eax
mov dword [esp + 0x50], edx
movss dword [esp + 0x6c], xmm3
movss dword [esp + 0x70], xmm1
movss dword [esp + 0x74], xmm2
test al, al
je 0x1005eda7
movss xmm0, dword [esi + 0xc]
jmp 0x1005edaf
movss xmm0, dword [0x10116f8c]
mov eax, ecx
movss dword [esp + 0x78], xmm0
and eax, 0x300000
mov dword [esp + 0x24], eax
cmp eax, 0x300000
jne 0x1005edfa
lea eax, [esp + 0x74]
movaps xmm0, xmm3
push eax
lea edx, [esp + 0x74]
lea ecx, [esp + 0x70]
call fcn.10028940
movss xmm0, dword [esp + 0x7c]
add esp, 4
movss xmm2, dword [esp + 0x74]
movss xmm1, dword [esp + 0x70]
movss xmm3, dword [esp + 0x6c]
mov ecx, dword [ebp + 8]
comiss xmm3, dword [0x10116ed4]
movss xmm5, dword [0x10117130]
movss xmm4, dword [0x10116f48]
jb 0x1005ee18
movaps xmm7, xmm4
jmp 0x1005ee1b
movaps xmm7, xmm5
movss xmm6, dword [0x101170cc]
mulss xmm3, xmm6
addss xmm3, xmm7
xorps xmm7, xmm7
comiss xmm1, xmm7
cvttss2si eax, xmm3
mov dword [esp + 0x6c], eax
jb 0x1005ee40
movaps xmm3, xmm4
jmp 0x1005ee43
movaps xmm3, xmm5
comiss xmm2, xmm7
mulss xmm1, xmm6
addss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [esp + 0x70], eax
jb 0x1005ee5d
movaps xmm1, xmm4
jmp 0x1005ee60
movaps xmm1, xmm5
comiss xmm0, xmm7
mulss xmm2, xmm6
addss xmm2, xmm1
cvttss2si eax, xmm2
mov dword [esp + 0x74], eax
jae 0x1005ee78
movaps xmm4, xmm5
mulss xmm0, xmm6
mov byte [esp + 0xa], 0
addss xmm0, xmm4
cvttss2si eax, xmm0
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x3814], 0
je 0x1005eea0
movss dword [esp + 0x28], xmm7
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
movss dword [eax + 0xf0], xmm0
cmp dword [esp + 0x10], edi
je 0x1005ef22
test cl, cl
js 0x1005ef22
mov esi, dword [0x101203a8]
lea eax, [esp + 0x58]
movaps xmm0, xmmword [0x10118080]
movaps xmmword [esp + 0x30], xmm0
push eax
movups xmm0, xmmword [esi + 0x385c]
lea ecx, [esi + 0x477c]
mov dword [esp + 0x5c], 0
movups xmmword [esp + 0x60], xmm0
call fcn.1003f1b0
movaps xmm0, xmmword [esp + 0x30]
mov edx, edi
mov ecx, dword [esp + 0x10]
push 0
movups xmmword [esi + 0x385c], xmm0
call fcn.10054390
add esp, 4
mov ecx, 1
call fcn.10028f00
mov esi, dword [esp + 0x14]
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [esp + 0x18], edi
test al, 0x10
jne 0x1005f1c3
cmp byte [esp + 0x1c], 0
je 0x1005ef41
movss xmm1, dword [esi + 0xc]
jmp 0x1005ef49
movss xmm1, dword [0x10116f8c]
movss xmm0, dword [esi]
lea ecx, [esp + 0x28]
movss dword [esp + 0x30], xmm0
lea edx, [esp + 0x30]
movss xmm0, dword [esi + 4]
push ecx
movss dword [esp + 0x38], xmm0
mov ecx, str.ColorButton
movss xmm0, dword [esi + 8]
push eax
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm1
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.10062a90
mov edi, dword [esp + 0x14]
add esp, 8
test al, al
je 0x1005f00c
test byte [ebp + 8], 4
jne 0x1005f00c
movups xmm0, xmmword [esp + 0x30]
mov ecx, 0x10116708
movups xmmword [edi + 0x59e0], xmm0
call fcn.100386c0
movss xmm1, dword [edi + 0x46ec]
movss xmm0, dword [edi + 0x37d0]
addss xmm0, dword [edi + 0x46f8]
mov eax, dword [0x101203a8]
subss xmm1, dword [0x10116f8c]
or dword [eax + 0x471c], 1
movss dword [eax + 0x4730], xmm0
movss dword [eax + 0x472c], xmm1
mov dword [eax + 0x4734], 0
mov dword [eax + 0x4738], 0
mov dword [eax + 0x4720], 1
mov ecx, 0x10116708
call fcn.10038b40
test al, al
je 0x1005f1c3
movss xmm0, dword [esp + 0x4c]
mulss xmm0, dword [0x10117038]
mov edi, dword [edi + 0x3e68]
mov dword [esp + 0x18], edi
call fcn.10037aa0
mov eax, dword [esp + 0xc]
mov edx, esi
add eax, 0x59e0
mov ecx, str.picker
push eax
mov eax, dword [esp + 0x4c]
and eax, 0x7d90002
or eax, 0x240080
push eax
call fcn.1005f6e0
mov edx, dword [0x101203a8]
add esp, 8
mov byte [esp + 0xa], al
mov ecx, dword [edx + 0x3e68]
mov byte [ecx + 0xac], 1
mov esi, dword [edx + 0x3e68]
mov edx, dword [esi + 0x1a8]
mov ecx, dword [esi + 0x1b0]
mov eax, dword [ecx + edx*4 - 4]
mov dword [esi + 0x1a0], eax
lea eax, [edx - 1]
mov dword [esi + 0x1a8], eax
call fcn.10038bc0
cmp byte [esp + 0xa], 0
je 0x1005f1c3
test edi, edi
jne 0x1005f1c3
cmp dword [esp + 0x24], 0x300000
movups xmm0, xmmword [esp + 0x6c]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x10118100]
movups xmmword [esp + 0x6c], xmm0
jne 0x1005f18d
movss xmm2, dword [esp + 0x74]
lea eax, [esp + 0x74]
movss xmm1, dword [esp + 0x70]
lea edx, [esp + 0x70]
movss xmm0, dword [esp + 0x6c]
lea ecx, [esp + 0x6c]
push eax
call fcn.10028940
movss xmm1, dword [esp + 0x74]
add esp, 4
movss xmm5, dword [esp + 0x74]
movaps xmm0, xmm1
comiss xmm5, xmm0
movss xmm3, dword [esp + 0x6c]
xorps xmm4, xmm4
movaps xmm2, xmm3
jbe 0x1005f12e
movss xmm4, dword [0x10117140]
movaps xmm1, xmm5
movaps xmm5, xmm0
comiss xmm1, xmm2
jbe 0x1005f148
movss xmm0, dword [0x1011712c]
movaps xmm3, xmm1
subss xmm0, xmm4
movaps xmm1, xmm2
movaps xmm4, xmm0
movaps xmm0, xmm1
movaps xmm2, xmm3
minss xmm0, xmm5
subss xmm1, xmm5
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x10117030]
addss xmm0, dword [0x10116ee0]
divss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x10116ee0]
addss xmm1, xmm4
divss xmm2, xmm0
andps xmm1, xmmword [0x10118a50]
jmp 0x1005f19f
movss xmm3, dword [esp + 0x74]
movss xmm2, dword [esp + 0x70]
movss xmm1, dword [esp + 0x6c]
cmp byte [esp + 0x1c], 0
mov edx, dword [esp + 0x14]
movss dword [edx], xmm1
movss dword [edx + 4], xmm2
movss dword [edx + 8], xmm3
je 0x1005f1c3
movss xmm0, dword [esp + 0x78]
movss dword [edx + 0xc], xmm0
mov eax, dword [0x101203a8]
mov eax, dword [eax + 0x3e68]
dec dword [eax + 0xe4]
call fcn.10037d50
mov esi, dword [esp + 0xc]
test byte [esi + 0x46e8], 1
je 0x1005f4cf
test dword [ebp + 8], 0x200
jne 0x1005f4cf
mov edx, dword [0x101203a8]
cmp byte [edx + 0x4984], 0
je 0x1005f472
test byte [edx + 0x46e8], 1
mov esi, dword [edx + 0x3e68]
je 0x1005f46e
mov ecx, dword [edx + 0x3e70]
test ecx, ecx
je 0x1005f46e
mov eax, dword [esi + 0x300]
cmp eax, dword [ecx + 0x300]
jne 0x1005f46e
cmp byte [esi + 0xaf], 0
jne 0x1005f46e
test byte [edx + 0x46e8], 2
lea ecx, [edx + 0x470c]
jne 0x1005f25f
lea ecx, [edx + 0x46ec]
mov eax, dword [edx + 0x46e0]
mov dword [esp + 0x1c], ecx
test eax, eax
jne 0x1005f31e
movss xmm1, dword [esi + 0x100]
mov edi, 0x10
movss xmm0, dword [ecx]
movss xmm2, dword [esi + 0x104]
subss xmm0, xmm1
mov eax, dword [esi + 0xec]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [ecx + 4]
subss xmm0, xmm2
movss dword [esp + 0x34], xmm0
movss xmm0, dword [ecx + 8]
subss xmm0, xmm1
movss dword [esp + 0x38], xmm0
movss xmm0, dword [ecx + 0xc]
mov ecx, dword [esi + 0xe4]
subss xmm0, xmm2
lea esi, [esp + 0x30]
mov edx, dword [eax + ecx*4 - 4]
movss dword [esp + 0x3c], xmm0
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10111b70]
sub edi, 1
jne 0x1005f2d7
not edx
mov dword [esp + 0x24], edx
mov edx, dword [0x101203a8]
mov eax, dword [esp + 0x24]
cmp dword [edx + 0x3eb4], eax
jne 0x1005f30f
mov dword [edx + 0x3eb8], eax
cmp dword [edx + 0x3edc], eax
jne 0x1005f31e
mov byte [edx + 0x3ee0], 1
cmp dword [edx + 0x499c], eax
je 0x1005f46e
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xb], 0
movups xmm0, xmmword [ecx]
mov ecx, str._COL3F
mov dword [edx + 0x49dc], eax
mov byte [edx + 0x4986], 1
movups xmmword [edx + 0x49cc], xmm0
call fcn.1003d3b0
mov esi, dword [esp + 0x14]
test eax, eax
je 0x1005f376
mov eax, dword [eax]
mov byte [esp + 0xb], 1
mov byte [esp + 0xa], 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.1003d3b0
test eax, eax
je 0x1005f39e
mov ecx, dword [esp + 0x50]
shl ecx, 2
push ecx
push dword [eax]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xa], 1
jmp 0x1005f3a9
cmp byte [esp + 0xb], 0
je 0x1005f44d
test dword [ebp + 8], 0x200000
je 0x1005f44d
movss xmm2, dword [esi + 4]
movss xmm4, dword [esi + 8]
comiss xmm4, xmm2
movss xmm3, dword [esi]
jbe 0x1005f3dc
movss xmm5, dword [0x10117140]
movaps xmm0, xmm2
movaps xmm2, xmm4
movaps xmm4, xmm0
jmp 0x1005f3df
xorps xmm5, xmm5
comiss xmm2, xmm3
jbe 0x1005f3fc
movaps xmm0, xmm3
movaps xmm3, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x1011712c]
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 [0x10117030]
addss xmm0, dword [0x10116ee0]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x10116ee0]
addss xmm2, xmm5
divss xmm1, xmm0
andps xmm2, xmmword [0x10118a50]
movss dword [esi], xmm2
movss dword [esi + 4], xmm1
mov edx, dword [0x101203a8]
cmp byte [edx + 0x49ca], 0
mov byte [edx + 0x4986], 0
je 0x1005f46e
call fcn.1003d240
mov edx, dword [0x101203a8]
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1005f492
mov eax, dword [esi + 0x3eb4]
test eax, eax
je 0x1005f492
cmp dword [esi + 0x3ed0], ecx
jne 0x1005f492
mov dword [esi + 0x46e0], eax
mov cl, byte [esp + 0xa]
test cl, cl
je 0x1005f4bc
mov eax, dword [edx + 0x3eb4]
cmp eax, dword [esi + 0x46e0]
je 0x1005f4ac
test eax, eax
jne 0x1005f4b5
mov word [edx + 0x3ec4], 0x101
or dword [edx + 0x46e8], 4
mov al, cl
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.100f238c
mov esp, ebp
pop ebp
ret
mov edx, dword [0x101203a8]
jmp 0x1005f472