Function at 0x421ec8
Capabilities:
Create process on windows
Get session user name

Disassembly:
push ebp
sub esp, 0x190
lea ebp, [esp - 4]
mov eax, dword [0x4a946c]
xor eax, ebp
mov dword [ebp + 0x190], eax
push 0x44
mov eax, 0x4711f9
call fcn.004550bc
mov edi, ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x3c], edi
call fcn.00435c47
xor esi, esi
lea ecx, [edi + 0xff4]
mov dword [ebp - 4], esi
call fcn.00411f44
cmp eax, esi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x30], esi
jle 0x422710
xor ebx, ebx
inc ebx
mov edi, 0x80000001
mov ecx, dword [ebp - 0x3c]
push esi
push dword [ebp - 0x30]
add ecx, 0xff4
call fcn.0043f53e
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x30]
imul eax, eax, 0x14
mov eax, dword [eax + 0x4a83cc]
add eax, 0xffffd88c
cmp eax, 0x15
ja case.0x421f4e.10104
jmp dword [eax*4 + 0x422760]
push 0x80000002
lea ecx, [ebp - 0x24]
call fcn.00435a09
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.SYSTEMCurrentControlSetControlLsa
call fcn.00401c93
lea ecx, [ebp - 0x24]
call fcn.00436002
cmp eax, esi
je case.0x421f4e.10104
cmp dword [ebp - 0x14], ebx
jne 0x421f8b
push ebx
jmp 0x421f8c
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.RestrictAnonymous
call fcn.00401c93
lea ecx, [ebp - 0x24]
call fcn.00435f37
jmp case.0x421f4e.10104
push 0x80000002
lea ecx, [ebp - 0x24]
call fcn.00435a09
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.SYSTEMCurrentControlSetServicesNetBTParameters
call fcn.00401c93
lea ecx, [ebp - 0x24]
call fcn.00436002
cmp eax, esi
je case.0x421f4e.10104
cmp dword [ebp - 0x14], ebx
jne 0x421fdf
push esi
jmp 0x421fe0
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.SMBDeviceEnabled
jmp 0x421f97
push 0x80000002
lea ecx, [ebp - 0x24]
call fcn.00435a09
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.SYSTEMCurrentControlSetControlSecurePipeServerswinreg
call fcn.00401c93
lea ecx, [ebp - 0x24]
call fcn.00436002
cmp eax, esi
je case.0x421f4e.10104
cmp dword [ebp - 0x14], ebx
jne 0x422023
push ebx
jmp 0x422024
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.RemoteRegAccess
jmp 0x421f97
push 0x80000002
lea ecx, [ebp - 0x24]
call fcn.00435a09
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.SYSTEMCurrentControlSetServiceslanmanserverparameters
call fcn.00401c93
lea ecx, [ebp - 0x24]
call fcn.00436002
cmp eax, esi
je case.0x421f4e.10104
cmp dword [ebp - 0x14], ebx
jne 0x422083
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.AutoShareServer
call fcn.00401c93
lea ecx, [ebp - 0x24]
call fcn.00435f37
push esi
jmp 0x42209d
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.AutoShareServer
call fcn.00401c93
lea ecx, [ebp - 0x24]
call fcn.00435f37
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.AutoShareWks
jmp 0x421f97
push edi
lea ecx, [ebp - 0x24]
call fcn.00435a09
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerAutoComplete
call fcn.00401c93
lea ecx, [ebp - 0x24]
call fcn.00436002
cmp eax, esi
je case.0x421f4e.10104
cmp dword [ebp - 0x14], ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
jne 0x4220f1
push 0x4844c8
call fcn.00401c93
mov byte [ebp - 4], bl
jmp 0x4220ff
push 0x4844d8
call fcn.00401c93
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.AutoSuggest
call fcn.00401c93
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00435e47
jmp case.0x421f4e.10104
push edi
lea ecx, [ebp - 0x24]
call fcn.00435a09
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.SoftwareMicrosoftInternet_ExplorerMain
call fcn.00401c93
lea ecx, [ebp - 0x24]
call fcn.00436002
cmp eax, esi
je case.0x421f4e.10104
cmp dword [ebp - 0x14], ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
jne 0x422165
push 0x4844c8
call fcn.00401c93
mov byte [ebp - 4], 3
jmp 0x422173
push 0x4844d8
call fcn.00401c93
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.Use_FormSuggest
jmp 0x42210a
push edi
lea ecx, [ebp - 0x24]
call fcn.00435a09
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.SoftwareMicrosoftInternet_ExplorerMain
call fcn.00401c93
lea ecx, [ebp - 0x24]
call fcn.00436002
cmp eax, esi
je case.0x421f4e.10104
cmp dword [ebp - 0x14], ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
jne 0x4221c5
push 0x4844c8
call fcn.00401c93
mov byte [ebp - 4], 5
jmp 0x4221d3
push 0x4844d8
call fcn.00401c93
mov byte [ebp - 4], 6
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.FormSuggest_Passwords
jmp 0x42210a
push 0x80000002
lea ecx, [ebp - 0x24]
call fcn.00435a09
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionpolicies_network
call fcn.00401c93
lea ecx, [ebp - 0x24]
call fcn.00436002
cmp eax, esi
je case.0x421f4e.10104
cmp dword [ebp - 0x14], ebx
jne 0x422219
push ebx
jmp 0x42221a
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.DisablePwdCaching
jmp 0x421f97
push 0x80000002
lea ecx, [ebp - 0x24]
call fcn.00435a09
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.SYSTEMCurrentControlSetControlSession_ManagerMemory_Management
call fcn.00401c93
lea ecx, [ebp - 0x24]
call fcn.00436002
cmp eax, esi
je case.0x421f4e.10104
cmp dword [ebp - 0x14], ebx
jne 0x422260
push ebx
jmp 0x422261
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.ClearPageFileAtShutdown
jmp 0x421f97
push 0x80000002
lea ecx, [ebp - 0x24]
call fcn.00435a09
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionAeDebug
call fcn.00401c93
lea ecx, [ebp - 0x24]
call fcn.00436002
cmp eax, esi
je case.0x421f4e.10104
cmp dword [ebp - 0x14], ebx
jne 0x4222a7
push esi
jmp 0x4222a8
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Auto
jmp 0x421f97
push edi
lea ecx, [ebp - 0x24]
call fcn.00435a09
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
call fcn.00401c93
lea ecx, [ebp - 0x24]
call fcn.00436002
cmp eax, esi
je case.0x421f4e.10104
cmp dword [ebp - 0x14], ebx
jne 0x4222ea
push ebx
jmp 0x4222eb
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.DisableThumbnailCache
jmp 0x421f97
push edi
lea ecx, [ebp - 0x24]
call fcn.00435a09
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
call fcn.00401c93
lea ecx, [ebp - 0x24]
call fcn.00436002
cmp eax, esi
je case.0x421f4e.10104
cmp dword [ebp - 0x14], ebx
jne 0x42232d
push ebx
jmp 0x42232e
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.NoRecentDocsHistory
jmp 0x421f97
push edi
lea ecx, [ebp - 0x24]
call fcn.00435a09
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesComDlg32
call fcn.00401c93
lea ecx, [ebp - 0x24]
call fcn.00436002
cmp eax, esi
je case.0x421f4e.10104
cmp dword [ebp - 0x14], ebx
jne 0x422370
push ebx
jmp 0x422371
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.NoFileMru
jmp 0x421f97
push 0x80000002
lea ecx, [ebp - 0x24]
call fcn.00435a09
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.SYSTEMCurrentControlSetControlFileSystem
call fcn.00401c93
lea ecx, [ebp - 0x24]
call fcn.00436002
cmp eax, esi
je case.0x421f4e.10104
cmp dword [ebp - 0x14], ebx
jne 0x4223b7
push ebx
jmp 0x4223b8
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.NtfsDisableLastAccessUpdate
jmp 0x421f97
push 0x80000002
lea ecx, [ebp - 0x24]
call fcn.00435a09
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.SYSTEMCurrentControlSetControlCrashControl
call fcn.00401c93
lea ecx, [ebp - 0x24]
call fcn.00436002
cmp eax, esi
je 0x422414
cmp dword [ebp - 0x14], ebx
jne 0x4223fa
push esi
jmp 0x4223fc
push 2
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.CrashDumpEnabled
call fcn.00401c93
lea ecx, [ebp - 0x24]
call fcn.00435f37
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.SYSTEMControlSet001ControlCrashControl
call fcn.00401c93
lea ecx, [ebp - 0x24]
call fcn.00436002
cmp eax, esi
je case.0x421f4e.10104
cmp dword [ebp - 0x14], ebx
jne 0x42243d
push esi
jmp 0x42243f
push 2
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.CrashDumpEnabled
jmp 0x421f97
push edi
lea ecx, [ebp - 0x24]
call fcn.00435a09
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
call fcn.00401c93
lea ecx, [ebp - 0x24]
call fcn.00436002
cmp eax, esi
je case.0x421f4e.10104
cmp dword [ebp - 0x14], ebx
jne 0x422485
push 0xff
jmp 0x42248a
push 0x91
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.NoDriveTypeAutoRun
jmp 0x421f97
call fcn.00442144
push eax
lea ecx, [ebp - 0x38]
call fcn.0040132d
mov eax, dword [0x4bbdf4]
push dword [eax]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00401c93
push 0x5c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.00406f03
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401f15
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.0040170c
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
mov byte [ebp - 4], 8
call fcn.004010af
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp + 0xc8]
push eax
mov dword [ebp - 0x4c], 0xc8
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x422521
lea eax, [ebp + 0xc8]
push str.Administrator
push eax
call fcn.00457460
pop ecx
pop ecx
cmp dword [ebp - 0x14], ebx
lea eax, [ebp + 0xc8]
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x38]
jne 0x42253a
push str._s_subinacl.exe__subkeyreg_HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerMountPoints2__deny_s
jmp 0x42253f
push str._s_subinacl.exe__subkeyreg_HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerMountPoints2__Grant_s
push eax
call fcn.004023ec
add esp, 0x10
push esi
mov esi, dword [ebp - 0x38]
push esi
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004010af
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.004010af
xor esi, esi
jmp case.0x421f4e.10104
push edi
lea ecx, [ebp - 0x24]
call fcn.00435a09
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
call fcn.00401c93
lea ecx, [ebp - 0x24]
call fcn.00436002
cmp eax, esi
je case.0x421f4e.10104
call fcn.00442144
push eax
lea ecx, [ebp - 0x34]
call fcn.0040132d
mov eax, dword [0x4bbdf4]
push dword [eax]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.00401c93
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp]
push eax
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x44], 0xc8
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x4225f4
lea eax, [ebp]
push str.Administrator
push eax
call fcn.00457460
pop ecx
pop ecx
push 0x5c
lea ecx, [ebp - 0x2c]
call fcn.00406f03
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401f15
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call fcn.0040170c
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xb
call fcn.004010af
cmp dword [ebp - 0x14], ebx
jne 0x4226a9
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.NoAutoTrayNotify
call fcn.00401c93
lea ecx, [ebp - 0x24]
call fcn.00435f37
push edi
lea ecx, [ebp - 0x24]
call fcn.00435a09
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerTrayNotify
call fcn.00401c93
lea ecx, [ebp - 0x24]
call fcn.00436002
cmp eax, esi
je 0x42269b
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.IconStreams
call fcn.00401c93
lea ecx, [ebp - 0x24]
call fcn.00435c7b
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.PastIconsStream
call fcn.00401c93
lea ecx, [ebp - 0x24]
call fcn.00435c7b
lea eax, [ebp]
push eax
push dword [ebp - 0x2c]
push str._s_subinacl.exe__subkeyreg_HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerTrayNotify__deny_sS
jmp 0x4226ce
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.NoAutoTrayNotify
call fcn.00401c93
lea ecx, [ebp - 0x24]
call fcn.00435f37
lea eax, [ebp]
push eax
push dword [ebp - 0x2c]
push str._s_subinacl.exe__subkeyreg_HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerTrayNotify__Grant_sS
lea eax, [ebp - 0x34]
push eax
call fcn.004023ec
add esp, 0x10
push esi
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004010af
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.004010af
inc dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x50]
jl 0x421f1f
mov edi, dword [ebp - 0x3c]
lea eax, [edi + 0xff4]
push eax
lea ecx, [edi + 0xf6c]
call fcn.00418a06
push esi
push esi
push 0x47f174
call fcn.0044bffc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00435c67
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
call fcn.004550ad
add ebp, 0x194
leave
ret