Function at 0x445142
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x670
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x6f4e3c]
xor ecx, ebp
mov dword [esp + 0x668], ecx
xor ebx, ebx
lea ecx, [esp + 0x34]
mov dword [ecx], ebx
sub esp, 0x24
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ebx
movaps xmm0, xmmword [0x64cd80]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], eax
mov dword [esp], SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test eax, eax
jne 0x4454ef
mov eax, dword [ebp + 8]
test eax, eax
mov esi, 0x6390a0
cmovne esi, eax
lea ecx, [esp + 0x28]
push esi
call fcn.00401a6c
mov ecx, 0x208
lea eax, [esp + 0x460]
push ecx
push ebx
push eax
call fcn.006030b0
add esp, 0xc
lea edi, [esp + 0x258]
mov eax, 0x208
push eax
push ebx
push edi
call fcn.006030b0
add esp, 0xc
lea ecx, [esp + 0x460]
mov edx, edi
call fcn.00445507
lea edi, [esp + 0x1c]
mov ecx, edi
mov dword [esp + 0xc], esi
push esi
call fcn.00401a6c
mov ecx, edi
lea eax, [esp + 0x460]
push eax
call fcn.00469188
xorps xmm0, xmm0
movaps xmmword [esp + 0x240], xmm0
cmp byte [edi + 0xb], 0
jns 0x445228
mov edi, dword [esp + 0x1c]
lea esi, [esp + 0x240]
push esi
push edi
call fcn.004906c0
add esp, 8
lea edi, [esp + 0x38]
mov eax, 0x208
push eax
push ebx
push edi
call fcn.006030b0
add esp, 0xc
movzx eax, byte [esp + ebx + 0x240]
push eax
push 0x64cd90
push 3
push edi
call fcn.0042e32f
add esp, 0x10
inc ebx
add edi, 4
cmp ebx, 0x10
jne 0x44524d
lea edi, [esp + 0x1c]
mov ecx, edi
push 0x7b
call fcn.00468cd2
lea ebx, [esp + 0x38]
mov ecx, edi
push ebx
call fcn.00469188
mov ecx, edi
push 0x7d
call fcn.00469298
movzx eax, byte [edi + 0xb]
mov edx, edi
test al, al
jns 0x4452a3
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push eax
push edx
call fcn.00468fc8
mov ecx, edi
push dword [esp + 0xc]
call fcn.0046930c
mov ecx, edi
lea eax, [esp + 0x258]
push eax
call fcn.00469188
xorps xmm0, xmm0
movaps xmmword [esp + 0x240], xmm0
cmp byte [esp + 0x27], 0
jns 0x4452de
mov edi, dword [esp + 0x1c]
push esi
push edi
call fcn.004906c0
add esp, 8
push 0x208
push 0
push ebx
call fcn.006030b0
add esp, 0xc
xor esi, esi
movzx eax, byte [esp + esi + 0x240]
push eax
push 0x64cd90
push 3
push ebx
call fcn.0042e32f
add esp, 0x10
inc esi
add ebx, 4
cmp esi, 0x10
jne 0x4452fa
lea esi, [esp + 0x1c]
mov ecx, esi
push 0x7b
call fcn.00468cd2
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call fcn.00469188
mov ecx, esi
push 0x7d
call fcn.00469298
movzx eax, byte [esi + 0xb]
test al, al
jns 0x44534e
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
lea edi, [esp + 0x28]
mov ecx, edi
push eax
push esi
call fcn.00468fc8
cmp byte [esp + 0x27], 0
jns 0x44536e
push dword [esp + 0x1c]
call fcn.00517bd6
add esp, 4
movzx ebx, byte [esp + 0x33]
mov eax, ebx
test bl, bl
jns 0x44537d
mov eax, dword [esp + 0x2c]
lea esi, [eax*4 + 4]
push esi
call fcn.00517c03
add esp, 4
xor ecx, ecx
mov dword [esp + 0x10], esi
push esi
push ecx
mov dword [esp + 0x14], eax
push eax
call fcn.006030b0
add esp, 0xc
test bl, bl
jns 0x4453aa
mov edi, dword [esp + 0x28]
mov dword [esp + 8], edi
push edi
call fcn.006208d5
add esp, 4
mov dword [esp + 0x18], eax
lea ecx, [eax + eax]
lea ebx, [eax + eax]
add ebx, 2
lea esi, [ecx + ecx]
add esi, 4
push esi
call fcn.00517c03
add esp, 4
mov dword [esp + 0x14], eax
push esi
xor edi, edi
push edi
push eax
call fcn.006030b0
add esp, 0xc
push ebx
call fcn.00517c03
add esp, 4
mov esi, eax
push ebx
push edi
push eax
call fcn.006030b0
add esp, 0xc
push edi
push edi
push ebx
mov ebx, dword [esp + 0x20]
push esi
push dword [esp + 0x28]
push dword [esp + 0x1c]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
call fcn.0061fdf0
add esp, 4
push eax
push esi
push ebx
call fcn.004447dc
add esp, 0xc
test eax, eax
mov edi, dword [esp + 0xc]
jle 0x44543c
push dword [esp + 0x10]
push ebx
push edi
call fcn.00620110
add esp, 0xc
push esi
call fcn.00517c15
add esp, 4
push ebx
call fcn.00517c15
add esp, 4
push edi
call fcn.0061fdf0
add esp, 4
mov esi, eax
lea ecx, [eax + 1]
mov dword [esp + 8], ecx
xor eax, eax
dec eax
add ecx, ecx
cmovb ecx, eax
push ecx
call fcn.00517c03
add esp, 4
mov ebx, edi
mov edi, eax
lea eax, [esi + esi]
add eax, 2
xor esi, esi
push eax
push esi
push edi
call fcn.006030b0
add esp, 0xc
push dword [esp + 8]
push edi
push 0xffffffffffffffff
push ebx
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
call fcn.006208d5
add esp, 4
lea ecx, [eax + eax]
add ecx, 2
add eax, eax
cmove ecx, eax
push ecx
push edi
push 1
push esi
push dword [ebp + 0x10]
push dword [esp + 0x48]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
push edi
call fcn.00517c15
add esp, 4
push ebx
call fcn.00517c15
add esp, 4
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x33], 0
jns 0x4454ef
push dword [esp + 0x28]
call fcn.00517bd6
add esp, 4
mov ecx, dword [esp + 0x668]
xor ecx, ebp
call fcn.00517c1a
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret