Function at 0x445320
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd668
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.00445570
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 0x4453ea
mov ecx, dword [ebp - 0x40]
mov edx, edi
sub esi, 4
jb 0x4453a4
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4453ad
add ecx, 4
add edx, 4
sub esi, 4
jae 0x445393
cmp esi, 0xfffffffc
je 0x44550a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4453ea
cmp esi, 0xfffffffd
je 0x44550a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4453ea
cmp esi, 0xfffffffe
je 0x44550a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4453ea
cmp esi, 0xffffffff
je 0x44550a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x44550a
mov ecx, ebx
call fcn.00445130
mov dword [ebp - 0x44], eax
test eax, eax
je 0x44550a
cmp dword [ebx + 0x14], 8
mov esi, ebx
jb 0x445406
mov esi, dword [ebx]
mov edx, dword [ebx + 0x10]
test edx, edx
je 0x44541f
mov ecx, edx
mov eax, esi
cmp word [eax], 0x5c
je 0x445441
add eax, 2
sub ecx, 1
jne 0x445411
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 0x445553
jmp 0x44544b
test eax, eax
je 0x44541f
sub eax, esi
sar eax, 1
jmp 0x445422
sub edx, eax
or ecx, 0xffffffff
cmp edx, 0xffffffff
cmovb ecx, edx
cmp dword [ebx + 0x14], 8
jb 0x44545e
mov ebx, dword [ebx]
push ecx
lea eax, [ebx + eax*2]
push eax
lea ecx, [ebp - 0x38]
call fcn.0042da40
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 0x4454c0
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x14], 8
jb 0x4454a2
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 0x4454f6
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4454ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445558
push edx
push ecx
call fcn.0047917e
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 0x445537
mov ecx, dword [ebp - 0x18]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x44552d
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44555d
push ecx
push edi
call fcn.0047917e
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.0047913d
mov esp, ebp
pop ebp
ret
call fcn.0042f140
call fcn.0049a999
call fcn.0049a999
int3