Function at 0x489b60
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a98cd
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x4e100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x454], 0
cmp dword [ebp + 8], 0
jne 0x489ba2
xor eax, eax
jmp 0x489ea3
lea eax, [ebp - 0x42c]
push eax
push 0x4bc140
push 1
push 0
push 0x4bc170
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x434], eax
cmp dword [ebp - 0x434], 0
jge 0x489bd3
xor eax, eax
jmp 0x489ea3
lea ecx, [ebp - 0x438]
push ecx
push 0x4bc180
mov edx, dword [ebp - 0x42c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x42c]
push ecx
mov edx, dword [eax]
call edx
mov dword [ebp - 0x434], eax
cmp dword [ebp - 0x434], 0
jge 0x489c1c
mov eax, dword [ebp - 0x42c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x42c]
push edx
mov eax, dword [ecx + 8]
call eax
xor eax, eax
jmp 0x489ea3
cmp dword [ebp + 0x10], 0
jne 0x489c69
push 0x20a
push 0
lea ecx, [ebp - 0x21c]
push ecx
call fcn.004307d0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x42c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x42c]
push eax
mov ecx, dword [edx + 0x50]
call ecx
jmp 0x489c81
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x42c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x42c]
push edx
mov eax, dword [ecx + 0x50]
call eax
cmp dword [ebp + 0x10], 0
jne 0x489ccc
push 0x20a
push 0
lea ecx, [ebp - 0x428]
push ecx
call fcn.004307d0
add esp, 0xc
lea edx, [ebp - 0x428]
push edx
call sym.Install_adv.exe_void___cdecl_GetCurPath_wchar_t__
add esp, 4
lea eax, [ebp - 0x428]
push eax
mov ecx, dword [ebp - 0x42c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x42c]
push eax
mov ecx, dword [edx + 0x24]
call ecx
jmp 0x489d6b
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x430]
call fcn.004093e0
mov dword [ebp - 4], 0
push 0x5c
lea ecx, [ebp - 0x430]
call fcn.00416c90
push eax
lea eax, [ebp - 0x44c]
push eax
lea ecx, [ebp - 0x430]
call fcn.00412440
mov dword [ebp - 0x444], eax
mov ecx, dword [ebp - 0x444]
mov dword [ebp - 0x448], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x448]
push edx
lea ecx, [ebp - 0x430]
call fcn.00409350
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44c]
call fcn.004093c0
lea ecx, [ebp - 0x430]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov eax, dword [ebp - 0x42c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x42c]
push edx
mov eax, dword [ecx + 0x24]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x430]
call fcn.004093c0
cmp dword [ebp + 0x14], 0
je 0x489d8b
push 0
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x42c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x42c]
push ecx
mov edx, dword [eax + 0x44]
call edx
movzx eax, word [ebp + 0x18]
test eax, eax
je 0x489dac
movzx ecx, word [ebp + 0x18]
push ecx
mov edx, dword [ebp - 0x42c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x42c]
push ecx
mov edx, dword [eax + 0x34]
call edx
cmp dword [ebp + 0x1c], 0
je 0x489dca
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp - 0x42c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x42c]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp - 0x42c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x42c]
push edx
mov eax, dword [ecx + 0x3c]
call eax
lea ecx, [ebp - 0x43c]
call fcn.00409500
mov dword [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x4c3f5c
lea eax, [ebp - 0x43c]
push eax
call fcn.00409ab0
add esp, 0x10
push 1
lea ecx, [ebp - 0x43c]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp - 0x438]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x438]
push eax
mov ecx, dword [edx + 0x18]
call ecx
mov dword [ebp - 0x434], eax
mov edx, dword [ebp - 0x438]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x438]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x42c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x42c]
push edx
mov eax, dword [ecx + 8]
call eax
cmp dword [ebp - 0x434], 0
jl 0x489e75
mov dword [ebp - 0x440], 1
jmp 0x489e7f
mov dword [ebp - 0x440], 0
mov ecx, dword [ebp - 0x440]
mov dword [ebp - 0x450], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.004093c0
mov eax, dword [ebp - 0x450]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042eb1e
mov esp, ebp
pop ebp
ret