Function at 0x1001d6c0
Capabilities:
Get file attributes
Get session user name
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x7088
call fcn.1003baf0
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x7084], eax
xor eax, eax
mov dword [esp + 0x74], 0
push ebx
push ebp
push esi
push edi
push str._Remove_Keys_for_current_active_user_other_than_one_were_loggin_in
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x2c], 0x800
mov dword [esp + 0x68], eax
call fcn.10003ca0
add esp, 4
lea eax, [esp + 0x28]
push 0
push 0
push 0
push 0
push eax
lea eax, [esp + 0x30a8]
push eax
push 0
push VariantInit
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1001dece
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantInit]
push 0xc
call fcn.10033b30
mov esi, eax
add esp, 4
test esi, esi
je 0x1001e734
lea eax, [esp + 0x3094]
mov dword [esi + 4], 0
push eax
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x1001e734
push 0xc
call fcn.10033b30
mov edi, eax
add esp, 4
test edi, edi
je 0x1001e734
push str.SoftwareClasses
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call fcn.10033b30
push 0xc
mov dword [edi], eax
call fcn.10033b30
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x1001e734
mov dword [eax + 4], 0
add eax, 8
mov dword [esp + 0x30], eax
mov dword [eax], 1
mov ecx, dword [esi]
test ecx, ecx
je 0x1001d826
push ecx
call ebp
mov ebx, eax
mov dword [esp + 0x14], eax
jmp 0x1001d82c
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [edi]
test eax, eax
je 0x1001d839
push eax
call ebp
mov ebp, eax
jmp 0x1001d83b
xor ebp, ebp
add ebx, ebp
cmp ebx, ebp
jb 0x1001e734
mov eax, ebx
mov ecx, 2
mul ecx
test edx, edx
ja 0x1001e734
jb 0x1001d861
cmp eax, 0xffffffff
ja 0x1001e734
lea eax, [ebx + ebx]
push eax
push 0
mov dword [esp + 0x18], eax
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov ecx, eax
mov eax, dword [esp + 0x20]
mov dword [eax], ecx
test ecx, ecx
jne 0x1001da51
test ebx, ebx
jne 0x1001e734
mov ebp, dword [esp + 0x20]
or eax, 0xffffffff
lea ecx, [esi + 8]
lock xadd dword [ecx], eax
dec eax
jne 0x1001d8cf
mov eax, dword [esi]
test eax, eax
je 0x1001d8ad
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1001d8c4
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10033b30
add esp, 8
or eax, 0xffffffff
lea ecx, [edi + 8]
lock xadd dword [ecx], eax
dec eax
jne 0x1001d911
mov eax, dword [edi]
test eax, eax
je 0x1001d8ef
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x1001d906
push eax
call fcn.1003b898
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.10033b30
add esp, 8
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0x20019
push 0
push dword [ebp]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push VariantInit
call ebp
test eax, eax
jne 0x1001dc2a
mov ecx, dword [esp + 0x24]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ecx, ecx
je 0x1001d94e
push ecx
call ebx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], 0
test eax, eax
jne 0x1001dc2a
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push 0x2001f
push 0
push str.CLSID
push ecx
call ebp
test eax, eax
jne 0x1001dc2a
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1001d995
push ecx
call ebx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 0
test eax, eax
jne 0x1001dc2a
push 0xc
call fcn.10033b30
mov esi, eax
add esp, 4
test esi, esi
je 0x1001e734
push str.___Remove_from_user:
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.10033b30
push 0xc
mov dword [esi], eax
call fcn.10033b30
mov edi, eax
add esp, 4
test edi, edi
je 0x1001e734
lea eax, [esp + 0x3094]
mov dword [edi + 4], 0
push eax
mov eax, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi + 8], 1
call eax
mov dword [edi], eax
test eax, eax
je 0x1001e734
push 0xc
call fcn.10033b30
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1001e734
mov dword [ebx + 4], 0
mov dword [ebx + 8], 1
mov eax, dword [esi]
test eax, eax
je 0x1001daa1
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ebp, eax
mov dword [esp + 0x14], eax
jmp 0x1001daa7
mov edx, dword [esi]
mov ebx, dword [esp + 0x14]
test edx, edx
je 0x1001da75
lea eax, [ebx*2 + 2]
push eax
mov eax, dword [esp + 0x14]
push edx
add eax, 2
push eax
push ecx
call fcn.10005cb0
add esp, 0x10
mov ecx, dword [edi]
test ecx, ecx
je 0x1001d889
lea eax, [ebp*2 + 2]
mov ebp, dword [esp + 0x20]
push eax
push ecx
push eax
mov eax, dword [ebp]
lea eax, [eax + ebx*2]
push eax
call fcn.10005cb0
add esp, 0x10
jmp 0x1001d88d
xor ebp, ebp
mov dword [esp + 0x14], ebp
mov eax, dword [edi]
test eax, eax
je 0x1001dab6
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
jmp 0x1001dab8
xor eax, eax
add ebp, eax
mov dword [esp + 0x18], eax
cmp ebp, eax
jb 0x1001e734
mov eax, ebp
mov ecx, 2
mul ecx
test edx, edx
ja 0x1001e734
jb 0x1001dae2
cmp eax, 0xffffffff
ja 0x1001e734
lea eax, [ebp*2]
push eax
push 0
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov edx, eax
mov dword [ebx], edx
test edx, edx
jne 0x1001db04
test ebp, ebp
jne 0x1001e734
jmp 0x1001db4e
mov ecx, dword [esi]
test ecx, ecx
je 0x1001db28
mov eax, dword [esp + 0x14]
lea eax, [eax*2 + 2]
push eax
push ecx
lea eax, [ebp*2 + 2]
push eax
push edx
call fcn.10005cb0
add esp, 0x10
mov ecx, dword [edi]
test ecx, ecx
je 0x1001db4e
mov eax, dword [esp + 0x18]
lea eax, [eax*2 + 2]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [ebx]
lea eax, [eax + ecx*2]
push eax
call fcn.10005cb0
add esp, 0x10
or eax, 0xffffffff
lea ecx, [esi + 8]
lock xadd dword [ecx], eax
dec eax
jne 0x1001db90
mov eax, dword [esi]
test eax, eax
je 0x1001db6e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1001db85
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10033b30
add esp, 8
or eax, 0xffffffff
lea ecx, [edi + 8]
lock xadd dword [ecx], eax
dec eax
jne 0x1001dbd2
mov eax, dword [edi]
test eax, eax
je 0x1001dbb0
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x1001dbc7
push eax
call fcn.1003b898
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.10033b30
add esp, 8
push dword [ebx]
call fcn.10003ca0
sub esp, 8
xor ecx, ecx
mov eax, esp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [eax + 8], 0
call fcn.1001d480
mov edx, dword [esp + 0x30]
add esp, 0xc
test edx, edx
je 0x1001de05
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x6c], edx
jmp 0x1001de05
push 0xc
call fcn.10033b30
mov esi, eax
add esp, 4
test esi, esi
je 0x1001e734
push str.___Failed_to_open_CLSID_keys_in_user:
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.10033b30
push 0xc
mov dword [esi], eax
call fcn.10033b30
mov edi, eax
add esp, 4
test edi, edi
je 0x1001e734
lea eax, [esp + 0x3094]
mov dword [edi + 4], 0
push eax
mov eax, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi + 8], 1
call eax
mov dword [edi], eax
test eax, eax
je 0x1001e734
push 0xc
call fcn.10033b30
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1001e734
mov dword [ebx + 4], 0
mov dword [ebx + 8], 1
mov eax, dword [esi]
test eax, eax
je 0x1001dcca
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ebp, eax
mov dword [esp + 0x10], eax
jmp 0x1001dcd0
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov eax, dword [edi]
test eax, eax
je 0x1001dcdf
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
jmp 0x1001dce1
xor eax, eax
add ebp, eax
mov dword [esp + 0x14], eax
cmp ebp, eax
jb 0x1001e734
mov eax, ebp
mov ecx, 2
mul ecx
test edx, edx
ja 0x1001e734
jb 0x1001dd0b
cmp eax, 0xffffffff
ja 0x1001e734
lea eax, [ebp*2]
push eax
push 0
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov ecx, eax
mov dword [ebx], ecx
test ecx, ecx
jne 0x1001dd2d
test ebp, ebp
jne 0x1001e734
jmp 0x1001dd77
mov edx, dword [esi]
test edx, edx
je 0x1001dd51
mov eax, dword [esp + 0x10]
lea eax, [eax*2 + 2]
push eax
push edx
lea eax, [ebp*2 + 2]
push eax
push ecx
call fcn.10005cb0
add esp, 0x10
mov ecx, dword [edi]
test ecx, ecx
je 0x1001dd77
mov eax, dword [esp + 0x14]
lea eax, [eax*2 + 2]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [ebx]
lea eax, [eax + ecx*2]
push eax
call fcn.10005cb0
add esp, 0x10
or eax, 0xffffffff
lea ecx, [esi + 8]
lock xadd dword [ecx], eax
dec eax
jne 0x1001ddb9
mov eax, dword [esi]
test eax, eax
je 0x1001dd97
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1001ddae
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10033b30
add esp, 8
or eax, 0xffffffff
lea ecx, [edi + 8]
lock xadd dword [ecx], eax
dec eax
jne 0x1001ddfb
mov eax, dword [edi]
test eax, eax
je 0x1001ddd9
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x1001ddf0
push eax
call fcn.1003b898
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.10033b30
add esp, 8
push dword [ebx]
call fcn.10003ca0
add esp, 4
lea ecx, [ebx + 8]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
jne 0x1001de47
mov eax, dword [ebx]
test eax, eax
je 0x1001de25
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x1001de3c
push eax
call fcn.1003b898
add esp, 4
mov dword [ebx + 4], 0
push 0xc
push ebx
call fcn.10033b30
add esp, 8
mov edi, dword [esp + 0x64]
or eax, 0xffffffff
mov ecx, dword [esp + 0x30]
inc edi
mov dword [esp + 0x28], 0x800
mov dword [esp + 0x64], edi
lock xadd dword [ecx], eax
dec eax
jne 0x1001de9f
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx]
test eax, eax
je 0x1001de7d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x1001de94
push eax
call fcn.1003b898
add esp, 4
mov dword [ebx + 4], 0
push 0xc
push ebx
call fcn.10033b30
add esp, 8
push 0
push 0
push 0
push 0
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x30a8]
push eax
push edi
push VariantInit
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x1001d783
push str._Remove_Static_Version_Redirect_Keys_for_other_users
call fcn.10003ca0
push 0x1000
xor ebp, ebp
lea eax, [esp + 0x509c]
push ebp
push eax
call sub.VCRUNTIME140.dll_memset
push 0x1000
lea eax, [esp + 0x20a8]
push ebp
push eax
call sub.VCRUNTIME140.dll_memset
push 0x1000
lea eax, [esp + 0x40b4]
push ebp
push eax
call sub.VCRUNTIME140.dll_memset
push 0x1000
lea eax, [esp + 0x10c0]
push ebp
push eax
call sub.VCRUNTIME140.dll_memset
push 0x1000
lea eax, [esp + 0x60cc]
push ebp
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x40
lea eax, [esp + 0x94]
push 0x1000
push ebp
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x40], ebp
lea eax, [esp + 0x2c]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
push eax
push 0x20019
push ebp
push str.SoftwareMicrosoftWindows_NTCurrentVersionProfileList
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], 0xa
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push ecx
mov ebx, esp
mov edi, eax
push 0xc
call fcn.10033b30
mov esi, eax
add esp, 4
test esi, esi
je 0x1001dfbf
push str.___Open_ProfilePath_key
mov dword [esi + 4], ebp
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x1001e734
jmp 0x1001dfc1
xor esi, esi
mov dword [ebx], esi
test esi, esi
je 0x1001e734
push edi
call fcn.10015580
add esp, 8
test edi, edi
jne 0x1001e47c
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x800
push eax
lea eax, [esp + 0x4098]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0x1000
lea eax, [esp + 0x1098]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
push 0x1000
lea eax, [esp + 0xa4]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [esp + 0x1c], 0x800
lea eax, [esp + 0x1c]
push edi
push edi
push edi
push edi
push eax
lea eax, [esp + 0x10a8]
push eax
push edi
push dword [esp + 0x48]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
cmp esi, 0x103
je 0x1001e472
test esi, esi
jne 0x1001e425
lea eax, [esp + 0x1094]
push eax
push str.SoftwareMicrosoftWindows_NTCurrentVersionProfileList
lea eax, [esp + 0x509c]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [esp + 0x68]
push eax
push 0x20019
push esi
lea eax, [esp + 0x50a0]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x1001e338
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x800
push eax
lea eax, [esp + 0x6098]
push eax
lea eax, [esp + 0x98]
push eax
push edi
push str.ProfileImagePath
push dword [esp + 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x1001e2df
push 0x800
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x609c]
push eax
call dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
lea edx, [esp + 0x4094]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1001e101
sub edx, ecx
lea ecx, [esp + 0x94]
sar edx, 1
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001e120
sub ecx, esi
sar ecx, 1
cmp ecx, edx
jle 0x1001e175
lea esi, [edx - 1]
dec ecx
test esi, esi
js 0x1001e166
lea edx, [esp + 0x4094]
lea edx, [edx + esi*2]
nop word [eax + eax]
mov ax, word [edx]
cmp ax, word [esp + ecx*2 + 0x94]
jne 0x1001e175
dec ecx
sub edx, 2
sub esi, 1
jns 0x1001e150
cmp word [esp + ecx*2 + 0x94], 0x5c
je 0x1001e32c
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
test al, 0x10
je 0x1001e1a2
push str.Local_SettingsApplication_DataMicrosoftWindowsUsrClass.dat
lea eax, [esp + 0x98]
push 0x800
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
push 0xc
call fcn.10033b30
mov esi, eax
add esp, 4
test esi, esi
je 0x1001e734
lea eax, [esp + 0x94]
mov dword [esi + 4], 0
lea edi, [esi + 8]
mov dword [edi], 1
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x1001e734
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x44]
test ecx, ecx
jne 0x1001e260
mov eax, dword [esp + 0x54]
mov ecx, 0xc
mul ecx
mov ecx, eax
test edx, edx
ja 0x1001e73e
jb 0x1001e20a
cmp ecx, 0xffffffff
ja 0x1001e73e
not eax
cmp eax, 8
jb 0x1001e73e
add ecx, 8
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
test eax, eax
je 0x1001e73e
mov ecx, dword [esp + 0x4c]
mov dword [eax], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x4c], eax
lea ecx, [edx + edx*2]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x50]
add eax, 0xfffffffc
add edx, 0xffffffff
js 0x1001e260
nop word [eax + eax]
mov dword [eax], ecx
mov ecx, eax
sub eax, 0xc
mov dword [esp + 0x50], ecx
sub edx, 1
jns 0x1001e250
mov eax, dword [ecx]
mov dword [ecx + 8], esi
lock inc dword [edi]
mov dword [esp + 0x50], eax
mov dword [ecx + 4], ebx
mov dword [ecx], 0
inc dword [esp + 0x48]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1001e285
mov dword [eax], ecx
jmp 0x1001e289
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
jne 0x1001e32c
mov eax, dword [esi]
test eax, eax
je 0x1001e2ae
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1001e2c5
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10033b30
add esp, 8
push dword [esp + 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1001e385
push ecx
mov ebx, esp
push 0xc
call fcn.10033b30
mov esi, eax
add esp, 4
test esi, esi
je 0x1001e317
push str.___Query_Value_ProfileImagePath
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x1001e734
jmp 0x1001e319
xor esi, esi
mov dword [ebx], esi
test esi, esi
je 0x1001e734
push edi
call fcn.10015580
add esp, 8
push dword [esp + 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1001e385
push ecx
mov ebx, esp
push 0xc
call fcn.10033b30
mov esi, eax
add esp, 4
test esi, esi
je 0x1001e370
push str.___Open_Profile_Key
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x1001e734
jmp 0x1001e372
xor esi, esi
mov dword [ebx], esi
test esi, esi
je 0x1001e734
push edi
call fcn.10015580
add esp, 8
push 0x1000
lea eax, [esp + 0x5098]
inc ebp
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x1000
lea eax, [esp + 0x20a4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x1000
lea eax, [esp + 0x10b0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x1000
lea eax, [esp + 0x60bc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x1000
lea eax, [esp + 0xc8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x3c
mov dword [esp + 0x1c], 0x800
lea eax, [esp + 0x1c]
push 0
push 0
push 0
push 0
push eax
lea eax, [esp + 0x10a8]
push eax
push ebp
push dword [esp + 0x48]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
cmp esi, 0x103
jne 0x1001e052
jmp 0x1001e472
push ecx
mov ebx, esp
push 0xc
call fcn.10033b30
mov edi, eax
add esp, 4
test edi, edi
je 0x1001e45d
push str.Enumerate_Profile_Keys
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
je 0x1001e734
jmp 0x1001e45f
xor edi, edi
mov dword [ebx], edi
test edi, edi
je 0x1001e734
push esi
call fcn.10015580
add esp, 8
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [esp + 0x48]
xor ebx, ebx
mov esi, dword [esp + 0x40]
xor edi, edi
test ebp, ebp
je 0x1001e633
push 1
push str.SeBackupPrivilege
call fcn.10021d40
add esp, 8
test eax, eax
je 0x1001e61d
push 1
push str.SeRestorePrivilege
call fcn.10021d40
add esp, 8
test eax, eax
je 0x1001e61d
push 0x1000
lea eax, [esp + 0x98]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test esi, esi
je 0x1001e748
mov eax, dword [esi + 8]
mov esi, dword [esi]
test eax, eax
je 0x1001e4ea
mov eax, dword [eax]
jmp 0x1001e4ec
xor eax, eax
push 0x800
push eax
lea eax, [esp + 0x9c]
push 0x800
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
push ebx
lea eax, [esp + 0x20a8]
push str.User_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x2098]
push eax
push VariantInit
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
test eax, eax
jne 0x1001e600
push 0x20019
lea eax, [esp + 0x2098]
push eax
push VariantInit
lea ecx, [esp + 0x84]
call fcn.10003a10
test eax, eax
jne 0x1001e5ec
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x58]
push 0x2001f
push str.CLSID
push eax
call fcn.10003a10
test eax, eax
jne 0x1001e5cf
push str.remove_key_from
call fcn.10003ca0
lea eax, [esp + 0x98]
push eax
call fcn.10003ca0
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x6c]
mov edx, esp
mov dword [esp + 0x64], 0
mov dword [esp + 0x6c], 0
mov dword [edx], eax
mov eax, dword [esp + 0x68]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
call fcn.1001d480
add esp, 0xc
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x78]
test eax, eax
je 0x1001e5e4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
lea eax, [esp + 0x2094]
push eax
push VariantInit
call dword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
inc ebx
push 0
push str.SeBackupPrivilege
call fcn.10021d40
push 0
push str.SeRestorePrivilege
call fcn.10021d40
add esp, 0x10
jmp 0x1001e62a
push str.___failed_to_set_Privileges
call fcn.10003ca0
add esp, 4
inc edi
cmp edi, ebp
jb 0x1001e490
push 0x20019
push str.Software
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x90]
call fcn.10003a10
mov esi, dword [esp + 0x84]
test eax, eax
jne 0x1001e6d4
push 0x20019
push str.Classes
push esi
lea ecx, [esp + 0x78]
call fcn.10003a10
mov ebp, dword [esp + 0x6c]
test eax, eax
jne 0x1001e6d8
push 0x2001f
push str.CLSID
push ebp
lea ecx, [esp + 0x40]
call fcn.10003a10
test eax, eax
jne 0x1001e6ce
mov eax, dword [esp + 0x34]
sub esp, 0xc
mov ecx, esp
xor ebx, ebx
mov dword [ecx], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + 8], eax
call fcn.1001d480
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0xc
test esi, esi
je 0x1001e6c3
push esi
call edi
xor esi, esi
test ebp, ebp
je 0x1001e6dc
push ebp
call edi
xor ebp, ebp
jmp 0x1001e6dc
mov ebx, dword [esp + 0x34]
jmp 0x1001e6dc
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x40]
call fcn.1001d3f0
mov eax, dword [esp + 0x58]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1001e6f6
push eax
call edi
mov eax, dword [esp + 0x78]
test eax, eax
je 0x1001e701
push eax
call edi
test ebx, ebx
je 0x1001e708
push ebx
call edi
test ebp, ebp
je 0x1001e70f
push ebp
call edi
test esi, esi
je 0x1001e716
push esi
call edi
mov ecx, dword [esp + 0x7094]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003b4ee
add esp, 0x7088
ret
push 0x8007000e
call fcn.10033b30
push 0x8007000e
call fcn.10006240
push 0x80004005
call fcn.10006240
int3