Function at 0x4d8490
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x695b3b
mov eax, dword fs:[0]
push eax
mov eax, 0x1064
call fcn.00635b70
mov eax, dword [0x729140]
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 esi, ecx
test esi, esi
je 0x4d89c1
xor eax, eax
mov word [esi], ax
mov dword [esi + 0x20c], eax
mov dword [esi + 0x208], eax
mov word [esi + 0x210], ax
mov dword [esi + 0x41c], eax
mov dword [esi + 0x418], eax
mov word [esi + 0x420], ax
push 0x410
push eax
mov dword [esi + 0x62c], eax
mov dword [esi + 0x628], eax
lea eax, [ebp - 0x830]
push eax
call fcn.0064d010
add esp, 0xc
lea eax, [ebp - 0xc40]
push 0x410
push 0
push eax
call fcn.0064d010
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x410
push 0
push eax
call fcn.0064d010
xor eax, eax
mov dword [ebp - 0x1054], 0x207
add esp, 0xc
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x1054]
mov edx, str.SOFTWARE2345Explorer
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
push eax
lea eax, [ebp - 0x830]
push eax
push str.Path
call fcn.004d8200
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 0xc
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, al
je 0x4d85b6
push 0x6d24c0
lea eax, [ebp - 0x830]
push eax
call edi
push 0x6c29fc
lea eax, [ebp - 0x830]
push eax
call edi
lea eax, [ebp - 0x830]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x4d85bf
xor eax, eax
mov word [ebp - 0x830], ax
xor eax, eax
mov dword [ebp - 0x1054], 0x207
mov word [ebp - 0xc40], ax
mov edx, str.SOFTWARE2345chrome
lea eax, [ebp - 0x1054]
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
push eax
lea eax, [ebp - 0xc40]
push eax
push str.Path
call fcn.004d8200
add esp, 0xc
test al, al
je 0x4d8625
push 0x6d24c0
lea eax, [ebp - 0xc40]
push eax
call edi
push str.2345chrome.exe
lea eax, [ebp - 0xc40]
push eax
call edi
lea eax, [ebp - 0xc40]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x4d862e
xor eax, eax
mov word [ebp - 0xc40], ax
xor eax, eax
mov dword [ebp - 0x1054], 0x207
mov word [ebp - 0x420], ax
mov edx, str.SOFTWAREQingniaoChrome
lea eax, [ebp - 0x1054]
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
push eax
lea eax, [ebp - 0x420]
push eax
push str.Path
call fcn.004d8200
add esp, 0xc
test al, al
je 0x4d8694
push 0x6d24c0
lea eax, [ebp - 0x420]
push eax
call edi
push 0x6c29a4
lea eax, [ebp - 0x420]
push eax
call edi
lea eax, [ebp - 0x420]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x4d869d
xor eax, eax
mov word [ebp - 0x420], ax
push 0x410
lea eax, [ebp - 0x1050]
push 0
push eax
call fcn.0064d010
add esp, 0xc
lea ecx, [ebp - 0x1050]
xor edi, edi
mov dword [ebp - 0x1054], edi
call fcn.004d8390
test al, al
je 0x4d88f1
push str.Shlwapi.dll
lea ecx, [ebp - 0x106c]
call fcn.00405880
mov dword [ebp - 4], edi
lea eax, [ebp - 0x106c]
push eax
call fcn.004f08f0
mov ecx, eax
call fcn.004f09b0
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x106c]
call fcn.00405870
test ebx, ebx
je 0x4d89c1
push str.StrStrIW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x4d89c1
push 0x6c2960
lea eax, [ebp - 0x1050]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4d885f
push 0x6c29fc
lea eax, [ebp - 0x1050]
push eax
call ebx
test eax, eax
jne 0x4d885f
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea eax, [ebp - 0x1050]
push str.HTML2345CHM
push eax
call edi
test eax, eax
je 0x4d880c
push str.2345chrome.exe
lea eax, [ebp - 0x1050]
push eax
call ebx
test eax, eax
jne 0x4d880c
push str.QingniaoChromeHTML
lea eax, [ebp - 0x1050]
push eax
call edi
test eax, eax
je 0x4d87ff
push 0x6c29a4
lea eax, [ebp - 0x1050]
push eax
call ebx
test eax, eax
jne 0x4d87ff
lea eax, [ebp - 0x1054]
push eax
push 4
push 0
lea eax, [ebp - 0x420]
mov ecx, esi
push eax
call fcn.004d8330
lea eax, [ebp - 0x1054]
mov ecx, esi
push eax
push 2
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.004d8330
lea eax, [ebp - 0x1054]
mov ecx, esi
push eax
push 3
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.004d8330
add esp, 0x30
jmp 0x4d89c1
lea eax, [ebp - 0x1054]
push eax
push 4
push 1
jmp 0x4d87b7
lea eax, [ebp - 0x1054]
mov ecx, esi
push eax
push 3
lea eax, [ebp - 0xc40]
push 1
push eax
call fcn.004d8330
lea eax, [ebp - 0x1054]
mov ecx, esi
push eax
push 4
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004d8330
lea eax, [ebp - 0x1054]
mov ecx, esi
push eax
push 2
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.004d8330
add esp, 0x30
jmp 0x4d89c1
mov ecx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [esi], ax
xor ebx, ebx
cmp word [ebp - 0x830], ax
je 0x4d88a0
lea eax, [ebp - 0x830]
push eax
push esi
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, 1
mov dword [esi + 0x208], 1
mov ebx, edi
mov dword [esi + 0x20c], 2
imul eax, edi, 0x210
xor edx, edx
add eax, esi
mov dword [ebp - 0x1054], eax
mov word [eax], dx
cmp word [ebp - 0x420], dx
je 0x4d897b
lea eax, [ebp - 0x420]
push eax
imul eax, ebx, 0x210
add eax, esi
push eax
call ecx
mov eax, dword [ebp - 0x1054]
mov dword [eax + 0x208], 0
mov dword [eax + 0x20c], 4
jmp 0x4d8976
mov ecx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [esi], ax
xor ebx, ebx
cmp word [ebp - 0x420], ax
je 0x4d892e
lea eax, [ebp - 0x420]
push eax
push esi
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, 1
mov dword [esi + 0x208], ebx
mov ebx, edi
mov dword [esi + 0x20c], 4
imul eax, edi, 0x210
xor edx, edx
add eax, esi
mov dword [ebp - 0x1054], eax
mov word [eax], dx
cmp word [ebp - 0x830], dx
je 0x4d897b
lea eax, [ebp - 0x830]
push eax
imul eax, ebx, 0x210
add eax, esi
push eax
call ecx
mov eax, dword [ebp - 0x1054]
mov dword [eax + 0x208], 0
mov dword [eax + 0x20c], 2
lea edi, [ebx + 1]
mov ebx, edi
cmp ebx, 3
jae 0x4d89c1
imul edi, edi, 0x210
xor eax, eax
mov word [edi + esi], ax
cmp word [ebp - 0xc40], ax
je 0x4d89c1
lea eax, [ebp - 0xc40]
push eax
imul eax, ebx, 0x210
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [edi + esi + 0x208], 0
mov dword [edi + esi + 0x20c], 3
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.00634bf3
mov esp, ebp
pop ebp
ret