Function at 0x4808c0
Capabilities:
Get common file path
Persist via winlogon helper dll registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc11c
call sub.ntdll.dll__chkstk
push edi
mov dword [ebp - 0xc11c], ecx
lea ecx, [ebp + 0xc]
call fcn.00417430
mov eax, dword [eax + 0x108]
mov ecx, dword [eax + 4]
cmp dword [ecx + 0x10], 5
jne 0x48090c
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc11c]
call fcn.0047f1d0
test eax, eax
je 0x48090c
mov eax, 1
jmp 0x480e08
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0
je 0x4809cb
mov byte [ebp - 0x10c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
lea ecx, [ebp + eax - 0x10c]
mov dword [ebp - 0x110], ecx
push str.userinit.exe_
mov edx, 0x104
sub edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x110]
push eax
call fcn.004154e0
push 0x539c30
push SysStringLen
call fcn.0043dbef
mov ecx, eax
call fcn.004408e5
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.0043dbef
mov ecx, eax
call fcn.0043e347
push 0x104
lea ecx, [ebp - 0x10c]
push ecx
push 1
push str.Userinit
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
push SysStringLen
call fcn.0043ae50
mov ecx, eax
call fcn.0043b26e
jmp 0x480e03
lea ecx, [ebp + 0xc]
call fcn.00417430
push eax
call fcn.0042ae0a
add esp, 4
test eax, eax
je 0x480e03
lea ecx, [ebp + 0xc]
call fcn.00417430
mov edx, dword [eax + 0x108]
push edx
mov ecx, dword [ebp - 0xc11c]
call fcn.004815ac
mov byte [ebp - 0x2110], 0
mov ecx, 0x7ff
xor eax, eax
lea edi, [ebp - 0x210f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x473
push str.Del_registry___d__n
call fcn.00401ab0
add esp, 8
lea ecx, [ebp + 0xc]
call fcn.00417430
push eax
push str.m_szFile___s_n
call fcn.00401ab0
add esp, 8
lea ecx, [ebp + 0xc]
call fcn.00417430
mov eax, dword [eax + 0x104]
push eax
push str.dwDangerLevel___d_n
call fcn.00401ab0
add esp, 8
mov ecx, dword [ebp + 0x10]
call fcn.00481740
test eax, eax
je 0x480ae2
mov byte [ebp - 0x4110], 0
mov ecx, 0x7ff
xor eax, eax
lea edi, [ebp - 0x410f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0
push 0
push 0x2000
lea ecx, [ebp - 0x4110]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00481740
push eax
call dword [sym.imp.ntdll.dll_wcslen]
add esp, 4
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00481740
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea edx, [ebp - 0x4110]
push edx
push str.Reg_path_is__s_n
call fcn.00401ab0
add esp, 8
lea eax, [ebp - 0x4110]
push eax
push 0x2000
lea ecx, [ebp - 0x2110]
push ecx
call fcn.00408090
mov ecx, dword [ebp + 0x10]
call fcn.00481860
test eax, eax
je 0x480b99
mov byte [ebp - 0x6110], 0
mov ecx, 0x7ff
xor eax, eax
lea edi, [ebp - 0x610f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0
push 0
push 0x2000
lea edx, [ebp - 0x6110]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.00481860
push eax
call dword [sym.imp.ntdll.dll_wcslen]
add esp, 4
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00481860
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x6110]
push eax
push str.Reg_name_is__s_n
call fcn.00401ab0
add esp, 8
push 0x55a55c
lea ecx, [ebp - 0x2110]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x480b81
push 0x539d04
push 0x2000
lea edx, [ebp - 0x2110]
push edx
call fcn.00408090
lea eax, [ebp - 0x6110]
push eax
push 0x2000
lea ecx, [ebp - 0x2110]
push ecx
call fcn.00408090
mov ecx, dword [ebp + 0x10]
call fcn.004818d0
test eax, eax
je 0x480c08
mov byte [ebp - 0x8110], 0
mov ecx, 0x7ff
xor eax, eax
lea edi, [ebp - 0x810f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0
push 0
push 0x2000
lea edx, [ebp - 0x8110]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.004818d0
push eax
call dword [sym.imp.ntdll.dll_wcslen]
add esp, 4
push eax
mov ecx, dword [ebp + 0x10]
call fcn.004818d0
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x8110]
push eax
push str.Value__is__s_n
call fcn.00401ab0
add esp, 8
mov ecx, dword [ebp + 0x10]
call fcn.00432050
test eax, eax
je 0x480c77
mov byte [ebp - 0xa110], 0
mov ecx, 0x7ff
xor eax, eax
lea edi, [ebp - 0xa10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0
push 0
push 0x2000
lea ecx, [ebp - 0xa110]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00432050
push eax
call dword [sym.imp.ntdll.dll_wcslen]
add esp, 4
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00432050
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea edx, [ebp - 0xa110]
push edx
push str.File_is__s_n
call fcn.00401ab0
add esp, 8
mov ecx, dword [ebp + 0x10]
call fcn.004818a0
test eax, eax
je 0x480ce6
mov byte [ebp - 0xc110], 0
mov ecx, 0x7ff
xor eax, eax
lea edi, [ebp - 0xc10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0
push 0
push 0x2000
lea eax, [ebp - 0xc110]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.004818a0
push eax
call dword [sym.imp.ntdll.dll_wcslen]
add esp, 4
push eax
mov ecx, dword [ebp + 0x10]
call fcn.004818a0
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [ebp - 0xc110]
push ecx
push str.path__is__s_n
call fcn.00401ab0
add esp, 8
lea ecx, [ebp + 0xc]
call fcn.00417430
mov edx, dword [eax + 0x108]
mov eax, dword [edx]
push eax
push str.strFile___s_n
call fcn.00401ab0
add esp, 8
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0xc], 0x19
jne 0x480d25
push 0x539d48
push 0x104
lea edx, [ebp - 0x2110]
push edx
call fcn.004154e0
jmp 0x480d44
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0xc], 0x18
jne 0x480d44
push 0x539d5c
push 0x104
lea ecx, [ebp - 0x2110]
push ecx
call fcn.004154e0
lea ecx, [ebp + 0xc]
call fcn.00417430
cmp dword [eax + 0x104], 7
je 0x480dca
cmp dword [ebp - 4], 0
je 0x480dca
mov edx, dword [ebp - 4]
add edx, 0x3d4
mov dword [ebp - 0xc118], edx
mov ecx, dword [ebp - 0xc118]
call fcn.00402bc0
mov dword [ebp - 0xc114], eax
lea eax, [ebp - 0x2110]
push eax
mov ecx, dword [ebp - 0xc114]
push ecx
mov ecx, dword [ebp - 0xc118]
call fcn.00402de0
lea ecx, [ebp + 0xc]
call fcn.00417430
push eax
push 1
mov edx, dword [ebp - 0xc114]
push edx
mov ecx, dword [ebp - 0xc118]
call fcn.00402be0
push 0x539d70
push 2
mov eax, dword [ebp - 0xc114]
push eax
mov ecx, dword [ebp - 0xc118]
call fcn.00402be0
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0xc11c]
call fcn.00481682
test eax, eax
je 0x480de8
mov eax, 1
jmp 0x480e08
lea ecx, [ebp + 0xc]
call fcn.00417430
mov eax, dword [eax + 0x108]
push eax
call fcn.00431fc6
mov ecx, eax
call fcn.0043136d
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret 0x14