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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e578
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4c21d0]
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 0x433a89
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push eax
call edi
cmp eax, 0xffffffff
je 0x433960
test al, 0x10
je 0x43398f
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jl 0x433a89
push str.http:__
push eax
call fcn.0046d574
add esp, 8
test eax, eax
je 0x433a89
sub eax, dword [ebx]
sar eax, 1
cmp eax, 0xffffffff
je 0x433a89
lea eax, [ebp - 0x1c]
push esi
push eax
mov ebx, 0x4a36e4
call fcn.004065a0
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x18]
xor esi, esi
push edx
mov ebx, eax
mov dword [ebp - 4], esi
call fcn.00407700
push eax
lea eax, [ebp - 0x10]
push eax
mov ebx, 0x4a6614
mov byte [ebp - 4], 1
call fcn.004065a0
add esp, 0x18
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4339ed
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 - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433a0f
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, ebx
je 0x433a27
test al, 0x10
jne 0x433a27
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 0xc]
push eax
push 0x49e0ac
push 1
push esi
push 0x49e0dc
mov dword [ebp + 0xc], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x433a6a
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x49e0cc
push eax
mov eax, dword [ecx]
call eax
test eax, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
jns 0x433a9f
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x433a89
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 0x433afb
test al, 0x10
jne 0x433afb
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 ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x50]
push ecx
call eax
test eax, eax
jns 0x433b2e
lea ecx, [ebp - 0x10]
call fcn.004015e0
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.004015e0
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