Function at 0x1005dc30
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 [0x1011f00c]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov edi, dword [0x1012274c]
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 0x1005dc8d
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.100f1854
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.1002d590
mov ecx, dword [esp + 0x24]
add esp, 4
mov ecx, dword [ecx]
cmp dword [ecx + 0x3e9c], eax
jne 0x1005dccf
push ecx
push esi
mov edx, 0xb
mov ecx, eax
call fcn.10043ca0
add esp, 8
mov eax, dword [0x1012274c]
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 0x1005dd05
movss dword [esp + 0x28], xmm1
jmp 0x1005dd13
addss xmm0, dword [edi + 0x37d4]
movss dword [esp + 0x28], xmm0
mov edi, esi
cmp esi, 0xffffffff
jae 0x1005dd36
nop word [eax + eax]
mov cl, byte [edi]
test cl, cl
je 0x1005dd36
cmp cl, 0x23
jne 0x1005dd30
cmp byte [edi + 1], cl
je 0x1005dd36
inc edi
cmp edi, 0xffffffff
jb 0x1005dd20
or eax, 0xffffffff
mov ecx, esi
test edi, edi
mov esi, edi
cmove esi, eax
cmp ecx, esi
jae 0x1005ddb2
mov al, byte [ecx]
mov byte [esp + 0xb], al
test al, al
je 0x1005dd5e
cmp al, 0x23
jne 0x1005dd59
cmp byte [ecx + 1], al
je 0x1005dd5e
inc ecx
cmp ecx, esi
jb 0x1005dd46
mov esi, dword [esp + 0x10]
cmp esi, ecx
je 0x1005ddb4
movss xmm3, dword [0x1011804c]
lea eax, [esp + 0x50]
push 0
push ecx
push esi
push ecx
mov ecx, dword [0x1012274c]
mov dword [esp], 0xbf800000
push eax
mov ecx, dword [ecx + 0x3bd0]
call fcn.10052c90
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 0x1005ddd3
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.1003cf40
mov ecx, esi
call fcn.1003a3c0
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x59c0]
mov ecx, dword [ebp + 8]
test ecx, 0x1800000
jne 0x1005de03
mov eax, edx
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x1005de14
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 0x1005de67
movss xmm0, dword [esi + 0xc]
jmp 0x1005de6f
movss xmm0, dword [0x10117ec0]
mov eax, ecx
movss dword [esp + 0x78], xmm0
and eax, 0x300000
mov dword [esp + 0x24], eax
cmp eax, 0x300000
jne 0x1005deba
lea eax, [esp + 0x74]
movaps xmm0, xmm3
push eax
lea edx, [esp + 0x74]
lea ecx, [esp + 0x70]
call fcn.1002db10
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 [0x10117e04]
movss xmm5, dword [0x10118068]
movss xmm4, dword [0x10117e7c]
jb 0x1005ded8
movaps xmm7, xmm4
jmp 0x1005dedb
movaps xmm7, xmm5
movss xmm6, dword [0x10117ff0]
mulss xmm3, xmm6
addss xmm3, xmm7
xorps xmm7, xmm7
comiss xmm1, xmm7
cvttss2si eax, xmm3
mov dword [esp + 0x6c], eax
jb 0x1005df00
movaps xmm3, xmm4
jmp 0x1005df03
movaps xmm3, xmm5
comiss xmm2, xmm7
mulss xmm1, xmm6
addss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [esp + 0x70], eax
jb 0x1005df1d
movaps xmm1, xmm4
jmp 0x1005df20
movaps xmm1, xmm5
comiss xmm0, xmm7
mulss xmm2, xmm6
addss xmm2, xmm1
cvttss2si eax, xmm2
mov dword [esp + 0x74], eax
jae 0x1005df38
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 0x1005df60
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 0x1005dfe2
test cl, cl
js 0x1005dfe2
mov esi, dword [0x1012274c]
lea eax, [esp + 0x58]
movaps xmm0, xmmword [0x10118ba0]
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.10044440
movaps xmm0, xmmword [esp + 0x30]
mov edx, edi
mov ecx, dword [esp + 0x10]
push 0
movups xmmword [esi + 0x385c], xmm0
call fcn.10059920
add esp, 4
mov ecx, 1
call fcn.1002e0d0
mov esi, dword [esp + 0x14]
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [esp + 0x18], edi
test al, 0x10
jne 0x1005e283
cmp byte [esp + 0x1c], 0
je 0x1005e001
movss xmm1, dword [esi + 0xc]
jmp 0x1005e009
movss xmm1, dword [0x10117ec0]
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.10061b50
mov edi, dword [esp + 0x14]
add esp, 8
test al, al
je 0x1005e0cc
test byte [ebp + 8], 4
jne 0x1005e0cc
movups xmm0, xmmword [esp + 0x30]
mov ecx, 0x1011761c
movups xmmword [edi + 0x59e0], xmm0
call fcn.1003d9e0
movss xmm1, dword [edi + 0x46ec]
movss xmm0, dword [edi + 0x37d0]
addss xmm0, dword [edi + 0x46f8]
mov eax, dword [0x1012274c]
subss xmm1, dword [0x10117ec0]
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, 0x1011761c
call fcn.1003de60
test al, al
je 0x1005e283
movss xmm0, dword [esp + 0x4c]
mulss xmm0, dword [0x10117f58]
mov edi, dword [edi + 0x3e68]
mov dword [esp + 0x18], edi
call fcn.1003cdc0
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.1005e7a0
mov edx, dword [0x1012274c]
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.1003dee0
cmp byte [esp + 0xa], 0
je 0x1005e283
test edi, edi
jne 0x1005e283
cmp dword [esp + 0x24], 0x300000
movups xmm0, xmmword [esp + 0x6c]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x10118ea0]
movups xmmword [esp + 0x6c], xmm0
jne 0x1005e24d
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.1002db10
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 0x1005e1ee
movss xmm4, dword [0x10118078]
movaps xmm1, xmm5
movaps xmm5, xmm0
comiss xmm1, xmm2
jbe 0x1005e208
movss xmm0, dword [0x10118064]
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 [0x10117f50]
addss xmm0, dword [0x10117e10]
divss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x10117e10]
addss xmm1, xmm4
divss xmm2, xmm0
andps xmm1, xmmword [0x101197f0]
jmp 0x1005e25f
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 0x1005e283
movss xmm0, dword [esp + 0x78]
movss dword [edx + 0xc], xmm0
mov eax, dword [0x1012274c]
mov eax, dword [eax + 0x3e68]
dec dword [eax + 0xe4]
call fcn.1003d070
mov esi, dword [esp + 0xc]
test byte [esi + 0x46e8], 1
je 0x1005e58f
test dword [ebp + 8], 0x200
jne 0x1005e58f
mov edx, dword [0x1012274c]
cmp byte [edx + 0x4984], 0
je 0x1005e532
test byte [edx + 0x46e8], 1
mov esi, dword [edx + 0x3e68]
je 0x1005e52e
mov ecx, dword [edx + 0x3e70]
test ecx, ecx
je 0x1005e52e
mov eax, dword [esi + 0x300]
cmp eax, dword [ecx + 0x300]
jne 0x1005e52e
cmp byte [esi + 0xaf], 0
jne 0x1005e52e
test byte [edx + 0x46e8], 2
lea ecx, [edx + 0x470c]
jne 0x1005e31f
lea ecx, [edx + 0x46ec]
mov eax, dword [edx + 0x46e0]
mov dword [esp + 0x1c], ecx
test eax, eax
jne 0x1005e3de
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 + 0x10111ce8]
sub edi, 1
jne 0x1005e397
not edx
mov dword [esp + 0x24], edx
mov edx, dword [0x1012274c]
mov eax, dword [esp + 0x24]
cmp dword [edx + 0x3eb4], eax
jne 0x1005e3cf
mov dword [edx + 0x3eb8], eax
cmp dword [edx + 0x3edc], eax
jne 0x1005e3de
mov byte [edx + 0x3ee0], 1
cmp dword [edx + 0x499c], eax
je 0x1005e52e
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.10042640
mov esi, dword [esp + 0x14]
test eax, eax
je 0x1005e436
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.10042640
test eax, eax
je 0x1005e45e
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 0x1005e469
cmp byte [esp + 0xb], 0
je 0x1005e50d
test dword [ebp + 8], 0x200000
je 0x1005e50d
movss xmm2, dword [esi + 4]
movss xmm4, dword [esi + 8]
comiss xmm4, xmm2
movss xmm3, dword [esi]
jbe 0x1005e49c
movss xmm5, dword [0x10118078]
movaps xmm0, xmm2
movaps xmm2, xmm4
movaps xmm4, xmm0
jmp 0x1005e49f
xorps xmm5, xmm5
comiss xmm2, xmm3
jbe 0x1005e4bc
movaps xmm0, xmm3
movaps xmm3, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x10118064]
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 [0x10117f50]
addss xmm0, dword [0x10117e10]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x10117e10]
addss xmm2, xmm5
divss xmm1, xmm0
andps xmm2, xmmword [0x101197f0]
movss dword [esi], xmm2
movss dword [esi + 4], xmm1
mov edx, dword [0x1012274c]
cmp byte [edx + 0x49ca], 0
mov byte [edx + 0x4986], 0
je 0x1005e52e
call fcn.100424d0
mov edx, dword [0x1012274c]
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1005e552
mov eax, dword [esi + 0x3eb4]
test eax, eax
je 0x1005e552
cmp dword [esi + 0x3ed0], ecx
jne 0x1005e552
mov dword [esi + 0x46e0], eax
mov cl, byte [esp + 0xa]
test cl, cl
je 0x1005e57c
mov eax, dword [edx + 0x3eb4]
cmp eax, dword [esi + 0x46e0]
je 0x1005e56c
test eax, eax
jne 0x1005e575
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.100f1854
mov esp, ebp
pop ebp
ret
mov edx, dword [0x1012274c]
jmp 0x1005e532