Function at 0x40258e
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x456178]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xb0], ecx
xor ecx, ecx
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x20]
cmp dword [esi + 0x10], ecx
je 0x402a04
cmp dword [edi + 0x10], ecx
je 0x402a04
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], ecx
mov word [ebp - 0x50], cx
test eax, eax
je 0x402719
push eax
lea ecx, [ebp - 0x50]
call fcn.00401628
and dword [ebp - 0x28], 0
lea edx, [ebp - 0x80]
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x24], ecx
and dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
mov ecx, edi
mov word [ebp - 0x38], ax
mov word [ebp - 0x80], ax
call fcn.0040ea40
test al, al
je 0x4029da
cmp dword [ebp - 0x70], 0
je 0x4029da
lea edx, [ebp - 0x38]
mov ecx, edi
call fcn.0040eb70
test al, al
je 0x4029da
push 0x20
pop edx
lea ecx, [ebp - 0x38]
call fcn.0040cc10
lea ecx, [ebp - 0x38]
call fcn.0040d440
test al, al
jne 0x402662
lea ecx, [ebp - 0x38]
call fcn.0040df60
lea ecx, [ebp - 0x38]
call fcn.0040d440
test al, al
je 0x4029da
lea ecx, [ebp - 0x38]
call fcn.0040d630
test al, al
je 0x4029da
push 0x5c
push ecx
lea ecx, [ebp - 0x38]
call fcn.00403083
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x20]
call fcn.00401e5c
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402149
mov edi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp - 0x9c]
push eax
push 0x444348
xor ecx, ecx
push 1
push ecx
push 0x444358
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xac], ecx
call edi
test eax, eax
js 0x4029ca
mov ecx, dword [ebp - 0x9c]
test ecx, ecx
je 0x4029ca
mov eax, dword [ecx]
lea edx, [ebp - 0xac]
push edx
push 0x444368
push ecx
call dword [eax]
test eax, eax
js 0x4029be
cmp dword [ebp - 0xac], 0
je 0x4029be
cmp dword [esi + 0x14], 8
jb 0x402732
mov edx, dword [esi]
jmp 0x402734
lea edx, [ebp - 0x50]
mov ecx, esi
call fcn.0040eb70
test al, al
jne 0x4025fb
xor bl, bl
jmp 0x4029f4
mov edx, esi
mov eax, dword [ebp - 0x9c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x50]
cmp dword [ebp - 0x3c], 8
cmovae edx, dword [ebp - 0x50]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
cmp dword [ebx + 0x10], 0
je 0x402785
mov ecx, ebx
call fcn.0040d530
test al, al
je 0x402785
cmp dword [ebx + 0x14], 8
jb 0x402772
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x9c]
push 0
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
xor ebx, ebx
jmp 0x40279d
cmp dword [esi + 0x14], 8
jb 0x40278d
mov esi, dword [esi]
mov eax, dword [ebp - 0x9c]
xor ebx, ebx
push ebx
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edx, dword [ebp - 0xa4]
cmp dword [edx + 0x14], 8
jb 0x4027ab
mov edx, dword [edx]
mov eax, dword [ebp - 0x9c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, dword [ebp - 0xa8]
cmp dword [edx + 0x14], 8
jb 0x4027c6
mov edx, dword [edx]
mov eax, dword [ebp - 0x9c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
xor eax, eax
mov dword [ebp - 0x54], 7
push 0x449790
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], ax
call fcn.00401628
push ecx
push ecx
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0x2e
push eax
lea ecx, [ebp - 0x20]
call fcn.004030e7
or esi, 0xffffffff
lea ecx, [ebp - 0x20]
push esi
cmp eax, esi
jne 0x402822
push ebx
lea eax, [ebp - 0x68]
push eax
call fcn.00402149
jmp 0x40285d
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00401ea9
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x98]
call fcn.0040c500
test al, al
jne 0x40284f
push esi
push ebx
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402149
push ebx
push 1
lea ecx, [ebp - 0x98]
call fcn.00401751
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x9d], bl
call fcn.0040d440
test al, al
je 0x40295b
and dword [ebp - 0xa8], 0
lea eax, [ebp - 0xa8]
push eax
push 0x444348
push 1
push 0
push 0x444358
call edi
test eax, eax
js 0x40291b
mov ecx, dword [ebp - 0xa8]
test ecx, ecx
je 0x40291b
and dword [ebp - 0xa4], 0
lea edx, [ebp - 0xa4]
mov eax, dword [ecx]
push edx
push 0x444368
push ecx
call dword [eax]
test eax, eax
js 0x402900
mov edx, dword [ebp - 0xa4]
test edx, edx
je 0x402900
cmp dword [ebp - 0xc], 8
lea ecx, [ebp - 0x20]
mov eax, dword [edx]
cmovae ecx, dword [ebp - 0x20]
push 0x30
push ecx
push edx
call dword [eax + 0x14]
test eax, eax
js 0x4028f4
mov edx, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x9c]
call fcn.00402c01
mov bl, al
mov ecx, dword [ebp - 0xa4]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0xa8]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
and dword [ebp - 0xa8], 0
test bl, bl
je 0x40291b
mov al, 1
jmp 0x402961
mov esi, dword [ebp - 0xb0]
cmp byte [esi], 0
jne 0x402957
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x98]
cmovae eax, dword [ebp - 0x20]
push eax
call fcn.0040140d
lea ecx, [ebp - 0x98]
call fcn.004123f0
push 0
push 1
lea ecx, [ebp - 0x98]
call fcn.00401751
mov bl, 1
jmp 0x40296d
mov al, byte [ebp - 0x9d]
mov bl, 1
test al, al
jne 0x402998
mov esi, dword [ebp - 0xb0]
cmp byte [esi], 0
jne 0x402994
mov eax, dword [ebp - 0xac]
lea edx, [ebp - 0x20]
cmp dword [ebp - 0xc], 8
push 1
cmovae edx, dword [ebp - 0x20]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x18]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [esi + 1], 1
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0
push 1
lea ecx, [ebp - 0x68]
call fcn.00401751
jmp 0x4029cc
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.00401751
jmp 0x4029dc
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x80]
call fcn.00401751
push 0
push 1
lea ecx, [ebp - 0x38]
call fcn.00401751
push 0
push 1
lea ecx, [ebp - 0x50]
call fcn.00401751
mov al, bl
jmp 0x402a06
xor al, al
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004332ea
mov esp, ebp
pop ebp
ret 0x1c