Function at 0x422d80
Capabilities:
Check if file exists
Create shortcut via ishelllink
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a168
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4bc704]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call edi
cmp eax, 0xffffffff
je 0x422eda
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push eax
call edi
cmp eax, 0xffffffff
je 0x422dd0
test al, 0x10
je 0x422dff
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jl 0x422eda
push str.http:__
push eax
call fcn.00469445
add esp, 8
test eax, eax
je 0x422eda
sub eax, dword [ebx]
sar eax, 1
cmp eax, 0xffffffff
je 0x422eda
push 0x49f46c
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00409300
mov ecx, dword [ebp + 0x10]
push ecx
push eax
lea edx, [ebp + 8]
push edx
mov dword [ebp - 4], 0
call fcn.0040a4b0
push str..lnk
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.00409300
add esp, 0x24
mov byte [ebp - 4], 3
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
or esi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422e5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422e80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call edi
cmp eax, esi
je 0x422e98
test al, 0x10
jne 0x422e98
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp + 0xc]
push ecx
push 0x498a2c
xor eax, eax
push 1
push eax
push 0x498a3c
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x422ef0
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], esi
dec esi
test esi, esi
jg 0x422eda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x498a5c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
jns 0x422f47
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x422eda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov edx, dword [ebp + 0x14]
mov edx, dword [edx]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x20]
mov edx, dword [edx]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x28]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
mov esi, dword [ebp + 0x24]
mov eax, dword [esi]
push eax
call edi
cmp eax, 0xffffffff
je 0x422fa3
test al, 0x10
jne 0x422fa3
mov eax, dword [ebp + 0xc]
mov edx, dword [esi]
mov ecx, dword [eax]
push 0
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
mov eax, dword [ebx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x50]
push ecx
call eax
test eax, eax
jns 0x422fd3
lea ecx, [ebp - 0x10]
call fcn.00404810
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x1c]
mov edx, dword [edx]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x10]
call fcn.00404810
xor eax, eax
test esi, esi
setns al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24