Function at 0x660230
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68b8bd
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x78a6d4]
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
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x298], esi
mov dword [ebp - 0x29c], esi
xor eax, eax
mov dword [ebp - 0x2a0], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x25c]
push eax
push 0x104
mov dword [ebp - 0x2a0], 1
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x25c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6602c0
sub ecx, edx
lea eax, [ebp - 0x25c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00447250
push edi
lea ecx, [ebp - 0x274]
call fcn.00447b50
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x274]
push dword [ebp - 0x29c]
cmp dword [ebp - 0x260], 8
mov edx, dword [ebp - 0x264]
cmovae ecx, dword [ebp - 0x274]
push 2
push 0x70c5b8
push ecx
call fcn.00450750
add esp, 0x10
cmp eax, 0xffffffff
je 0x660335
inc eax
lea ecx, [ebp - 0x274]
push eax
push 0
call fcn.00450650
push 0x14
xor eax, eax
mov dword [ebp - 0x28c], 0
push str.cisco_secure_client_
lea ecx, [ebp - 0x28c]
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 7
mov word [ebp - 0x28c], ax
call fcn.00447250
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28c]
push dword [ebp - 0x29c]
cmp dword [ebp - 0x278], 8
lea ecx, [ebp - 0x274]
push dword [ebp - 0x27c]
cmovae eax, dword [ebp - 0x28c]
cmp dword [ebp - 0x260], 8
mov edx, dword [ebp - 0x264]
cmovae ecx, dword [ebp - 0x274]
push eax
push 0
call fcn.00450880
add esp, 0x10
test eax, eax
je 0x6603e3
cmp dword [ebp - 0x278], 8
lea eax, [ebp - 0x28c]
push dword [ebp - 0x27c]
cmovae eax, dword [ebp - 0x28c]
lea ecx, [ebp - 0x274]
push eax
push 0
call fcn.00455b90
cmp dword [ebp - 0x260], 8
lea edx, [ebp - 0x274]
mov eax, dword [ebp - 0x264]
cmovae edx, dword [ebp - 0x274]
test eax, eax
je 0x660456
or ecx, 0xffffffff
dec eax
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x2e
lea ecx, [edx + ecx*2]
je 0x660421
cmp ecx, edx
je 0x660456
sub ecx, 2
cmp word [ecx], 0x2e
jne 0x660414
sub ecx, edx
sar ecx, 1
cmp ecx, 0xffffffff
je 0x660456
cmp dword [ebp - 0x264], ecx
jb 0x660717
cmp dword [ebp - 0x260], 8
lea eax, [ebp - 0x274]
mov dword [ebp - 0x264], ecx
cmovae eax, dword [ebp - 0x274]
xor edx, edx
mov word [eax + ecx*2], dx
mov ebx, dword [esi + 0x14]
mov eax, esi
mov dword [ebp - 0x294], ebx
cmp ebx, 8
jb 0x660468
mov eax, dword [esi]
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x298], edi
cmp word [eax + edi*2 - 2], 0x5c
je 0x6605c1
cmp edi, ebx
jae 0x66049c
lea eax, [edi + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp ebx, 8
jb 0x660490
mov eax, dword [esi]
mov dword [eax + edi*2], 0x5c
jmp 0x6605c1
mov ecx, accept
mov eax, ecx
sub eax, edi
cmp eax, 1
jb 0x66071c
lea eax, [edi + 1]
mov edi, eax
mov dword [ebp - 0x290], eax
or edi, 7
cmp edi, ecx
jbe 0x6604d4
mov eax, 0xfffffffe
mov edi, ecx
push eax
call fcn.00447610
add esp, 4
mov ebx, eax
jmp 0x660533
mov eax, ebx
shr eax, 1
sub ecx, eax
cmp ebx, ecx
jbe 0x6604f5
mov eax, 0xfffffffe
mov edi, accept
push eax
call fcn.00447610
add esp, 4
mov ebx, eax
jmp 0x660533
add eax, ebx
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x660721
add eax, eax
cmp eax, 0x1000
jb 0x660520
push eax
call fcn.00447610
add esp, 4
mov ebx, eax
jmp 0x660533
test eax, eax
je 0x660531
push eax
call fcn.0058a8a1
add esp, 4
mov ebx, eax
jmp 0x660533
xor ebx, ebx
cmp dword [ebp - 0x294], 8
mov eax, dword [ebp - 0x290]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x298]
mov dword [esi + 0x14], edi
lea edi, [eax + eax]
mov dword [ebp - 0x290], edi
jb 0x6605ad
push dword [ebp - 0x290]
mov edi, dword [esi]
push edi
push ebx
call fcn.0058c9c0
mov eax, dword [ebp - 0x290]
add esp, 0xc
mov dword [eax + ebx], 0x5c
mov eax, dword [ebp - 0x294]
lea ecx, [eax*2 + 2]
cmp ecx, 0x1000
jb 0x6605a1
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x660726
mov edi, edx
push ecx
push edi
call fcn.0058ab22
add esp, 8
jmp 0x6605bf
push edi
push esi
push ebx
call fcn.0058c9c0
add esp, 0xc
mov dword [edi + ebx], 0x5c
mov dword [esi], ebx
cmp dword [ebp - 0x260], 8
lea eax, [ebp - 0x274]
push dword [ebp - 0x264]
cmovae eax, dword [ebp - 0x274]
mov ecx, esi
push eax
call int.0044e0d0
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.0058d130
lea eax, [ebp - 0x2a8]
push eax
call fcn.005a1c46
lea eax, [ebp - 0x2a8]
push eax
call fcn.005a6529
add esp, 0x14
test eax, eax
je 0x660623
push eax
push str._H_M_S_d_m_Y
lea eax, [ebp - 0x50]
push 0x20
push eax
call fcn.005a7752
add esp, 0x10
push 9
push str._install_
mov ecx, esi
call int.0044e0d0
lea ecx, [ebp - 0x50]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x660637
sub ecx, edx
lea eax, [ebp - 0x50]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call int.0044e0d0
push 4
push str..log
mov ecx, esi
call int.0044e0d0
mov edx, dword [ebp - 0x278]
cmp edx, 8
jb 0x6606a0
mov ecx, dword [ebp - 0x28c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x660696
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x660726
push edx
push ecx
call fcn.0058ab22
add esp, 8
mov edx, dword [ebp - 0x260]
xor eax, eax
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 7
mov word [ebp - 0x28c], ax
cmp edx, 8
jb 0x6606f9
mov ecx, dword [ebp - 0x274]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6606ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x660726
push edx
push ecx
call fcn.0058ab22
add esp, 8
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.0058a893
mov esp, ebp
pop ebp
ret
call fcn.0044a9d0
call fcn.00446fa0
call fcn.00446f00
call fcn.005968cf
int3