Function at 0x100a07d0
Capabilities:
Delete registry key
Delete registry value
Get common file path
Get session user name

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100bdb51
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x230
push ebx
push ebp
xor ebx, ebx
push esi
cmp eax, 9
push edi
mov ebp, ecx
ja case.default.0x100a0800
jmp dword [eax*4 + 0x100a0c4c]
push str.SoftwareMicrosoftInternet_ExplorerTypedURLs
jmp 0x100a0aa1
mov eax, dword [0x10106c69]
mov dword [esp + 0x10], eax
mov dword [esp + 0x248], ebx
call fcn.1009f5e0
test eax, eax
jne 0x100a0892
call fcn.1009f570
test eax, eax
jne 0x100a0892
lea ecx, [esp + 0x18]
lea edx, [esp + 0x13c]
push ecx
push edx
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
push str.SoftwareMicrosoftProtected_Storage_System_Provider_
lea ecx, [esp + 0x14]
call fcn.100b58b9
lea eax, [esp + 0x13c]
lea ecx, [esp + 0x10]
push eax
call fcn.100b59be
push str.Datae161255a_37c3_11d2_bcaa_00c04fd929db
lea ecx, [esp + 0x14]
call fcn.100b59be
mov ecx, dword [esp + 0x10]
push ecx
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov esi, eax
jmp 0x100a0a15
mov edx, dword [0x10106c69]
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
mov byte [esp + 0x24c], 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebx
call fcn.1009f110
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
je 0x100a09ee
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x13c]
push ecx
push edx
mov ecx, ebp
call fcn.1009f220
push str.SoftwareMicrosoftProtected_Storage_System_Provider_
lea ecx, [esp + 0x14]
call fcn.100b58b9
lea eax, [esp + 0x13c]
lea ecx, [esp + 0x10]
push eax
call fcn.100b59be
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call fcn.100b5869
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
push eax
push closesocket
mov ecx, ebp
call fcn.1009f4c0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x24]
push ecx
push edx
push eax
mov ecx, ebp
call fcn.1009f2f0
test eax, eax
je 0x100a09ad
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push ebx
push ecx
push edx
push closesocket
mov ecx, ebp
call fcn.1009efd0
push str.Data
lea ecx, [esp + 0x14]
call fcn.100b59be
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x24]
push ebx
push eax
push ecx
push closesocket
mov ecx, ebp
call fcn.1009efd0
push str.e161255a_37c3_11d2_bcaa_00c04fd929db
lea ecx, [esp + 0x14]
call fcn.100b59be
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x24]
push 1
push edx
push eax
push closesocket
mov ecx, ebp
call fcn.1009efd0
mov ecx, dword [esp + 0x10]
push ecx
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov esi, eax
jmp 0x100a09b1
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x100a09c4
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call edi
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x100a09f2
mov edx, dword [esp + 0x1c]
push ebx
push eax
push edx
push closesocket
mov ecx, ebp
call fcn.1009efd0
mov eax, dword [esp + 0x18]
push eax
call fcn.100b54e6
add esp, 4
jmp 0x100a09f2
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x100a0a05
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x248], bl
call fcn.100b577c
xor ecx, ecx
cmp esi, ebx
sete cl
mov ebx, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x248], 0xffffffff
call fcn.100b577c
jmp case.default.0x100a0800
push str.SoftwareMicrosoftInternet_ExplorerIntelliForms
jmp 0x100a0aa1
push ebx
lea edx, [esp + 0x3c]
push 6
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je case.default.0x100a0800
push ebx
lea eax, [esp + 0x3c]
push ebx
push eax
jmp 0x100a0c26
push str.SoftwareMicrosoftRAS_AutodialAddresses
jmp 0x100a0aa1
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerRunMRU
jmp 0x100a0aa1
push ebx
lea ecx, [esp + 0x3c]
push 8
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je case.default.0x100a0800
push ebx
lea edx, [esp + 0x3c]
push ebx
push edx
mov ecx, ebp
call fcn.1009ec80
test eax, eax
je case.default.0x100a0800
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerRecentDocs
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
jmp case.default.0x100a0800
push ebx
lea eax, [esp + 0x3c]
push 0x13
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je case.default.0x100a0800
push ebx
lea ecx, [esp + 0x3c]
push ebx
push ecx
jmp 0x100a0c26
mov edx, dword [0x10106c69]
mov dword [esp + 0x14], edx
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
mov dword [esp + 0x248], 2
mov esi, 1
push esi
lea eax, [esp + 0x18]
push str.Machine_d
push eax
call fcn.100b497e
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
push str.SoftwareMicrosoftTelnet
push closesocket
call edi
push esi
lea edx, [esp + 0x18]
push str.Service_d
push edx
call fcn.100b497e
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
push str.SoftwareMicrosoftTelnet
push closesocket
call edi
push esi
lea ecx, [esp + 0x18]
push str.TermType_d
push ecx
call fcn.100b497e
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
push str.SoftwareMicrosoftTelnet
push closesocket
call edi
inc esi
cmp esi, 8
jle 0x100a0afb
push str.LastMachine
push str.SoftwareMicrosoftTelnet
push closesocket
call edi
push str.LastService
push str.SoftwareMicrosoftTelnet
push closesocket
call edi
push str.LastTermType
push str.SoftwareMicrosoftTelnet
push closesocket
call edi
lea ecx, [esp + 0x14]
mov ebx, 1
mov dword [esp + 0x248], 0xffffffff
call fcn.100b577c
jmp case.default.0x100a0800
lea eax, [esp + 0x38]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.History
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x38]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 1
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
lea eax, [esp + 0x40]
rep movsb byte es:[edi], byte [esi]
push eax
mov ecx, ebp
call fcn.1009ec80
push 0
lea ecx, [esp + 0x3c]
push 0x22
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je case.default.0x100a0800
push 1
lea edx, [esp + 0x3c]
push 0
push edx
mov ecx, ebp
call fcn.1009ec80
mov ebx, eax
mov ecx, dword [esp + 0x240]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x23c
ret 4