Function at 0x44700b
Capabilities:
Set registry value

Disassembly:
push pe_nt_image_headers32
mov eax, 0x46cfbb
call fcn.00462d75
mov eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x14], 8
mov edi, edx
mov dword [ebp - 0x74], 3
mov dword [ebp - 0x70], ebx
jb 0x447035
mov ecx, dword [esi]
push ebx
lea edx, [ebp - 0x70]
push edx
push ebx
push 0x20006
push ebx
push ebx
push ebx
push ecx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x6c], eax
cmp eax, ebx
je 0x44716d
lea eax, [ebp - 0x10c]
push eax
call fcn.00402ec2
mov dword [ebp - 4], ebx
push str.__strKeyName:
push ecx
push str.._strSubKey:
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea eax, [ebp - 0x10c]
push str.RegCreateKeyEx_Failed._GetLastError:
push eax
call fcn.004064bf
add esp, 0xc
push eax
call fcn.0042aa60
pop ecx
push eax
call fcn.004064bf
push eax
mov ecx, esi
call fcn.0040632c
add esp, 0x10
push eax
call fcn.004064bf
push eax
mov ecx, edi
call fcn.0040632c
add esp, 0xc
push 0xf
pop esi
push 0x19
push str.CRegCommon::WriteRegValue
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.00403e19
mov byte [ebp - 4], 1
push 0x14
push str.commonRegCommon.cpp
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.00403e19
mov byte [ebp - 4], 2
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x10c]
call fcn.00402f86
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x4c]
push eax
push 0x7e
lea eax, [ebp - 0x30]
push eax
push ebx
push ecx
call fcn.00439dc3
pop ecx
push eax
call fcn.0043a160
mov byte [ebp - 4], 2
push 1
xor edi, edi
lea esi, [ebp - 0x68]
call fcn.004041e3
mov byte [ebp - 4], 1
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.00403eaf
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x4c]
push ebx
push 1
call fcn.00403eaf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call fcn.00402f43
lea ecx, [ebp - 0xbc]
call fcn.004029cc
mov eax, dword [ebp - 0x6c]
jmp 0x44729c
cmp dword [edi + 0x14], 8
jb 0x447177
mov eax, dword [edi]
jmp 0x447179
mov eax, edi
push 4
lea ecx, [ebp - 0x74]
push ecx
push 4
push ebx
push eax
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x70]
mov dword [ebp - 0x6c], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x6c], ebx
je 0x44729a
lea eax, [ebp - 0x10c]
push eax
call fcn.00402ec2
mov dword [ebp - 4], 4
push str.__strKeyName:
push ecx
push str.._strSubKey:
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea eax, [ebp - 0x10c]
push str.RegSetValueEx_Failed._GetLastError:
push eax
call fcn.004064bf
add esp, 0xc
push eax
call fcn.0042aa60
pop ecx
push eax
call fcn.004064bf
push eax
mov ecx, esi
call fcn.0040632c
add esp, 0x10
push eax
call fcn.004064bf
push eax
mov ecx, edi
call fcn.0040632c
add esp, 0xc
push 0xf
pop esi
push 0x19
push str.CRegCommon::WriteRegValue
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.00403e19
mov byte [ebp - 4], 5
push 0x14
push str.commonRegCommon.cpp
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.00403e19
mov byte [ebp - 4], 6
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x10c]
call fcn.00402f86
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x30]
push eax
push 0x86
lea eax, [ebp - 0x4c]
push eax
push ebx
push ecx
call fcn.00439dc3
pop ecx
push eax
call fcn.0043a160
mov byte [ebp - 4], 6
push 1
xor edi, edi
lea esi, [ebp - 0x68]
call fcn.004041e3
mov byte [ebp - 4], 5
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.00403eaf
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
jmp 0x447143
xor eax, eax
call fcn.00462df8
ret 4