Function at 0x407a40
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414da1
mov eax, dword fs:[0]
push eax
sub esp, 0x89c
mov eax, dword [0x41e090]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
mov dword [ebp - 4], 3
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x89c]
push eax
push 0x41625c
push 1
push ebx
push 0x41626c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x407dee
mov eax, dword [ebp - 0x89c]
mov ecx, dword [eax]
lea edx, [ebp - 0x8a0]
push edx
push 0x41627c
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
cmp esi, ebx
jl 0x407de0
push 0x40e
lea edx, [ebp - 0x736]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x738], cx
call fcn.004128c0
mov eax, dword [ebp + 0x24]
add esp, 0xc
cmp dword [ebp + 0x38], 0x10
jae 0x407aef
lea eax, [ebp + 0x24]
push 0x104
lea ecx, [ebp - 0x738]
push ecx
push 0xffffffffffffffff
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x8a0]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ebx
lea ecx, [ebp - 0x738]
push ecx
push eax
call edx
mov esi, eax
cmp esi, ebx
jl 0x407dd2
push 0x103
lea eax, [ebp - 0x117]
push ebx
push eax
xor edi, edi
mov byte [ebp - 0x118], bl
call fcn.004128c0
push 0x13c
lea ecx, [ebp - 0x894]
push ebx
push ecx
mov dword [ebp - 0x898], ebx
call fcn.004128c0
mov eax, dword [ebp + 0x24]
mov esi, 0x10
add esp, 0x18
cmp dword [ebp + 0x38], esi
jae 0x407b6b
lea eax, [ebp + 0x24]
push eax
lea edx, [ebp - 0x86c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x89c]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x898]
push edx
push 0x104
lea edx, [ebp - 0x118]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jl 0x407c30
sub esp, 0x1c
lea eax, [ebp - 0x118]
mov ecx, esp
mov dword [ebp - 0x8a4], esp
call fcn.00404d90
lea ecx, [ebp - 0x754]
call fcn.00407730
add esp, 0x1c
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 8]
cmp dword [ebp + 0x1c], esi
jae 0x407bd6
lea ecx, [ebp + 8]
mov eax, dword [ebp - 0x754]
cmp dword [ebp - 0x740], esi
jae 0x407bea
lea eax, [ebp - 0x754]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x407c15
mov ecx, dword [ebp + 8]
cmp dword [ebp + 0x1c], esi
jae 0x407c01
lea ecx, [ebp + 8]
mov eax, dword [ebp - 0x89c]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x50]
call eax
mov edi, 1
mov byte [ebp - 4], 3
cmp dword [ebp - 0x740], esi
jb 0x407c30
mov ecx, dword [ebp - 0x754]
push ecx
call fcn.0040b752
add esp, 4
push 0x103
lea edx, [ebp - 0x21f]
push ebx
push edx
mov byte [ebp - 0x220], bl
call fcn.004128c0
mov eax, dword [ebp - 0x89c]
mov ecx, dword [eax]
add esp, 0xc
push 0x104
lea edx, [ebp - 0x220]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
cmp eax, ebx
jl 0x407ce3
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x754]
call fcn.00404d90
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 0x40]
cmp dword [ebp + 0x54], esi
jae 0x407c89
lea ecx, [ebp + 0x40]
mov eax, dword [ebp - 0x754]
cmp dword [ebp - 0x740], esi
jae 0x407c9d
lea eax, [ebp - 0x754]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x407cc8
mov ecx, dword [ebp + 0x40]
cmp dword [ebp + 0x54], esi
jae 0x407cb4
lea ecx, [ebp + 0x40]
mov eax, dword [ebp - 0x89c]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x1c]
call eax
mov edi, 1
mov byte [ebp - 4], 3
cmp dword [ebp - 0x740], esi
jb 0x407ce3
mov ecx, dword [ebp - 0x754]
push ecx
call fcn.0040b752
add esp, 4
push 0x103
lea edx, [ebp - 0x327]
push ebx
push edx
mov byte [ebp - 0x328], bl
call fcn.004128c0
mov eax, dword [ebp - 0x89c]
mov ecx, dword [eax]
add esp, 0xc
push 0x104
lea edx, [ebp - 0x328]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov esi, eax
cmp esi, ebx
jl 0x407db6
sub esp, 0x1c
lea eax, [ebp - 0x328]
mov ecx, esp
mov dword [ebp - 0x8a4], esp
call fcn.00404d90
lea ecx, [ebp - 0x754]
call fcn.00407730
add esp, 0x1c
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 0x5c]
mov eax, 0x10
cmp dword [ebp + 0x70], eax
jae 0x407d5a
lea ecx, [ebp + 0x5c]
cmp dword [ebp - 0x740], eax
mov eax, dword [ebp - 0x754]
jae 0x407d6e
lea eax, [ebp - 0x754]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x407d9a
cmp dword [ebp + 0x70], 0x10
mov ecx, dword [ebp + 0x5c]
jae 0x407d86
lea ecx, [ebp + 0x5c]
mov eax, dword [ebp - 0x89c]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x24]
call eax
mov edi, 1
mov byte [ebp - 4], 3
cmp dword [ebp - 0x740], 0x10
jb 0x407db6
mov ecx, dword [ebp - 0x754]
push ecx
call fcn.0040b752
add esp, 4
cmp edi, ebx
je 0x407dd2
mov eax, dword [ebp - 0x8a0]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push ebx
lea ecx, [ebp - 0x738]
push ecx
push eax
call edx
mov esi, eax
mov eax, dword [ebp - 0x8a0]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x89c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [ebp + 0x1c], 0x10
jb 0x407e06
mov eax, dword [ebp + 8]
push eax
call fcn.0040b752
add esp, 4
cmp dword [ebp + 0x38], 0x10
mov edi, 0xf
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x18], ebx
mov byte [ebp + 8], bl
jb 0x407e26
mov ecx, dword [ebp + 0x24]
push ecx
call fcn.0040b752
add esp, 4
cmp dword [ebp + 0x54], 0x10
mov dword [ebp + 0x38], edi
mov dword [ebp + 0x34], ebx
mov byte [ebp + 0x24], bl
jb 0x407e41
mov edx, dword [ebp + 0x40]
push edx
call fcn.0040b752
add esp, 4
cmp dword [ebp + 0x70], 0x10
mov dword [ebp + 0x54], edi
mov dword [ebp + 0x50], ebx
mov byte [ebp + 0x40], bl
jb 0x407e5c
mov eax, dword [ebp + 0x5c]
push eax
call fcn.0040b752
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040b5e7
mov esp, ebp
pop ebp
ret