Function at 0x100018db
Capabilities:
Delete file
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x1000c836
call fcn.1000c520
sub esp, 0x480
mov eax, dword [0x1001221c]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
mov dword [ebp - 0x2c], ecx
jne 0x10001901
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [ebp - 0x20]
push ecx
push 0xf003f
push ebx
push eax
push dword [0x10012254]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10001d1f
push dword [ebp - 0x20]
lea eax, [ebp - 0x8c]
push dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call fcn.10003989
add esp, 0xc
mov al, byte [ebp - 0xd]
mov dword [ebp - 4], ebx
mov byte [ebp - 0x40], al
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x28]
push ebx
push eax
lea eax, [ebp - 0x28c]
mov edi, 0xff
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
push ebx
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x10001cc1
lea eax, [ebp - 0x1c]
push eax
push 0xf003f
lea eax, [ebp - 0x28c]
push ebx
push eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100019b3
lea eax, [ebp - 0x28c]
push eax
push 0x10011140
push 1
call fcn.10002b6f
add esp, 0xc
jmp 0x10001ca4
push dword [ebp - 0x1c]
lea eax, [ebp - 0x4c]
push dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call fcn.10003989
add esp, 0xc
lea eax, [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x18], edi
push eax
lea eax, [ebp - 0x48c]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push str.LocalPath
push dword [ebp - 0x1c]
call esi
test eax, eax
jne 0x10001c9a
cmp dword [ebp - 0x14], 1
jne 0x10001c9a
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
lea eax, [ebp - 0x38c]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push str.ID3Path
push dword [ebp - 0x1c]
call esi
test eax, eax
jne 0x10001a24
cmp dword [ebp - 0x14], 1
je 0x10001a39
push 0x100
lea eax, [ebp - 0x38c]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push str.ModifyTime
push dword [ebp - 0x1c]
call esi
test eax, eax
jne 0x10001c9a
cmp dword [ebp - 0x14], 1
jne 0x10001c9a
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 4
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push str.Length
push dword [ebp - 0x1c]
call esi
test eax, eax
jne 0x10001c9a
cmp dword [ebp - 0x14], 4
jne 0x10001c9a
lea eax, [ebp - 0x4c]
push eax
call fcn.100039a7
lea eax, [ebp - 0x48c]
push eax
call fcn.10005e6e
pop ecx
test al, al
pop ecx
je 0x10001ba3
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 0x5c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0x18c]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x48c]
push dword [ebp - 0x30]
push eax
call fcn.10005de1
add esp, 0xc
lea ecx, [ebp - 0x5c]
mov byte [ebp - 0xd], al
mov byte [ebp - 4], 1
push 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
cmp byte [ebp - 0xd], bl
jne 0x10001ba3
mov al, byte [ebp - 0xd]
sub esp, 0x10
mov esi, esp
mov dword [ebp - 0x80], esp
push ebx
mov ecx, esi
mov byte [esi], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0x18c]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x18c]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
call fcn.10001d2e
add esp, 0x10
cmp al, bl
jne 0x10001ba3
lea eax, [ebp - 0x38c]
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x10001b7b
lea eax, [ebp - 0x38c]
push eax
call fcn.10005e6e
test al, al
pop ecx
je 0x10001ba3
lea eax, [ebp - 0x48c]
push eax
lea eax, [ebp - 0x28c]
push eax
push 0x10011130
push 1
call fcn.10002b6f
mov eax, dword [ebp - 0x2c]
add esp, 0x10
inc dword [eax + 8]
jmp 0x10001ca4
lea eax, [ebp - 0x48c]
push eax
push 0x1001111c
push 1
pop esi
push esi
call fcn.10002b6f
add esp, 0xc
lea eax, [ebp - 0x38c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
lea eax, [ebp - 0x38c]
push eax
je 0x10001bda
push 0x10011058
jmp 0x10001bdf
push str._failed_
push esi
call fcn.10002b6f
mov al, byte [ebp - 0xd]
add esp, 0xc
lea ecx, [ebp - 0x7c]
mov byte [ebp - 0x7c], al
push ebx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0x28c]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x7c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 3
call fcn.10002c0a
push esi
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 0x6c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0x18c]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x48c]
push dword [ebp - 0x30]
push eax
call fcn.10005de1
add esp, 0xc
lea ecx, [ebp - 0x6c]
mov byte [ebp - 0xd], al
mov byte [ebp - 4], 1
push esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
cmp byte [ebp - 0xd], bl
je 0x10001ca4
mov eax, dword [ebp - 0x2c]
inc dword [eax + 4]
jmp 0x10001ca4
lea eax, [ebp - 0x4c]
push eax
call fcn.100039a7
pop ecx
inc dword [ebp - 0x24]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x28]
push ebx
push eax
lea eax, [ebp - 0x28c]
push eax
mov dword [ebp - 0x28], edi
push dword [ebp - 0x24]
jmp 0x10001969
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x38]
je 0x10001d07
lea esi, [eax + 4]
mov eax, dword [esi]
cmp eax, ebx
jne 0x10001cd7
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push 0x10011108
push 1
call fcn.10002b6f
mov eax, dword [esi]
add esp, 0xc
cmp eax, ebx
jne 0x10001cf2
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
add esi, 0x10
lea eax, [esi - 4]
cmp eax, dword [ebp - 0x38]
jne 0x10001ccc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.10002bd4
lea eax, [ebp - 0x8c]
push eax
call fcn.100039a7
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret