Function at 0x1001d1a0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10098ce3
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x100e6018]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [esp + 0x5c]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov byte [esp + 0x78], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor eax, eax
mov dword [esp + 0xa8], 0
push eax
push 0x100b2814
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
call fcn.100089b0
lea eax, [esp + 0x44]
push eax
push str.Common_AppData
lea ecx, [esp + 0x64]
mov byte [esp + 0xb0], 1
call sym.iImportLib.dll_public:_long_int___thiscall_elex::reg::RegKey::ReadValue_wchar_t_const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____const
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
test eax, eax
jne 0x1001d420
cmp dword [esp + 0x58], 8
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x44]
cmovae eax, dword [esp + 0x44]
cmp dword [esi + 0x14], 8
mov dword [esp + 0x10], edx
jb 0x1001d28e
mov ecx, dword [esi]
jmp 0x1001d290
mov ecx, esi
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
push edx
push eax
push ecx
call ebx
test eax, eax
jne 0x1001d420
cmp dword [esp + 0x58], 8
lea eax, [esp + 0x44]
cmovae eax, dword [esp + 0x44]
cmp dword [esi + 0x14], 8
jb 0x1001d2bb
mov ecx, dword [esi]
jmp 0x1001d2bd
mov ecx, esi
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x1001d2d0
xor bl, bl
jmp 0x1001d422
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [esp + 0x1c], ax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
call fcn.10008c80
push 0x100b3c44
lea edx, [esp + 0x18]
lea ecx, [esp + 0x6c]
mov byte [esp + 0xac], 2
call fcn.10011da0
add esp, 4
mov byte [esp + 0xa8], 4
cmp dword [esp + 0x28], 8
jb 0x1001d32d
push dword [esp + 0x14]
call edi
add esp, 4
xor eax, eax
cmp dword [esp + 0x7c], 8
lea ecx, [esp + 0x68]
cmovae ecx, dword [esp + 0x68]
cmp dword [esi + 0x14], 8
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
jb 0x1001d35c
mov edx, dword [esi]
jmp 0x1001d35e
mov edx, esi
mov eax, dword [esp + 0x10]
add eax, 0xa
push eax
push ecx
push edx
call ebx
test eax, eax
je 0x1001d3fe
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [esp + 0x34], ax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
call fcn.10008c80
push str.Windows
lea edx, [esp + 0x30]
lea ecx, [esp + 0x84]
mov byte [esp + 0xac], 5
call fcn.10011da0
add esp, 4
lea ecx, [esp + 0x2c]
call sym.iImportLib.dll_public:_void___thiscall_elex::strings::CAnalyzeCmdline::destructor_void_
cmp dword [esp + 0x94], 8
lea ecx, [esp + 0x80]
cmovae ecx, dword [esp + 0x80]
cmp dword [esi + 0x14], 8
jb 0x1001d3e2
mov esi, dword [esi]
mov eax, dword [esp + 0x10]
add eax, 8
push eax
push ecx
push esi
call ebx
lea ecx, [esp + 0x80]
test eax, eax
jne 0x1001d412
call sym.iImportLib.dll_public:_void___thiscall_elex::strings::CAnalyzeCmdline::destructor_void_
cmp dword [esp + 0x7c], 8
jb 0x1001d40e
push dword [esp + 0x68]
call edi
add esp, 4
xor bl, bl
jmp 0x1001d422
call sym.iImportLib.dll_public:_void___thiscall_elex::strings::CAnalyzeCmdline::destructor_void_
lea ecx, [esp + 0x68]
call sym.iImportLib.dll_public:_void___thiscall_elex::strings::CAnalyzeCmdline::destructor_void_
mov bl, 1
cmp dword [esp + 0x58], 8
jb 0x1001d432
push dword [esp + 0x44]
call edi
add esp, 4
xor eax, eax
mov word [esp + 0x44], ax
mov dword [esp + 0xa8], 0xffffffff
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
test eax, eax
je 0x1001d46b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x1001d47a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.100947be
mov esp, ebp
pop ebp
ret 4