Function at 0x4451d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd528
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4fd0b8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], edx
mov ebx, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x40], eax
push edx
mov edx, ebx
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
call fcn.00445420
add esp, 4
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
sub eax, edi
cmp eax, esi
jne 0x44529a
mov ecx, dword [ebp - 0x40]
mov edx, edi
sub esi, 4
jb 0x445254
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x44525d
add ecx, 4
add edx, 4
sub esi, 4
jae 0x445243
cmp esi, 0xfffffffc
je 0x4453ba
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x44529a
cmp esi, 0xfffffffd
je 0x4453ba
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x44529a
cmp esi, 0xfffffffe
je 0x4453ba
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x44529a
cmp esi, 0xffffffff
je 0x4453ba
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4453ba
mov ecx, ebx
call fcn.00444fe0
mov dword [ebp - 0x44], eax
test eax, eax
je 0x4453ba
cmp dword [ebx + 0x14], 8
mov esi, ebx
jb 0x4452b6
mov esi, dword [ebx]
mov edx, dword [ebx + 0x10]
test edx, edx
je 0x4452cf
mov ecx, edx
mov eax, esi
cmp word [eax], 0x5c
je 0x4452f1
add eax, 2
sub ecx, 1
jne 0x4452c1
or eax, 0xffffffff
inc eax
mov dword [ebp - 0x28], 0
xor ecx, ecx
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], cx
cmp edx, eax
jb 0x445403
jmp 0x4452fb
test eax, eax
je 0x4452cf
sub eax, esi
sar eax, 1
jmp 0x4452d2
sub edx, eax
or ecx, 0xffffffff
cmp edx, 0xffffffff
cmovb ecx, edx
cmp dword [ebx + 0x14], 8
jb 0x44530e
mov ebx, dword [ebx]
push ecx
lea eax, [ebx + eax*2]
push eax
lea ecx, [ebp - 0x38]
call fcn.0042d9b0
cmp dword [ebp - 0x24], 8
lea ecx, [ebp - 0x3c]
push 0
push ecx
push 0
push 0x2011f
push 0
push 0
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push 0
push eax
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x445370
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x14], 8
jb 0x445352
mov eax, dword [eax]
push dword [ebp + 0xc]
push dword [ebp - 0x40]
push dword [ebp + 0x10]
push 0
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x4453a6
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44539c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445408
push edx
push ecx
call fcn.0047904e
add esp, 8
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
test edi, edi
je 0x4453e7
mov ecx, dword [ebp - 0x18]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x4453dd
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44540d
push ecx
push edi
call fcn.0047904e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047900d
mov esp, ebp
pop ebp
ret
call fcn.0042f0b0
call fcn.0049a859
call fcn.0049a859
int3