Function at 0x44d718
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x44d721
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004056d0
mov eax, dword [ebp - 8]
call fcn.004056d0
mov eax, dword [ebp - 0xc]
call fcn.004056d0
xor eax, eax
push ebp
push 0x44dadf
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x44daf8
call fcn.004057d0
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405748
mov edx, dword [ebp - 4]
mov eax, 0x44daf8
call fcn.004057d0
mov ecx, eax
lea eax, [ebp - 4]
mov edx, 1
call fcn.00405788
mov esi, dword [ebp - 4]
test esi, esi
je 0x44d7a8
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 0x10]
push eax
mov dl, 0x5c
mov eax, dword [ebp - 4]
call fcn.0044d53c
mov edx, eax
inc edx
mov ecx, esi
mov eax, dword [ebp - 4]
call fcn.00405748
mov dl, 0x5c
mov eax, dword [ebp - 4]
call fcn.0044d53c
mov edx, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x44d7db
sub eax, 4
mov eax, dword [eax]
lea ecx, [ebp - 4]
xchg ecx, eax
call fcn.00405788
mov eax, dword [ebp - 0xc]
mov edx, 0x44db04
call fcn.00405678
jne 0x44d83b
lea eax, [ebp - 0x20]
push eax
push 4
push 0
mov eax, dword [ebp - 4]
call fcn.004056e0
push eax
mov eax, dword [ebp - 0x14]
call fcn.0044c900
push eax
call sub.advapi32.dll_RegOpenKeyExA
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x10]
call fcn.004056e0
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_RegCreateKeyA
test eax, eax
sete bl
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_RegCloseKey
jmp 0x44daa9
lea eax, [ebp - 0x20]
push eax
push 2
push 0
mov eax, dword [ebp - 4]
call fcn.004056e0
push eax
mov eax, dword [ebp - 0x14]
call fcn.0044c900
push eax
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x44daa7
mov eax, dword [ebp - 0xc]
mov edx, 0x44db10
call fcn.00405678
jne 0x44d8a4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x44d87d
sub ebx, 4
mov ebx, dword [ebx]
push ebx
mov eax, dword [ebp - 8]
call fcn.004056e0
push eax
push 1
push 0
mov eax, dword [ebp - 0x10]
call fcn.004056e0
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete al
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov edx, 0x44db20
call fcn.00405678
jne 0x44d996
mov eax, dword [ebp - 8]
test eax, eax
je 0x44d8c3
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 8]
cmp byte [edx + eax - 1], 0x20
je 0x44d8da
lea eax, [ebp - 8]
mov edx, 0x44db34
call fcn.0040551c
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 8]
call fcn.004052cc
xor eax, eax
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x44d8f6
sub ebx, 4
mov ebx, dword [ebx]
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
push eax
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, dword [0x44d6f4]
call fcn.0040682c
add esp, 4
jmp 0x44d968
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x18]
mov eax, 0x44db34
call fcn.004057d0
mov ecx, eax
dec ecx
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.00405748
mov eax, dword [ebp - 0x28]
call fcn.0044d638
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
mov byte [edx + ecx], al
mov edx, dword [ebp - 0x18]
mov eax, 0x44db34
call fcn.004057d0
mov ecx, eax
inc ecx
lea eax, [ebp - 0x18]
mov edx, 1
call fcn.00405788
inc dword [ebp - 0x24]
cmp dword [ebp - 0x18], 0
jne 0x44d919
mov eax, dword [ebp - 0x1c]
call fcn.00406670
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 3
push 0
mov eax, dword [ebp - 0x10]
call fcn.004056e0
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete bl
mov eax, dword [ebp - 0xc]
mov edx, 0x44db40
call fcn.00405678
jne 0x44d9d1
mov eax, dword [ebp - 8]
call fcn.00409478
mov dword [ebp - 0x24], eax
push 4
lea eax, [ebp - 0x24]
push eax
push 4
push 0
mov eax, dword [ebp - 0x10]
call fcn.004056e0
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete bl
mov eax, dword [ebp - 0xc]
mov edx, 0x44db54
call fcn.00405678
jne 0x44da9c
jmp 0x44da4b
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x44d9f2
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x2c]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x44db6c
call fcn.004057d0
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00405748
push dword [ebp - 0x2c]
push 0x44db78
lea eax, [ebp - 0x30]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x44db6c
call fcn.004057d0
mov edx, eax
add edx, 2
mov ecx, ebx
mov eax, dword [ebp - 8]
call fcn.00405748
push dword [ebp - 0x30]
lea eax, [ebp - 8]
mov edx, 3
call fcn.004055e4
mov edx, dword [ebp - 8]
mov eax, 0x44db6c
call fcn.004057d0
test eax, eax
jg 0x44d9e6
lea eax, [ebp - 8]
mov edx, 0x44db84
call fcn.0040551c
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x44da75
sub ebx, 4
mov ebx, dword [ebx]
push ebx
mov eax, dword [ebp - 8]
call fcn.004056e0
push eax
push 7
push 0
mov eax, dword [ebp - 0x10]
call fcn.004056e0
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete al
mov ebx, eax
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_RegCloseKey
jmp 0x44daa9
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44dae6
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00405258
lea eax, [ebp - 0x1c]
mov edx, dword [0x44d6f4]
call fcn.00406838
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00405258
ret