Function at 0x493500
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9468
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x4f5038]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc8], ecx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc4], 0
cmp dword [edi + 0x10], 0
mov dword [ebp - 0xcc], eax
je 0x493d0a
cmp dword [esi + 0x10], 0
je 0x493d0a
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov dword [ebp - 4], eax
test edx, edx
je 0x4936dd
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xb0], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4935b0
sub ecx, dword [ebp - 0xb0]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.004036d0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 1
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x58]
push eax
push esi
call fcn.0040b9f0
add esp, 8
test al, al
je 0x493cd1
cmp dword [ebp - 0x48], 0
je 0x493cd1
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.0040bbd0
add esp, 8
test al, al
je 0x493cd1
lea eax, [ebp - 0x40]
push 0x20
push eax
call fcn.00408990
lea eax, [ebp - 0x40]
push eax
call fcn.00405700
add esp, 0xc
test al, al
jne 0x493669
lea eax, [ebp - 0x40]
push eax
call fcn.0040b8b0
add esp, 4
lea eax, [ebp - 0x40]
push eax
call fcn.00405700
add esp, 4
test al, al
je 0x493cd1
lea eax, [ebp - 0x40]
push eax
call fcn.00405a40
add esp, 4
test al, al
je 0x493cd1
call fcn.00408b40
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
movzx esi, ax
mov eax, 0x7ffffffe
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xb4], edx
cmp ecx, edx
jae 0x493700
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
xor edx, edx
mov word [eax + ecx*2], si
mov word [eax + ecx*2 + 2], dx
mov eax, dword [ebp - 0x40]
jmp 0x49380a
lea eax, [ebp - 0x88]
push eax
push edi
call fcn.0040bbd0
add esp, 8
test al, al
jne 0x4935d0
mov byte [ebp - 0xa1], al
jmp 0x493cf0
sub eax, ecx
cmp eax, 1
jb 0x493d29
lea eax, [ecx + 1]
mov esi, eax
mov dword [ebp - 0xbc], eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x493728
mov esi, 0x7ffffffe
jmp 0x493746
mov ecx, edx
mov eax, 0x7ffffffe
shr ecx, 1
sub eax, ecx
cmp edx, eax
jbe 0x49373e
mov esi, 0x7ffffffe
jmp 0x493746
lea eax, [edx + ecx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x40]
call fcn.004039b0
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0xc0]
add esi, esi
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xb4], 8
mov dword [ebp - 0x30], ecx
push esi
jb 0x4937e3
mov ecx, dword [ebp - 0x40]
push ecx
push eax
mov dword [ebp - 0xbc], ecx
call fcn.00496460
mov eax, dword [ebp - 0xac]
add esp, 0xc
mov ecx, dword [ebp - 0xb0]
mov word [esi + eax], cx
xor ecx, ecx
mov word [esi + eax + 2], cx
mov eax, dword [ebp - 0xb4]
lea ecx, [eax*2 + 2]
mov eax, dword [ebp - 0xbc]
cmp ecx, 0x1000
jb 0x4937d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x493d2e
mov eax, edx
push ecx
push eax
call fcn.00494840
mov eax, dword [ebp - 0xac]
add esp, 8
jmp 0x493807
lea ecx, [ebp - 0x40]
push ecx
push eax
call fcn.00496460
mov eax, dword [ebp - 0xac]
add esp, 0xc
mov ecx, dword [ebp - 0xb0]
mov word [esi + eax], cx
xor ecx, ecx
mov word [esi + eax + 2], cx
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x30]
cmovae ecx, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xc0], ecx
cmp edx, 8
jae 0x493849
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x493896
mov esi, edx
lea ecx, [ebp - 0x28]
or esi, 7
mov eax, 0x7ffffffe
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.004039b0
mov ecx, eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x28], ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0xc0]
push ecx
call fcn.00496460
mov eax, dword [ebp - 0xb0]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x28]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00403910
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0
push eax
push 0x4ca4c8
push 1
push 0
push 0x4ca4f8
mov dword [ebp - 0xb8], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x493cbc
mov ecx, dword [ebp - 0xa8]
test ecx, ecx
je 0x493cbc
mov eax, dword [ecx]
lea edx, [ebp - 0xb8]
push edx
push 0x4ca4e8
push ecx
call dword [eax]
test eax, eax
js 0x493cb0
cmp dword [ebp - 0xb8], 0
je 0x493cb0
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x493926
mov edx, dword [edi]
mov eax, dword [ebp - 0xa8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
cmovae edx, dword [ebp - 0x88]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
mov esi, dword [ebp - 0xcc]
cmp dword [esi + 0x10], 0
je 0x493977
push esi
call fcn.004058a0
add esp, 4
test al, al
je 0x493977
cmp dword [esi + 0x14], 8
jb 0x493972
mov esi, dword [esi]
push 0
push esi
jmp 0x493994
mov edx, dword [ebp + 0x1c]
test edx, edx
js 0x493989
cmp dword [edi + 0x14], 8
jb 0x493986
mov edi, dword [edi]
push edx
jmp 0x493993
cmp dword [edi + 0x14], 8
jb 0x493991
mov edi, dword [edi]
push 0
push edi
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edx, dword [ebp - 0xd0]
cmp dword [edx + 0x14], 8
jb 0x4939ae
mov edx, dword [edx]
mov eax, dword [ebp - 0xa8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, dword [ebp - 0xd4]
cmp dword [edx + 0x14], 8
jb 0x4939c9
mov edx, dword [edx]
mov eax, dword [ebp - 0xa8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push str..lnk
lea ecx, [ebp - 0x70]
call fcn.004034a0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
test eax, eax
je 0x493af0
dec eax
or esi, 0xffffffff
cmp eax, esi
mov ecx, esi
cmovb ecx, eax
cmp word [edx + ecx*2], 0x2e
lea ecx, [edx + ecx*2]
je 0x493a23
cmp ecx, edx
je 0x493af0
sub ecx, 2
cmp word [ecx], 0x2e
jne 0x493a12
sub ecx, edx
sar ecx, 1
cmp ecx, 0xffffffff
je 0x493af0
mov byte [ebp - 4], 5
xor eax, eax
mov word [ebp - 0xa0], ax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
cmp eax, ecx
jb 0x493d33
sub eax, ecx
cmp eax, 0xffffffff
cmovb esi, eax
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push esi
lea eax, [eax + ecx*2]
push eax
lea ecx, [ebp - 0xa0]
call fcn.004036d0
lea eax, [ebp - 0x70]
mov dword [ebp - 0xc4], 1
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.004045e0
add esp, 8
test al, al
jne 0x493acb
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x28]
push eax
call fcn.00403910
mov eax, 1
mov dword [ebp - 0xc4], eax
and eax, 0xfffffffe
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.00403400
jmp 0x493b07
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x28]
push eax
call fcn.00403910
lea eax, [ebp - 0x28]
mov byte [ebp - 0xa1], 0
push eax
call fcn.00405700
add esp, 4
test al, al
je 0x493c34
lea eax, [ebp - 0xac]
mov byte [ebp - 0xa1], 0
push eax
push 0x4ca4c8
push 1
push 0
push 0x4ca4f8
mov dword [ebp - 0xac], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x493bee
mov ecx, dword [ebp - 0xac]
test ecx, ecx
je 0x493bee
lea edx, [ebp - 0xb4]
mov dword [ebp - 0xb4], 0
mov eax, dword [ecx]
push edx
push 0x4ca4e8
push ecx
call dword [eax]
test eax, eax
js 0x493bcb
mov edx, dword [ebp - 0xb4]
test edx, edx
je 0x493bcb
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [edx]
cmovae ecx, dword [ebp - 0x28]
push 0x30
push ecx
push edx
call dword [eax + 0x14]
test eax, eax
js 0x493bbf
push dword [ebp - 0xac]
push dword [ebp - 0xa8]
call fcn.00493d40
add esp, 8
mov byte [ebp - 0xa1], al
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp byte [ebp - 0xa1], 0
mov dword [ebp - 0xac], 0
je 0x493bee
mov al, 1
jmp 0x493c3a
mov esi, dword [ebp - 0xc8]
cmp byte [esi], 0
jne 0x493c4b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xa0]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004034a0
mov byte [ebp - 4], 6
lea eax, [ebp - 0xa0]
push eax
call fcn.0040b8c0
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.00403400
jmp 0x493c4b
mov al, byte [ebp - 0xa1]
mov byte [ebp - 0xa1], 1
test al, al
jne 0x493c7e
mov esi, dword [ebp - 0xc8]
cmp byte [esi], 0
mov byte [ebp - 0xa1], 1
jne 0x493c7a
mov eax, dword [ebp - 0xb8]
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push 1
cmovae edx, dword [ebp - 0x28]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x18]
test eax, eax
sete byte [ebp - 0xa1]
mov byte [esi + 1], 1
mov eax, dword [ebp - 0xb8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.00403400
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00403400
jmp 0x493cd8
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 0xa1], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00403400
jmp 0x493cd8
mov byte [ebp - 0xa1], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00403400
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00403400
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.00403400
mov al, byte [ebp - 0xa1]
jmp 0x493d0c
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004947ff
mov esp, ebp
pop ebp
ret 0x1c
call fcn.00404020
call fcn.00498949
call fcn.00405320
int3