Function at 0x46ebb0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x4e5450
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x512054]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov dword [esp + 0x24], 4
mov eax, dword [0x5195ac]
mov edx, dword [eax + 0xc]
mov ecx, 0x5195ac
xor esi, esi
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x24], 5
mov edx, dword [esp + 0x2c]
mov eax, dword [edx - 8]
mov ebx, 1
mov ecx, ebx
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x46ec27
mov ecx, 0x104
lea eax, [esp + 0x2c]
call fcn.00406d30
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004ca0b4
add esp, 8
test eax, eax
jl 0x46eef0
mov ecx, dword [esp + 0x2c]
cmp eax, dword [ecx - 8]
jg 0x46eef0
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0x2c]
xor ecx, ecx
mov word [edx + eax*2], cx
lea eax, [esp + 0x2c]
lea edi, [esp + 0x14]
call fcn.00405e00
push ebx
push 0x4f66b8
mov eax, edi
push eax
call fcn.00415640
mov eax, dword [esp + 0x30]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
push ecx
call fcn.00415640
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
lea edx, [esp + 0x10]
push edx
push 0x4ee7f8
push ebx
push 0
push 0x4ee8a8
mov byte [esp + 0x38], 7
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x46ecdc
mov byte [esp + 0x24], 6
mov eax, dword [esp + 0x18]
test eax, eax
je 0x46ede6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x46ede6
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x4ee8b8
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x46ecbe
mov eax, dword [esp + 0x38]
cmp dword [eax - 4], ebx
mov esi, dword [esp + 0x10]
jle 0x46ed14
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00406c80
mov eax, dword [esp + 0x38]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x50]
push esi
call eax
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x40]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
mov eax, dword [esp + 0x38]
cmp dword [eax - 4], ebx
jle 0x46ed4e
mov ecx, dword [eax - 0xc]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.00406c80
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [esp + 0x38]
cmp dword [eax - 4], ebx
mov esi, dword [esp + 0x10]
jle 0x46ed74
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00406c80
mov eax, dword [esp + 0x38]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x24]
push esi
call eax
mov eax, dword [esp + 0x34]
cmp dword [eax - 4], ebx
mov esi, dword [esp + 0x10]
jle 0x46ed9c
mov ecx, dword [eax - 0xc]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.00406c80
mov eax, dword [esp + 0x34]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x2c]
push eax
push esi
call edx
mov eax, dword [esp + 0x14]
cmp dword [eax - 4], ebx
mov esi, dword [esp + 0x18]
jle 0x46edc0
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00406c80
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
mov ecx, dword [edx + 0x18]
push 0
push eax
push esi
call ecx
mov byte [esp + 0x24], 6
mov eax, dword [esp + 0x18]
mov esi, ebx
test eax, eax
je 0x46ede6
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0x24], 5
mov eax, dword [esp + 0x10]
test eax, eax
je 0x46edfb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x24], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46ee20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x24], 3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46ee45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x24], 2
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46ee6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46ee8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46eeb3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46eedb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
push 0x80070057
call fcn.00406e60
int3