Function at 0x4b1170
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53a688
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x228], ebx
push 0
mov dword [ebp - 0x224], 0
push dword [0x596a1c]
mov edx, dword [0x58e014]
mov esi, dword [0x58e00c]
sub edx, esi
mov eax, dword [0x58e010]
mov ecx, dword [0x58e008]
sub eax, ecx
push 0
push dword [ebx + 4]
push edx
push eax
push esi
push ecx
push 0x5600904d
push 0
push str.SysListView32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x10424
mov dword [ebx + 0x60], eax
push 0
mov dword [ebx + 0x2c], eax
inc dword [0x5969fc]
push 0x1036
push dword [ebx + 0x60]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x5968fc], 0
jne 0x4b1538
mov edi, dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 8
push 0x10
push 0x21
push 0x10
push 0x10
call edi
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push 0
mov dword [0x5968fc], eax
call esi
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push eax
push 0xffffffffffffffff
push dword [0x5968fc]
call ebx
push 8
push 0x10
push 0x21
push 0x20
push 0x20
call edi
push 0x7f00
push 0
mov dword [0x596900], eax
call esi
push eax
push 0xffffffffffffffff
push dword [0x596900]
call ebx
push 0x104
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
call fcn.00410080
mov ecx, eax
test ecx, ecx
je 0x4b169c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040c680
test al, al
jne 0x4b1302
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b12e0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040d3a0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x21c]
push 0xd
push 0x544fa0
call fcn.0041ac00
mov esi, dword [ebp - 0x21c]
cmp dword [esi - 4], 1
jle 0x4b133b
push dword [esi - 0xc]
lea ecx, [ebp - 0x21c]
call fcn.0040d4e0
mov esi, dword [ebp - 0x21c]
mov edi, dword [sym.imp.SHELL32.dll_ExtractAssociatedIconW]
lea eax, [ebp - 0x220]
push eax
push esi
push dword [0x596a1c]
call edi
push eax
push 0xffffffffffffffff
push dword [0x5968fc]
call ebx
mov dword [ebp - 0x220], 0
cmp dword [esi - 4], 1
jle 0x4b1380
push dword [esi - 0xc]
lea ecx, [ebp - 0x21c]
call fcn.0040d4e0
mov esi, dword [ebp - 0x21c]
lea eax, [ebp - 0x220]
push eax
push esi
push dword [0x596a1c]
call edi
push eax
push 0xffffffffffffffff
push dword [0x596900]
call ebx
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b13a4
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040d3a0
push 0x11
push str.drivers_acpi.sys
lea ecx, [ebp - 0x21c]
call fcn.0041ac00
mov esi, dword [ebp - 0x21c]
mov dword [ebp - 0x220], 0
cmp dword [esi - 4], 1
jle 0x4b1402
push dword [esi - 0xc]
lea ecx, [ebp - 0x21c]
call fcn.0040d4e0
mov esi, dword [ebp - 0x21c]
lea eax, [ebp - 0x220]
push eax
push esi
push dword [0x596a1c]
call edi
push eax
push 0xffffffffffffffff
push dword [0x5968fc]
call ebx
mov dword [ebp - 0x220], 0
cmp dword [esi - 4], 1
jle 0x4b1441
push dword [esi - 0xc]
lea ecx, [ebp - 0x21c]
call fcn.0040d4e0
mov esi, dword [ebp - 0x21c]
lea eax, [ebp - 0x220]
push eax
push esi
push dword [0x596a1c]
call edi
push eax
push 0xffffffffffffffff
push dword [0x596900]
call ebx
push 0
push 4
call fcn.0044c170
add esp, 8
push eax
push 0xffffffffffffffff
push dword [0x5968fc]
call ebx
push 1
push 4
call fcn.0044c170
add esp, 8
push eax
push 0xffffffffffffffff
push dword [0x596900]
call ebx
mov dword [ebp - 0x230], 0x96
lea ebx, [ebp - 0x230]
mov dword [ebp - 0x22c], 0x92
mov edi, dword [ebx]
push 0x64
push 0x10
push edi
call fcn.004ac550
add esp, 0xc
push eax
push 0xffffffffffffffff
push dword [0x5968fc]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push 0x64
push 0x20
push edi
call fcn.004ac550
add esp, 0xc
push eax
push 0xffffffffffffffff
push dword [0x596900]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
add ebx, 4
lea eax, [ebp - 0x228]
cmp ebx, eax
jne 0x4b14a4
call fcn.004829a0
push 0
push dword [0x5968fc]
mov ecx, eax
call fcn.00482ea0
call fcn.004829a0
push 1
push dword [0x596900]
mov ecx, eax
call fcn.00482ea0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4b1532
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x228]
mov eax, dword [0x5968fc]
mov dword [ebp - 4], 3
push eax
push 1
push 0x1003
push dword [ebx + 0x60]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x228], eax
mov eax, 1
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x224], eax
and eax, 0xfffffffe
mov dword [ebp - 0x224], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x38]
push dword [ebx + 0x60]
call fcn.004affb0
push 1
push 0
push 0x190
mov esi, eax
push 0
push str.Autoruns_Entry
mov ecx, esi
call fcn.004aca70
push 1
push 0
push 0xf0
push 0
push str.Description
mov ecx, esi
call fcn.004aca70
push 1
push 0
push 0xc8
push 0
push str.Publisher
mov ecx, esi
call fcn.004aca70
push 1
push 0
push 0x190
push 0
push str.Image_Path
mov ecx, esi
call fcn.004aca70
push 1
push 0
push 0x96
push 0
push str.Timestamp
mov ecx, esi
call fcn.004aca70
push 1
push 0
push 0x78
push 0
push str.Virus_Total
mov ecx, esi
call fcn.004aca70
mov ecx, esi
call fcn.0044b5e0
mov ecx, dword [ebx + 0x68]
mov eax, dword [ecx]
call dword [eax + 8]
push 2
push 0xffffffffffffffff
push 0x100c
push dword [ebx + 0x60]
mov edi, eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, eax
push 1
test ecx, ecx
jns 0x4b1648
mov ecx, edi
call fcn.00480ff0
jmp 0x4b1675
mov eax, dword [ebx + 0x78]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebx + 0x6c]
mov esi, dword [eax + ecx*8]
push esi
call fcn.004b02a0
add esp, 8
push 0
push eax
push dword [0x596900]
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
push eax
push esi
mov ecx, edi
call fcn.00481060
mov ecx, ebx
call fcn.004b42d0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.0040fbc0
int3