Function at 0x4e36b0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec788
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x248
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x238], ecx
mov ecx, dword [ebp - 0x238]
add ecx, 4
call fcn.00413930
movzx eax, al
test eax, eax
je 0x4e3704
xor al, al
jmp 0x4e39c8
mov dword [ebp - 4], 0
mov byte [ebp - 0x229], 0
lea ecx, [ebp - 0x230]
call fcn.004382e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.004382e0
mov byte [ebp - 4], 2
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [ebp - 0x230]
push ecx
push 0x4fd98c
push 1
push 0
push 0x4fda2c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
jl 0x4e3967
lea ecx, [ebp - 0x230]
call fcn.0040ae10
mov dword [ebp - 0x23c], eax
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 0x23c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x220]
push edx
call fcn.0044ac48
add esp, 8
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
xor ecx, ecx
mov word [eax], cx
movzx edx, word [ebp - 0x220]
test edx, edx
je 0x4e37eb
lea ecx, [ebp - 0x230]
call fcn.0040ae10
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x240]
push ecx
mov edx, dword [ebp - 0x240]
mov eax, dword [edx]
mov ecx, dword [eax + 0x24]
call ecx
cmp dword [ebp + 0xc], 0
je 0x4e382a
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
test eax, eax
je 0x4e382a
lea ecx, [ebp - 0x230]
call fcn.0040ae10
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x244]
mov edx, dword [ecx]
mov eax, dword [edx + 0x44]
call eax
jmp 0x4e385d
cmp dword [ebp + 0x10], 0
je 0x4e385d
lea ecx, [ebp - 0x230]
call fcn.0040ae10
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x248]
mov edx, dword [ecx]
mov eax, dword [edx + 0x44]
call eax
cmp dword [ebp + 0x14], 0
je 0x4e3896
mov ecx, dword [ebp + 0x14]
movzx edx, word [ecx]
test edx, edx
je 0x4e3896
lea ecx, [ebp - 0x230]
call fcn.0040ae10
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x24c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x1c]
call ecx
cmp dword [ebp + 0x18], 0
je 0x4e38cf
mov edx, dword [ebp + 0x18]
movzx eax, word [edx]
test eax, eax
je 0x4e38cf
lea ecx, [ebp - 0x230]
call fcn.0040ae10
mov dword [ebp - 0x250], eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp - 0x250]
push edx
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
call edx
lea ecx, [ebp - 0x230]
call fcn.0040ae10
mov dword [ebp - 0x254], eax
lea ecx, [ebp - 0x224]
call fcn.0040b800
push eax
push 0x4fda4c
mov eax, dword [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0x254]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
jl 0x4e3967
push 0
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.0048f5a0
add esp, 8
lea ecx, [ebp - 0x224]
call fcn.0040ae10
mov dword [ebp - 0x258], eax
push 1
mov ecx, dword [ebp - 0x238]
add ecx, 4
call fcn.00413e50
push eax
mov edx, dword [ebp - 0x258]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
call edx
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x229], al
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, byte [ebp - 0x229]
mov byte [ebp - 0x231], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.00438260
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00438260
mov al, byte [ebp - 0x231]
jmp 0x4e39c8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret 0x14