Function at 0x4764c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1678
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4e54fc]
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 [0x4fc9bc]
mov esi, dword [0x4e500c]
mov ecx, dword [0x4e5014]
mov edx, dword [0x4e5008]
sub ecx, esi
mov eax, dword [0x4e5010]
push 0
push dword [ebx + 4]
sub eax, edx
push ecx
push eax
push esi
push edx
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 [0x4fc99c]
push 0x1036
push dword [ebx + 0x60]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x4fc89c], 0
jne 0x476888
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 [0x4fc89c], eax
call esi
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push eax
push 0xffffffffffffffff
push dword [0x4fc89c]
call ebx
push 8
push 0x10
push 0x21
push 0x20
push 0x20
call edi
push 0x7f00
push 0
mov dword [0x4fc8a0], eax
call esi
push eax
push 0xffffffffffffffff
push dword [0x4fc8a0]
call ebx
push 0x104
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
call fcn.00406d20
mov ecx, eax
test ecx, ecx
je 0x4769ec
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.004051b0
test al, al
jne 0x476652
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x476630
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.004056b0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x21c]
push 0xd
push str.kernel32.dll
call fcn.0040ecc0
mov esi, dword [ebp - 0x21c]
cmp dword [esi - 4], 1
jle 0x47668b
push dword [esi - 0xc]
lea ecx, [ebp - 0x21c]
call fcn.00405810
mov esi, dword [ebp - 0x21c]
mov edi, dword [sym.imp.SHELL32.dll_ExtractAssociatedIconW]
lea eax, [ebp - 0x220]
push eax
push esi
push dword [0x4fc9bc]
call edi
push eax
push 0xffffffffffffffff
push dword [0x4fc89c]
call ebx
mov dword [ebp - 0x220], 0
cmp dword [esi - 4], 1
jle 0x4766d0
push dword [esi - 0xc]
lea ecx, [ebp - 0x21c]
call fcn.00405810
mov esi, dword [ebp - 0x21c]
lea eax, [ebp - 0x220]
push eax
push esi
push dword [0x4fc9bc]
call edi
push eax
push 0xffffffffffffffff
push dword [0x4fc8a0]
call ebx
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4766f4
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.004056b0
push 0x11
push str.drivers_acpi.sys
lea ecx, [ebp - 0x21c]
call fcn.0040ecc0
mov esi, dword [ebp - 0x21c]
mov dword [ebp - 0x220], 0
cmp dword [esi - 4], 1
jle 0x476752
push dword [esi - 0xc]
lea ecx, [ebp - 0x21c]
call fcn.00405810
mov esi, dword [ebp - 0x21c]
lea eax, [ebp - 0x220]
push eax
push esi
push dword [0x4fc9bc]
call edi
push eax
push 0xffffffffffffffff
push dword [0x4fc89c]
call ebx
mov dword [ebp - 0x220], 0
cmp dword [esi - 4], 1
jle 0x476791
push dword [esi - 0xc]
lea ecx, [ebp - 0x21c]
call fcn.00405810
mov esi, dword [ebp - 0x21c]
lea eax, [ebp - 0x220]
push eax
push esi
push dword [0x4fc9bc]
call edi
push eax
push 0xffffffffffffffff
push dword [0x4fc8a0]
call ebx
push 0
push 4
call fcn.0042e120
add esp, 8
push eax
push 0xffffffffffffffff
push dword [0x4fc89c]
call ebx
push 1
push 4
call fcn.0042e120
add esp, 8
push eax
push 0xffffffffffffffff
push dword [0x4fc8a0]
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.00471f70
add esp, 0xc
push eax
push 0xffffffffffffffff
push dword [0x4fc89c]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push 0x64
push 0x20
push edi
call fcn.00471f70
add esp, 0xc
push eax
push 0xffffffffffffffff
push dword [0x4fc8a0]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
add ebx, 4
lea eax, [ebp - 0x228]
cmp ebx, eax
jne 0x4767f4
call fcn.0044d670
push 0
push dword [0x4fc89c]
mov ecx, eax
call fcn.0044db10
call fcn.0044d670
push 1
push dword [0x4fc8a0]
mov ecx, eax
call fcn.0044db10
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x476882
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x228]
mov eax, dword [0x4fc89c]
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.00475690
push 1
push 0
push 0x190
mov esi, eax
push 0
push str.Autoruns_Entry
mov ecx, esi
call fcn.00472480
push 1
push 0
push 0xf0
push 0
push str.Description
mov ecx, esi
call fcn.00472480
push 1
push 0
push 0xc8
push 0
push str.Publisher
mov ecx, esi
call fcn.00472480
push 1
push 0
push 0x190
push 0
push str.Image_Path
mov ecx, esi
call fcn.00472480
push 1
push 0
push 0x96
push 0
push str.Timestamp
mov ecx, esi
call fcn.00472480
push 1
push 0
push 0x78
push 0
push str.Virus_Total
mov ecx, esi
call fcn.00472480
mov ecx, esi
call fcn.0042ddc0
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 0x476998
mov ecx, edi
call fcn.0044bb20
jmp 0x4769c5
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.00475940
add esp, 8
push 0
push eax
push dword [0x4fc8a0]
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
push eax
push esi
mov ecx, edi
call fcn.0044bb80
mov ecx, ebx
call fcn.004797f0
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.0047df69
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00406ac0
int3