Function at 0x41e41d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454cd6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov dword [ebp - 0x1c], ecx
push str.GREG::SetValue
lea ecx, [ebp - 0x58]
call fcn.004117cd
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
push dword [eax + 8]
mov ecx, dword [ebp + 8]
call fcn.0041de72
push 0
mov ecx, dword [ebp + 8]
call fcn.0041dd85
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.0041dd9a
mov eax, dword [ebp - 0x1c]
add eax, 0xc
push eax
mov ecx, dword [ebp + 8]
call fcn.0041de06
mov eax, dword [ebp - 0x1c]
add eax, 0xc
push eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 8]
mov ecx, dword [ebp - 0x1c]
call fcn.0041ce83
movzx eax, al
test eax, eax
je 0x41e4cc
mov eax, dword [ebp - 0x1c]
add eax, 0xc
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
push dword [eax + 8]
push dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
call fcn.0041cc34
mov byte [ebp - 0xf], al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00411939
mov al, byte [ebp - 0xf]
jmp 0x41e7b7
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x15], 0
je 0x41e6bf
push 0
mov eax, dword [ebp - 0x1c]
push dword [eax + 8]
lea eax, [ebp - 0x2c]
push eax
call fcn.0041e7c7
add esp, 0xc
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x2c]
call fcn.00406a95
movsx eax, byte [eax]
test eax, eax
jne 0x41e526
mov byte [ebp - 0x10], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004066e8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00411939
mov al, byte [ebp - 0x10]
jmp 0x41e7b7
lea ecx, [ebp - 0x44]
call fcn.0040661b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.0040661b
mov byte [ebp - 4], 3
push 0
push 0
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 8]
call fcn.004178c4
lea eax, [ebp - 0xe]
push eax
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x1c]
add eax, 0xc
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x15]
call fcn.00423d7b
movzx eax, al
test eax, eax
jne 0x41e5b3
mov byte [ebp - 0x11], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004066e8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.004066e8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004066e8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00411939
mov al, byte [ebp - 0x11]
jmp 0x41e7b7
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x41e5d7
push str.__bKeyNotFound
push str.GREG
push 0xcd1
push str.D:projectsutil_srcgreg.cpp
call fcn.00405131
add esp, 0x10
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x41e61b
mov byte [ebp - 0x12], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004066e8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.004066e8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004066e8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00411939
mov al, byte [ebp - 0x12]
jmp 0x41e7b7
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x41e63f
push str.__bAccessDenied
push str.GREG
push 0xcd3
push str.D:projectsutil_srcgreg.cpp
call fcn.00405131
add esp, 0x10
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x41e683
mov byte [ebp - 0x13], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004066e8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.004066e8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004066e8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00411939
mov al, byte [ebp - 0x13]
jmp 0x41e7b7
mov byte [ebp - 0x14], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004066e8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.004066e8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004066e8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00411939
mov al, byte [ebp - 0x14]
jmp 0x41e7b7
mov eax, dword [ebp - 0x1c]
add eax, 0xc
push eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 8]
mov ecx, dword [ebp - 0x1c]
call fcn.004176b9
movzx eax, al
test eax, eax
jne 0x41e6f3
mov byte [ebp - 0x15], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00411939
mov al, byte [ebp - 0x15]
jmp 0x41e7b7
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 0
jne 0x41e713
push 0xcda
push str.D:projectsutil_srcgreg.cpp
push str.m_hkey
call fcn.00404768
add esp, 0xc
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 0
jne 0x41e734
mov byte [ebp - 0x16], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00411939
mov al, byte [ebp - 0x16]
jmp 0x41e7b7
mov ecx, dword [ebp + 8]
call fcn.004178a3
push eax
mov ecx, dword [ebp + 8]
call fcn.00417892
push eax
mov ecx, dword [ebp + 8]
call fcn.0041ea59
push eax
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00406b07
push eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x41e789
push 0xcdf
push str.D:projectsutil_srcgreg.cpp
push str.RegSetValueEx
push dword [ebp - 0x20]
call fcn.00404980
add esp, 0x10
cmp dword [ebp - 0x20], 0
je 0x41e7a4
mov byte [ebp - 0x17], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00411939
mov al, byte [ebp - 0x17]
jmp 0x41e7b7
mov byte [ebp - 0x18], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00411939
mov al, byte [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8