Function at 0x413c38
Capabilities:
Delete registry value

Disassembly:
push ebp
sub esp, 0x30
lea ebp, [esp - 4]
mov eax, dword [0x571268]
xor eax, ebp
mov dword [ebp + 0x30], eax
push 0x8c
mov eax, 0x50cac2
call fcn.004ec730
mov eax, dword [ebp + 0x3c]
xor ebx, ebx
mov esi, ecx
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00412cd4
mov edi, eax
cmp edi, ebx
jne 0x413ca3
mov edi, 0x3e81
lea esi, [ebp]
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 + 0x30]
xor ecx, ebp
call fcn.004e6e1c
add ebp, 0x34
leave
ret 4
cmp dword [esi + 0x18], 8
mov dword [ebp], edi
mov dword [ebp + 4], ebx
jb 0x413cb4
mov eax, dword [esi + 4]
jmp 0x413cb7
lea eax, [esi + 4]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp + 8], eax
cmp eax, ebx
jne 0x413cd2
push edi
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov edi, dword [ebp + 8]
jmp 0x413c7a
call fcn.00411dd9
cmp byte [eax], 0
jne 0x413d50
lea eax, [ebp - 0x98]
push eax
call fcn.004071c6
push esi
mov ebx, 0x525218
push ebx
lea eax, [ebp - 0x90]
push str.CRegistry::removeValue_...___for_key
push eax
mov byte [ebp - 4], 1
call fcn.004058d5
pop ecx
pop ecx
push eax
call fcn.004058d5
pop ecx
pop ecx
push eax
call fcn.00405173
pop ecx
pop ecx
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0x98]
call fcn.0040574e
lea edi, [ebp + 0x14]
mov byte [ebp - 4], 2
call fcn.00405549
push 0
push 1
mov esi, edi
call fcn.0040754f
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0
call fcn.00405a60
jmp 0x413e84
lea eax, [ebp - 0x90]
push eax
mov byte [ebp - 4], 3
call fcn.00405430
mov byte [ebp - 4], 4
call fcn.00411dd9
lea ecx, [ebp + 0x14]
call fcn.00405346
mov byte [ebp - 4], 5
cmp dword [eax + 0x18], 8
jb 0x413d80
mov edi, dword [eax + 4]
jmp 0x413d83
lea edi, [eax + 4]
lea eax, [ebp - 0x90]
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::removeValue_...___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 esi
push eax
call fcn.00405173
pop ecx
pop ecx
push 0
push 1
lea esi, [ebp + 0x14]
mov byte [ebp - 4], 4
call fcn.0040754f
lea eax, [ebp + 0xc]
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 + 0xc]
mov byte [ebp - 4], 6
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x413e33
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0x90]
call fcn.0040532c
push 0xab
push str..Registry.cpp
push eax
push edi
lea ecx, [ebp + 0xc]
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 + 0x14]
call fcn.0040754f
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.0040539b
and dword [ebp - 4], 0
jmp 0x413e89
mov edi, 0x2710
call fcn.00411dd9
cmp byte [eax], 0
jne 0x413f02
lea eax, [ebp - 0x98]
push eax
call fcn.004071c6
push dword [ebp + 8]
lea eax, [ebp - 0x90]
push ebx
push str.CRegistry::removeValue_...___DeleteValue_error
push eax
mov byte [ebp - 4], 0xa
call fcn.004058d5
pop ecx
pop ecx
push eax
call fcn.004058d5
pop ecx
pop ecx
push eax
call fcn.00403746
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0x98]
call fcn.0040574e
lea edi, [ebp + 0x14]
mov byte [ebp - 4], 0xb
call fcn.00405549
push 0
push 1
mov esi, edi
call fcn.0040754f
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0
call fcn.00405a60
jmp 0x413ccd
lea eax, [ebp - 0x90]
push eax
mov byte [ebp - 4], 0xc
call fcn.00405430
mov byte [ebp - 4], 0xd
call fcn.00411dd9
lea ecx, [ebp + 0x14]
call fcn.00405346
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x18], 8
jb 0x413f32
mov esi, dword [eax + 4]
jmp 0x413f35
lea esi, [eax + 4]
lea eax, [ebp - 0x90]
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::removeValue_...___DeleteValue_error
push eax
call fcn.004058d5
pop ecx
pop ecx
push ebx
push eax
call fcn.004058d5
pop ecx
pop ecx
push dword [ebp + 8]
push eax
call fcn.00403746
push 0
push 1
lea esi, [ebp + 0x14]
mov byte [ebp - 4], 0xd
call fcn.0040754f
lea eax, [ebp + 0xc]
push eax
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
pop ecx
push edi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xf
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x413fdb
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0x90]
call fcn.0040532c
push 0xac
push str..Registry.cpp
push eax
push edi
lea ecx, [ebp + 0xc]
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 + 0x14]
call fcn.0040754f
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xd
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0xc
call fcn.0040539b
jmp 0x413ccd