Function at 0x401010
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x474e88
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4a0800]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a0800]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [esp + 0x90]
mov ebp, dword [esp + 0x94]
mov esi, ecx
lea ecx, [esp + 0x2c]
push ecx
push esi
mov dword [esp + 0x20], eax
mov ebx, edx
call fcn.00455395
add esp, 8
test eax, eax
jne 0x401337
mov eax, dword [esp + 0x32]
test eax, 0x4000
je 0x401080
xor edi, edi
jmp 0x401090
test eax, 0x8000
je 0x401337
mov edi, 1
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
push 0x104
push 0
push eax
call fcn.004598f0
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
add esp, 0xc
push 0
push 0
push ebx
push 0
push 0x104
push edx
call fcn.004556e8
xor ebx, ebx
add esp, 0x18
cmp edi, ebx
je 0x4010ce
lea eax, [esp + 0x1c]
push eax
jmp 0x4010d3
lea ecx, [esp + 0x1c]
push ecx
push 0x482f44
push 1
push ebx
push 0x482f54
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x401337
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0x50]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push 0x483880
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x34]
push ebx
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push 0x483880
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push 0x482f94
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebx
jl 0x401324
push 0x208
call fcn.00438756
add esp, 4
push 0x208
mov edi, eax
call fcn.00438756
add esp, 4
push ebx
push edi
push ebx
push eax
push esi
mov dword [esp + 0x34], eax
call fcn.00455a2c
add esp, 0x14
mov ecx, 0x483880
mov eax, ebp
jmp 0x401180
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4011a6
cmp dx, bx
je 0x4011a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4011a6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x401180
xor eax, eax
jmp 0x4011ab
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4012c3
mov ecx, 0x483880
mov eax, edi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4011e6
cmp dx, bx
je 0x4011e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4011e6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4011c0
xor eax, eax
jmp 0x4011eb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x401269
mov edx, edi
lea eax, [esp + 0x60]
call fcn.00401360
lea ecx, [esp + 0x60]
push ecx
mov edx, 0x48386c
mov dword [esp + 0x8c], ebx
call fcn.00401410
cmp eax, 0xffffffff
je 0x40123e
push eax
lea edx, [esp + 0x64]
push edx
call fcn.004013d0
cmp dword [esp + 0x78], 8
mov eax, dword [esp + 0x64]
jae 0x40122f
lea eax, [esp + 0x64]
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push 0x104
push ecx
jmp 0x40124b
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
push edi
push 0x104
push eax
call fcn.00455a76
add esp, 0xc
lea esi, [esp + 0x60]
mov dword [esp + 0x88], 0xffffffff
call fcn.004013a0
jmp 0x4012d8
mov esi, dword [esp + 0x20]
mov ecx, 0x483880
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40129a
cmp dx, bx
je 0x401296
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40129a
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x401274
xor eax, eax
jmp 0x40129f
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4012d8
mov cx, word [esi]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x28]
push edx
mov word [esp + 0x2c], cx
mov ecx, dword [eax]
push 0x104
mov word [esp + 0x32], bx
push ecx
jmp 0x4012d0
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
push ebp
push 0x104
push eax
call fcn.00455a76
add esp, 0xc
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00438751
add esp, 4
push edi
call fcn.00438751
mov esi, dword [esp + 0x1c]
mov edx, dword [esi]
add esp, 4
push 0x483874
push 0x104
push edx
call fcn.00455a76
mov eax, dword [esp + 0x30]
mov edx, dword [esi]
mov ecx, dword [eax]
add esp, 0xc
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
jmp 0x401339
xor eax, eax
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004552e7
add esp, 0x78
ret 8