Function at 0x100253d0
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, 0x7078
call fcn.100378e0
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x7074], eax
push ebx
xor ebx, ebx
push ebp
push esi
push edi
push str._Remove_Keys_for_current_active_user_other_than_one_were_loggin_in
mov dword [esp + 0x60], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], 0x800
mov dword [esp + 0x14], ebx
call fcn.10004ff0
add esp, 4
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x4098]
push ecx
push ebx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10025888
lea esp, [esp]
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x100259c0
lea edx, [esp + 0x4084]
push edx
mov dword [edi + 4], ebx
mov dword [edi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
cmp eax, ebx
je 0x100259c0
push 0xc
mov dword [esp + 0x18], edi
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x100259c0
lea ebp, [esi + 8]
push str.SoftwareClasses
mov dword [esi + 4], ebx
mov dword [ebp], 1
call fcn.10030c90
push 0xc
mov dword [esi], eax
mov dword [esp + 0x20], esi
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebx
je 0x100259c0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, eax
call fcn.10003e50
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x100259c0
lea eax, [edi + 8]
push eax
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x1002551e
mov eax, dword [edi]
cmp eax, ebx
je 0x10025505
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x10025515
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push ebp
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x1002554f
mov eax, dword [esi]
cmp eax, ebx
je 0x10025536
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x10025546
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [esp + 0x4c]
push ecx
push 0x20019
push ebx
push eax
push SysReAllocStringLen
mov dword [esp + 0x60], ebx
call esi
cmp eax, ebx
jne 0x100256db
mov ecx, dword [esp + 0x5c]
xor eax, eax
cmp ecx, ebx
je 0x1002558b
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x5c], ecx
cmp eax, ebx
jne 0x100256db
lea edx, [esp + 0x48]
push edx
push 0x2001f
push ebx
push str.CLSID
push ecx
mov dword [esp + 0x5c], ebx
call esi
cmp eax, ebx
jne 0x100256db
mov ecx, dword [esp + 0x50]
xor eax, eax
cmp ecx, ebx
je 0x100255cb
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x50], ebp
cmp eax, ebx
jne 0x100256db
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x100259c0
push str.___Remove_from_user:
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call fcn.10030c90
push 0xc
mov dword [esi], eax
mov dword [esp + 0x18], esi
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x100259c0
lea eax, [esp + 0x4084]
lea edi, [esi + 8]
push eax
mov dword [esi + 4], ebx
mov dword [edi], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
cmp eax, ebx
je 0x100259c0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], esi
call fcn.10004760
push edi
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x10025684
mov eax, dword [esi]
cmp eax, ebx
je 0x1002566b
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x1002567b
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x10025690
mov eax, dword [esi]
jmp 0x10025692
xor eax, eax
push eax
call fcn.10004ff0
sub esp, 8
mov eax, esp
mov dword [esp + 0x5c], ebx
mov dword [eax], ebp
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
call fcn.10015300
mov eax, dword [esp + 0x68]
add esp, 0xc
cmp eax, ebx
je 0x100256c4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x5c], ebx
cmp esi, ebx
je 0x1002581b
lea edx, [esi + 8]
push edx
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
jmp 0x100257f1
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x100259c0
lea ebp, [edi + 8]
push str.___Failed_to_open_CLSID_keys_in_user:
mov dword [edi + 4], ebx
mov dword [ebp], 1
call fcn.10030c90
push 0xc
mov dword [edi], eax
mov dword [esp + 0x18], edi
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x100259c0
lea eax, [esp + 0x4084]
push eax
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
cmp eax, ebx
je 0x100259c0
push 0xc
mov dword [esp + 0x1c], esi
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebx
je 0x100259c0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, eax
call fcn.10003e50
mov dword [esp + 0x18], eax
cmp eax, ebx
je 0x100259c0
push ebp
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x100257a6
mov eax, dword [edi]
cmp eax, ebx
je 0x1002578d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x1002579d
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, dword [sym.imp.kernel32.dll_InterlockedDecrement]
lea eax, [esi + 8]
push eax
call edi
test eax, eax
jne 0x100257dc
mov eax, dword [esi]
cmp eax, ebx
je 0x100257c3
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x100257d3
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
push eax
call fcn.10004ff0
add esp, 4
lea ecx, [esi + 8]
push ecx
call edi
test eax, eax
jne 0x1002581b
mov eax, dword [esi]
cmp eax, ebx
je 0x10025802
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x10025812
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x1c]
inc dword [esp + 0x10]
lea edx, [esi + 8]
push edx
mov dword [esp + 0x44], 0x800
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x1002585f
mov eax, dword [esi]
cmp eax, ebx
je 0x10025846
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x10025856
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edx, dword [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x4098]
push ecx
push edx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x10025450
push str._Remove_Static_Version_Redirect_Keys_for_other_users
call fcn.10004ff0
push 0xffe
lea ecx, [esp + 0x508e]
xor eax, eax
push ebx
push ecx
mov dword [esp + 0x20], ebx
mov word [esp + 0x5094], ax
call sub.MSVCR100.dll_memset
push 0xffe
lea eax, [esp + 0x109a]
xor edx, edx
push ebx
push eax
mov word [esp + 0x10a0], dx
call sub.MSVCR100.dll_memset
push 0xffe
lea edx, [esp + 0x60a6]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x60ac], cx
call sub.MSVCR100.dll_memset
push 0xffe
lea ecx, [esp + 0x30b2]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x30b8], ax
call sub.MSVCR100.dll_memset
push 0xffe
lea eax, [esp + 0x20be]
xor edx, edx
push ebx
push eax
mov word [esp + 0x20c4], dx
call sub.MSVCR100.dll_memset
add esp, 0x40
push 0xffe
lea edx, [esp + 0x8a]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x90], cx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
push 0x20019
push ebx
push str.SoftwareMicrosoftWindows_NTCurrentVersionProfileList
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], 0xa
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push ecx
mov ebp, esp
push 0xc
mov edi, eax
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x100259ca
push str.___Open_ProfilePath_key
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
cmp eax, ebx
jne 0x100259cc
push 0x8007000e
call fcn.10030c90
xor esi, esi
mov dword [ebp], esi
cmp esi, ebx
jne 0x100259dd
push 0x8007000e
call fcn.10030c90
push edi
call fcn.1001a270
add esp, 8
cmp edi, ebx
jne 0x10025d8f
push 0x1000
lea ecx, [esp + 0x6088]
push ebx
mov ebp, 0x800
push ecx
mov dword [esp + 0x2c], ebp
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x6088]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0x1000
lea ecx, [esp + 0x5088]
push ebx
push ecx
call sub.MSVCR100.dll_memset
push 0x1000
lea edx, [esp + 0x1094]
push ebx
push edx
call sub.MSVCR100.dll_memset
push 0x1000
lea eax, [esp + 0x30a0]
push ebx
push eax
call sub.MSVCR100.dll_memset
push 0x1000
lea ecx, [esp + 0x20ac]
push ebx
push ecx
call sub.MSVCR100.dll_memset
push 0x1000
lea edx, [esp + 0xb8]
push ebx
push edx
call sub.MSVCR100.dll_memset
mov edx, dword [esp + 0x78]
add esp, 0x3c
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x3098]
push ecx
push ebx
push edx
mov dword [esp + 0x40], ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
cmp esi, 0x103
je 0x10025d84
cmp esi, ebx
jne 0x10025d6e
lea eax, [esp + 0x3084]
push eax
push str.SoftwareMicrosoftWindows_NTCurrentVersionProfileList
lea ecx, [esp + 0x508c]
push str._s_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [esp + 0x44]
push edx
push 0x20019
push ebx
lea eax, [esp + 0x5090]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp edi, ebx
jne 0x10025c83
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x2088]
push edx
lea eax, [esp + 0x88]
push eax
push ebx
push str.ProfileImagePath
push ecx
mov dword [esp + 0x38], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp edi, ebx
jne 0x10025c27
push ebp
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x208c]
push eax
call dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
lea ecx, [esp + 0x6084]
push ecx
lea edx, [esp + 0x88]
push edx
call fcn.10014d80
add esp, 8
test eax, eax
je 0x10025c76
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
test al, 0x10
je 0x10025b98
push str.Local_SettingsApplication_DataMicrosoftWindowsUsrClass.dat
lea ecx, [esp + 0x88]
push ebp
push ecx
call dword [sym.imp.MSVCR100.dll_wcscat_s]
add esp, 0xc
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x100259c0
lea edx, [esp + 0x84]
lea edi, [esi + 8]
push edx
mov dword [esi + 4], ebx
mov dword [edi], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
cmp eax, ebx
je 0x100259c0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x1c], esi
call fcn.100252b0
push edi
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x10025c76
mov eax, dword [esi]
cmp eax, ebx
je 0x10025bfe
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x10025c0e
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x48]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10025cd2
push ecx
mov ebp, esp
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x10025c5b
push str.___Query_Value_ProfileImagePath
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
cmp eax, ebx
je 0x100259c0
jmp 0x10025c5d
xor esi, esi
mov dword [ebp], esi
cmp esi, ebx
je 0x100259c0
push edi
call fcn.1001a270
add esp, 8
mov ebp, 0x800
mov ecx, dword [esp + 0x44]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10025cd2
push ecx
mov ebp, esp
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x10025cb7
push str.___Open_Profile_Key
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
cmp eax, ebx
je 0x100259c0
jmp 0x10025cb9
xor esi, esi
mov dword [ebp], esi
cmp esi, ebx
je 0x100259c0
push edi
call fcn.1001a270
add esp, 8
mov ebp, 0x800
mov esi, dword [esp + 0x10]
push 0x1000
lea edx, [esp + 0x5088]
push ebx
inc esi
push edx
mov dword [esp + 0x1c], esi
call sub.MSVCR100.dll_memset
push 0x1000
lea eax, [esp + 0x1094]
push ebx
push eax
call sub.MSVCR100.dll_memset
push 0x1000
lea ecx, [esp + 0x30a0]
push ebx
push ecx
call sub.MSVCR100.dll_memset
push 0x1000
lea edx, [esp + 0x20ac]
push ebx
push edx
call sub.MSVCR100.dll_memset
push 0x1000
lea eax, [esp + 0xb8]
push ebx
push eax
call sub.MSVCR100.dll_memset
mov eax, dword [esp + 0x78]
add esp, 0x3c
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x3098]
push edx
push esi
push eax
mov dword [esp + 0x40], ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
cmp esi, 0x103
jne 0x10025ab1
jmp 0x10025d84
push ecx
mov ecx, esp
push str.Enumerate_Profile_Keys
call fcn.10002e00
push esi
call fcn.1001a270
add esp, 8
mov ecx, dword [esp + 0x3c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x68]
mov ebp, dword [esp + 0x24]
xor edi, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
cmp eax, ebx
jbe 0x10025f37
lea ecx, [ecx]
push 1
push str.SeBackupPrivilege
call fcn.10021690
add esp, 8
test eax, eax
je 0x10025f17
push 1
push str.SeRestorePrivilege
call fcn.10021690
add esp, 8
test eax, eax
je 0x10025f17
push 0x1000
lea edx, [esp + 0x88]
push ebx
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp esi, ebx
je 0x1002605e
mov eax, dword [esi + 8]
mov esi, dword [esi]
cmp eax, ebx
je 0x10025e09
mov eax, dword [eax]
jmp 0x10025e0b
xor eax, eax
push 0x800
push eax
lea eax, [esp + 0x8c]
push 0x800
push eax
call dword [sym.imp.MSVCR100.dll_wcsncpy_s]
push edi
lea ecx, [esp + 0x1098]
push str.User_d
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x1088]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
test eax, eax
jne 0x10025efc
push 0x20019
lea ecx, [esp + 0x1088]
push ecx
push SysReAllocStringLen
lea ecx, [esp + 0x30]
call fcn.10003190
mov ebp, dword [esp + 0x24]
test eax, eax
jne 0x10025ee8
push 0x2001f
push str.CLSID
push ebp
lea ecx, [esp + 0x3c]
call fcn.10003190
test eax, eax
jne 0x10025ed3
push str.remove_key_from
call fcn.10004ff0
lea edx, [esp + 0x88]
push edx
call fcn.10004ff0
push ecx
mov ecx, dword [esp + 0x3c]
mov eax, esp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
call fcn.10015300
add esp, 0xc
mov dword [esp + 0x34], ebx
cmp ebp, ebx
je 0x10025ee4
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebp, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x1084]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
inc edi
push ebx
push str.SeBackupPrivilege
call fcn.10021690
push ebx
push str.SeRestorePrivilege
call fcn.10021690
add esp, 0x10
jmp 0x10025f24
push str.___failed_to_set_Privileges
call fcn.10004ff0
add esp, 4
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x18]
jb 0x10025db0
lea ecx, [esp + 0x1c]
push ecx
push 0x20019
push ebx
push str.Software
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x10026068
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
push 0x20019
push ebx
push str.Classes
push eax
mov ebp, eax
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
jne 0x1002609f
mov ecx, dword [esp + 0x5c]
xor eax, eax
cmp ecx, ebx
je 0x10025f9a
push ecx
call esi
mov ecx, dword [esp + 0x14]
mov edi, ecx
cmp eax, ebx
jne 0x100260a3
lea eax, [esp + 0x10]
push eax
push 0x2001f
push ebx
push str.CLSID
push ecx
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x100260cb
mov ecx, dword [esp + 0x50]
xor eax, eax
cmp ecx, ebx
je 0x10025fd8
push ecx
call esi
mov ecx, dword [esp + 0x10]
mov esi, ecx
cmp eax, ebx
jne 0x100260cf
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
call fcn.10015300
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0xc
cmp ebp, ebx
je 0x1002600a
push ebp
call esi
xor ebp, ebp
cmp edi, ebx
je 0x10026013
push edi
call esi
xor edi, edi
lea ecx, [esp + 0x68]
call fcn.10014e20
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x10026027
push eax
call esi
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x10026032
push eax
call esi
cmp edi, ebx
je 0x10026039
push edi
call esi
cmp ebp, ebx
je 0x10026040
push ebp
call esi
mov ecx, dword [esp + 0x7084]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.1003779c
add esp, 0x7078
ret
push 0x80004005
call fcn.10005b50
lea ecx, [esp + 0x68]
call fcn.10014e20
mov eax, dword [esp + 0x30]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
je 0x10026082
push eax
call esi
cmp ebp, ebx
je 0x10026089
push ebp
call esi
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x10026094
push eax
call esi
mov eax, dword [esp + 0x5c]
cmp eax, ebx
je 0x10026040
push eax
jmp 0x1002603e
mov edi, dword [esp + 0x5c]
lea ecx, [esp + 0x68]
call fcn.10014e20
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x100260b7
push eax
call esi
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x100260c2
push eax
call esi
mov eax, dword [esp + 0x50]
jmp 0x1002602b
mov esi, dword [esp + 0x50]
lea ecx, [esp + 0x68]
call fcn.10014e20
cmp dword [esp + 0x30], ebx
je 0x100260e9
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x24], ebx
je 0x100260fa
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x10026105
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
je 0x10026110
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebp, ebx
je 0x10026040
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10026040