Function at 0x412b50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x53c
mov eax, dword [0x452040]
xor eax, esp
mov dword [esp + 0x538], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
xor esi, esi
call fcn.0042f80d
and eax, 0x800000ff
jns 0x412b87
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + esi + 0x20], al
inc esi
cmp esi, 0x20
jl 0x412b74
mov eax, dword [ebx + 0x18]
movups xmm0, xmmword [ebx]
mov dword [esp + 0x38], eax
movzx eax, word [edi + 0xe]
push eax
movzx eax, word [edi + 0xc]
push eax
movzx eax, word [edi + 0xa]
push eax
movzx eax, word [edi + 8]
push eax
movzx eax, word [edi + 6]
push eax
movzx eax, word [edi + 4]
push eax
movzx eax, word [edi + 2]
push eax
movzx eax, word [edi]
push eax
movups xmmword [esp + 0x40], xmm0
lea eax, [esp + 0xe0]
movq xmm0, qword [ebx + 0x10]
push str._04x_04x__04x__04x__04x__04x_04x_04x
push eax
movq qword [esp + 0x58], xmm0
call fcn.004015f0
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x16c]
push str.Interface_sProxyStubClsid
push eax
call fcn.004015f0
add esp, 0x34
lea eax, [esp + 0xc0]
push 0x80
push 0
push eax
call fcn.00420da0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x144]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
push 0x400
mov esi, eax
lea eax, [esp + 0x144]
push 0
push eax
call fcn.00420da0
add esp, 0xc
test esi, esi
jne 0x412e47
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
call fcn.00412560
movzx eax, word [esp + 0x1e]
push eax
movzx eax, word [esp + 0x20]
push eax
movzx eax, word [esp + 0x22]
push eax
movzx eax, word [esp + 0x24]
push eax
movzx eax, word [esp + 0x26]
push eax
movzx eax, word [esp + 0x28]
push eax
movzx eax, word [esp + 0x2a]
push eax
movzx eax, word [esp + 0x2c]
push eax
lea eax, [esp + 0x60]
push str._04x_04x__04x__04x__04x__04x_04x_04x
push eax
call fcn.004015f0
lea ecx, [esp + 0x68]
add esp, 0x28
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x412ca8
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esp + 0x40]
sub ecx, edx
push ecx
push eax
push 1
push 0
push 0
push dword [esp + 0x20]
call ebx
push 0x80
mov esi, eax
lea eax, [esp + 0x44]
push 0
push eax
call fcn.00420da0
add esp, 0xc
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x412e47
movzx eax, word [edi + 0xe]
push eax
movzx eax, word [edi + 0xc]
push eax
movzx eax, word [edi + 0xa]
push eax
movzx eax, word [edi + 8]
push eax
movzx eax, word [edi + 6]
push eax
movzx eax, word [edi + 4]
push eax
movzx eax, word [edi + 2]
push eax
movzx eax, word [edi]
push eax
lea eax, [esp + 0xe0]
push str._04x_04x__04x__04x__04x__04x_04x_04x
push eax
call fcn.004015f0
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x16c]
push str.Interface_sProxyStubClsid32
push eax
call fcn.004015f0
add esp, 0x34
lea eax, [esp + 0xc0]
push 0x80
push esi
push eax
call fcn.00420da0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x144]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
push 0x400
mov esi, eax
lea eax, [esp + 0x144]
push 0
push eax
call fcn.00420da0
add esp, 0xc
test esi, esi
jne 0x412e47
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
call fcn.00412560
movzx eax, word [esp + 0x1e]
push eax
movzx eax, word [esp + 0x20]
push eax
movzx eax, word [esp + 0x22]
push eax
movzx eax, word [esp + 0x24]
push eax
movzx eax, word [esp + 0x26]
push eax
movzx eax, word [esp + 0x28]
push eax
movzx eax, word [esp + 0x2a]
push eax
movzx eax, word [esp + 0x2c]
push eax
lea eax, [esp + 0x60]
push str._04x_04x__04x__04x__04x__04x_04x_04x
push eax
call fcn.004015f0
lea ecx, [esp + 0x68]
add esp, 0x28
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x412df0
sub ecx, edx
lea eax, [esp + 0x40]
push ecx
push eax
push 1
push 0
push 0
push dword [esp + 0x20]
call ebx
push 0x80
mov esi, eax
lea eax, [esp + 0x44]
push 0
push eax
call fcn.00420da0
add esp, 0xc
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x538]
xor ecx, esp
call fcn.0041f127
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x544]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041f127
mov esp, ebp
pop ebp
ret 8