Function at 0x40cad0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push edi
push esi
push ebx
sub esp, 0x534
lea eax, [esp + 0x500]
call fcn.00409d90
movsd xmm0, qword [0x53ecc8]
movsd qword [esp + 0x520], xmm0
movzx esi, word [0x53ecd0]
mov word [esp + 0x528], si
mov al, byte [0x53ecd2]
mov byte [esp + 0x52a], al
pxor xmm0, xmm0
movaps xmmword [esp + 0x510], xmm0
lea eax, [esp + 0x468]
call fcn.004252d0
lea eax, [esp + 0x468]
mov edx, 0x53fb00
mov ecx, 3
call fcn.00401c90
lea eax, [esp + 0x468]
lea edx, [esp + 0x520]
mov ecx, 0xb
call fcn.00401c90
lea eax, [esp + 0x468]
mov edx, 0x53fb00
mov ecx, 3
call fcn.00401c90
lea edx, [esp + 0x500]
mov ecx, edx
and edx, 0xfffffff0
pxor xmm0, xmm0
pcmpeqb xmm0, xmmword [edx]
pmovmskb eax, xmm0
and ecx, 0xf
shr eax, cl
bsf eax, eax
jne 0x40cb9e
mov eax, edx
add edx, ecx
call fcn.00425520
lea edx, [esp + 0x500]
mov ecx, eax
lea eax, [esp + 0x468]
call fcn.00401c90
lea eax, [esp + 0x510]
lea edx, [esp + 0x468]
call fcn.00408c90
movzx edi, byte [esp + 0x51a]
movzx esi, byte [esp + 0x51b]
movzx ebx, byte [esp + 0x51c]
movzx ecx, byte [esp + 0x51d]
movzx edx, byte [esp + 0x51e]
movzx eax, byte [esp + 0x51f]
push eax
push edx
push ecx
push ebx
push esi
push edi
movzx eax, byte [esp + 0x531]
push eax
movzx edx, byte [esp + 0x534]
push edx
movzx ecx, byte [esp + 0x537]
push ecx
movzx ebx, byte [esp + 0x53a]
push ebx
movzx esi, byte [esp + 0x53d]
push esi
movzx edi, byte [esp + 0x540]
push edi
movzx eax, byte [esp + 0x543]
push eax
movzx edx, byte [esp + 0x546]
push edx
movzx ecx, byte [esp + 0x549]
push ecx
movzx ebx, byte [esp + 0x54c]
push ebx
push str._.2X_.2X_.2X_.2X__.2X_.2X__.2X_.2X__.2X_.2X__.2X_.2X_.2X_.2X_.2X_.2X
lea esi, [esp + 0x3d4]
push esi
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0x48
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, 0xffffffff
mov ecx, esi
sub ecx, eax
sub edx, eax
or ecx, edx
je 0x40cf88
movdqa xmm0, xmmword [0x53eed0]
xor esi, 0x30138415
mov dword [esp + 0x4ec], esi
movaps xmmword [esp + 0x4f0], xmm0
lea eax, [esp + 0x410]
call fcn.004252d0
lea eax, [esp + 0x410]
mov edx, str.ck_a_
mov ecx, 5
call fcn.00401c90
lea eax, [esp + 0x410]
lea edx, [esp + 0x4ec]
mov ecx, 4
call fcn.00401c90
lea edx, [esp + 0x500]
mov ecx, edx
and edx, 0xfffffff0
pxor xmm0, xmm0
pcmpeqb xmm0, xmmword [edx]
pmovmskb eax, xmm0
and ecx, 0xf
shr eax, cl
bsf eax, eax
jne 0x40cd07
mov eax, edx
add edx, ecx
call fcn.00425520
lea edx, [esp + 0x500]
mov ecx, eax
lea eax, [esp + 0x410]
call fcn.00401c90
lea eax, [esp + 0x4f0]
lea edx, [esp + 0x410]
call fcn.00408c90
movzx edi, byte [esp + 0x4fb]
movzx ebx, byte [esp + 0x4fc]
movzx ecx, byte [esp + 0x4fd]
movzx edx, byte [esp + 0x4fe]
movzx eax, byte [esp + 0x4ff]
push eax
push edx
push ecx
push ebx
push edi
movzx eax, byte [esp + 0x50e]
push eax
movzx edx, byte [esp + 0x511]
push edx
movzx ecx, byte [esp + 0x514]
push ecx
movzx ebx, byte [esp + 0x517]
push ebx
movzx edi, byte [esp + 0x51a]
push edi
movzx eax, byte [esp + 0x51d]
push eax
movzx edx, byte [esp + 0x520]
push edx
movzx ecx, byte [esp + 0x523]
push ecx
movzx ebx, byte [esp + 0x526]
push ebx
movzx edi, byte [esp + 0x529]
push edi
movzx eax, byte [esp + 0x52c]
push eax
push str._.2X_.2X_.2X_.2X__.2X_.2X__.2X_.2X__.2X_.2X__.2X_.2X_.2X_.2X_.2X_.2X
lea edx, [esp + 0x504]
push edx
call dword [sym.imp.MSVCR80.dll_sprintf]
lea ebx, [esp + 0x258]
lea eax, [esp + 0x508]
push eax
push esi
push str._ld:_s
push ebx
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0x58
lea eax, [esp + 0x290]
mov edx, str.cXM3t3L2M_258PJ2MXZxcze9v3DxM7F3dn26d_Y2M_E3vzP2NnDxcT248TZ3svGxtTmxcn20s3Lh5uHj9n2_M_Y2cPFxIqbhJs
call fcn.004224a0
lea edi, [esp + 0x310]
lea edx, [esp + 0x390]
push edx
push eax
push edi
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0xc
call fcn.00422e10
test eax, eax
je 0x40ce3a
mov dword [esp + 0xc], ebx
mov eax, reloc.OLEAUT32.dll_SysReAllocString
mov edx, edi
mov ecx, 0x53fba4
call fcn.00406800
lea esi, [esp + 0x10]
push 0x5428fc
push edi
call dword [sym.imp.MSVCR80.dll_strstr]
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x40ce77
sub ebx, edi
push ebx
push edi
push esi
call dword [sym.imp.MSVCR80.dll_memmove]
push 0
push 0x542830
add esi, ebx
push esi
call dword [sym.imp.MSVCR80.dll_memmove]
add esp, 0x18
lea edi, [ebx + edi + 1]
jmp 0x40ce3e
lea ebx, [esp + 0x210]
mov edx, edi
mov ecx, edx
and edx, 0xfffffff0
pxor xmm0, xmm0
pcmpeqb xmm0, xmmword [edx]
pmovmskb eax, xmm0
and ecx, 0xf
shr eax, cl
bsf eax, eax
jne 0x40cea4
mov eax, edx
add edx, ecx
call fcn.00425520
inc eax
push eax
push edi
push esi
call dword [sym.imp.MSVCR80.dll_memmove]
add esp, 0xc
call fcn.00401b70
mov esi, eax
cmp dword [0x56e6a8], 0
jne 0x40cef8
pxor xmm0, xmm0
movq qword [0x56e660], xmm0
movd dword [0x56e668], xmm0
mov dword [0x56e660], 0xc
call fcn.00407150
mov dword [0x56e664], eax
mov eax, 1
mov dword [0x56e668], eax
mov dword [0x56e6a8], eax
mov eax, 0xf013f
mov edx, 0xf003f
test esi, esi
cmovne edx, eax
lea esi, [esp + 0x4e8]
xor ecx, ecx
push ecx
push esi
push 0x56e660
push edx
push ecx
push ecx
push ecx
lea edi, [esp + 0x2c]
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40cf7b
mov edx, ebx
mov ecx, edx
and edx, 0xfffffff0
pxor xmm0, xmm0
pcmpeqb xmm0, xmmword [edx]
pmovmskb eax, xmm0
and ecx, 0xf
shr eax, cl
bsf eax, eax
jne 0x40cf55
mov eax, edx
add edx, ecx
call fcn.00425520
inc eax
push eax
push ebx
push 1
push 0
push 0x53fba4
push dword [esp + 0x4fc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [esp + 0x4e8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x534
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
mov eax, 1
call fcn.0040cfa0
add esp, 0x534
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret