Function at 0x414f0e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c7f1
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x20cc
call fcn.004fc040
mov eax, dword [0x571268]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor esi, esi
mov ebx, edx
mov dword [ebp - 0x2048], ebx
mov dword [ebp - 0x2040], ecx
mov dword [ebp - 0x2050], esi
mov dword [ebp - 0x204c], esi
push eax
mov dword [ebp - 4], esi
call fcn.00412cd4
mov edi, eax
cmp edi, esi
jne 0x414fa0
mov edi, 0x3e81
lea esi, [ebp - 0x2050]
call fcn.00411b1f
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004e6e1c
leave
ret 4
lea eax, [ebp - 0x203c]
push eax
lea eax, [ebp - 0x201c]
push eax
push dword [ebp - 0x2040]
mov dword [ebp - 0x2050], edi
mov dword [ebp - 0x204c], esi
mov dword [ebp - 0x203c], 0x1000
call fcn.004155b8
cmp dword [ebx + 0x18], 8
jb 0x414fe0
mov eax, dword [ebx + 4]
mov dword [ebp - 0x203c], eax
jmp 0x414fe9
add ebx, 4
mov dword [ebp - 0x203c], ebx
lea ebx, [ebp - 0x201c]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add ebx, ecx
add esi, ecx
cmp eax, 1
jne 0x414fef
push esi
lea eax, [ebp - 0x201c]
push eax
push 7
xor esi, esi
push esi
push dword [ebp - 0x203c]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x203c], eax
cmp eax, esi
jne 0x415039
push edi
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov edi, dword [ebp - 0x203c]
jmp 0x414f77
call fcn.00411dd9
cmp byte [eax], 0
jne 0x4150c9
lea eax, [ebp - 0x20dc]
push eax
call fcn.004071c6
push dword [ebp - 0x2048]
mov ebx, 0x525218
push ecx
push ebx
push ecx
lea eax, [ebp - 0x20d4]
push str.CRegistry::setMultiValue_...___for_key
push eax
mov byte [ebp - 4], 1
call fcn.004058d5
add esp, 0xc
push eax
call fcn.004058d5
add esp, 0xc
push eax
call fcn.00405173
pop ecx
pop ecx
lea eax, [ebp - 0x2038]
push eax
lea ecx, [ebp - 0x20dc]
call fcn.0040574e
lea edi, [ebp - 0x2038]
mov byte [ebp - 4], 2
call fcn.00405549
push esi
push 1
mov esi, edi
call fcn.0040754f
lea eax, [ebp - 0x20dc]
mov byte [ebp - 4], 0
call fcn.00405a60
jmp 0x41521c
lea eax, [ebp - 0x20d4]
push eax
mov byte [ebp - 4], 3
call fcn.00405430
mov byte [ebp - 4], 4
call fcn.00411dd9
lea ecx, [ebp - 0x2038]
call fcn.00405346
mov byte [ebp - 4], 5
cmp dword [eax + 0x18], 8
jb 0x4150fc
mov edi, dword [eax + 4]
jmp 0x4150ff
lea edi, [eax + 4]
lea eax, [ebp - 0x20d4]
push 0x5251c8
push eax
call fcn.004058d5
pop ecx
pop ecx
push edi
push eax
call fcn.004058d5
pop ecx
pop ecx
push 0x5251c0
push eax
call fcn.004058d5
pop ecx
pop ecx
push str.CRegistry::setMultiValue_...___for_key
push eax
call fcn.004058d5
pop ecx
pop ecx
mov ebx, 0x525218
push ebx
push eax
call fcn.004058d5
pop ecx
pop ecx
push dword [ebp - 0x2048]
push eax
call fcn.00405173
pop ecx
pop ecx
push esi
push 1
lea esi, [ebp - 0x2038]
mov byte [ebp - 4], 4
call fcn.0040754f
lea eax, [ebp - 0x2044]
push eax
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
pop ecx
mov edi, 0x2710
push edi
lea ecx, [ebp - 0x2044]
mov byte [ebp - 4], 6
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x4151c5
lea eax, [ebp - 0x2038]
push eax
lea ecx, [ebp - 0x20d4]
call fcn.0040532c
push 0x112
push str..Registry.cpp
push eax
push edi
lea ecx, [ebp - 0x2044]
mov byte [ebp - 4], 7
call sub.log4cplusU.dll_public:_void___thiscall_log4cplus::Logger::forcedLog_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int_const
push 0
push 1
lea esi, [ebp - 0x2038]
call fcn.0040754f
lea ecx, [ebp - 0x2044]
mov byte [ebp - 4], 4
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0x20d4]
mov byte [ebp - 4], 3
call fcn.0040539b
and dword [ebp - 4], 0
jmp 0x415221
mov edi, 0x2710
call fcn.00411dd9
cmp byte [eax], 0
jne 0x4152a7
lea eax, [ebp - 0x20dc]
push eax
call fcn.004071c6
mov byte [ebp - 4], 0xa
push dword [ebp - 0x203c]
lea eax, [ebp - 0x20d4]
push ecx
push ebx
push ecx
push str.CRegistry::setMultiValue_...___SetMultiStringValue_error
push eax
call fcn.004058d5
add esp, 0xc
push eax
call fcn.004058d5
add esp, 0xc
push eax
call fcn.00403746
lea eax, [ebp - 0x2038]
push eax
lea ecx, [ebp - 0x20dc]
call fcn.0040574e
lea edi, [ebp - 0x2038]
mov byte [ebp - 4], 0xb
call fcn.00405549
push 0
push 1
mov esi, edi
call fcn.0040754f
lea eax, [ebp - 0x20dc]
mov byte [ebp - 4], 0
call fcn.00405a60
jmp 0x41502e
lea eax, [ebp - 0x20d4]
push eax
mov byte [ebp - 4], 0xc
call fcn.00405430
mov byte [ebp - 4], 0xd
call fcn.00411dd9
lea ecx, [ebp - 0x2038]
call fcn.00405346
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x18], 8
jb 0x4152da
mov esi, dword [eax + 4]
jmp 0x4152dd
lea esi, [eax + 4]
lea eax, [ebp - 0x20d4]
push 0x5251c8
push eax
call fcn.004058d5
pop ecx
pop ecx
push esi
push eax
call fcn.004058d5
pop ecx
pop ecx
push 0x5251c0
push eax
call fcn.004058d5
pop ecx
pop ecx
push str.CRegistry::setMultiValue_...___SetMultiStringValue_error
push eax
call fcn.004058d5
pop ecx
pop ecx
push ebx
push eax
call fcn.004058d5
pop ecx
pop ecx
push dword [ebp - 0x203c]
push eax
call fcn.00403746
push 0
push 1
lea esi, [ebp - 0x2038]
mov byte [ebp - 4], 0xd
call fcn.0040754f
lea eax, [ebp - 0x2044]
push eax
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
pop ecx
push edi
lea ecx, [ebp - 0x2044]
mov byte [ebp - 4], 0xf
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x415398
lea eax, [ebp - 0x2038]
push eax
lea ecx, [ebp - 0x20d4]
call fcn.0040532c
push 0x113
push str..Registry.cpp
push eax
push edi
lea ecx, [ebp - 0x2044]
mov byte [ebp - 4], 0x10
call sub.log4cplusU.dll_public:_void___thiscall_log4cplus::Logger::forcedLog_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int_const
push 0
push 1
lea esi, [ebp - 0x2038]
call fcn.0040754f
lea ecx, [ebp - 0x2044]
mov byte [ebp - 4], 0xd
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0x20d4]
mov byte [ebp - 4], 0xc
call fcn.0040539b
jmp 0x41502e