Function at 0x4028e0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441ae1
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x612c
call fcn.004397d0
mov eax, dword [0x45604c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x60f4], ecx
mov dword [ebp - 0x613c], ecx
mov esi, 1
call fcn.0041084d
cmp dword [eax], esi
jle 0x402959
call fcn.00410853
push str._nodel
mov eax, dword [eax]
push dword [eax + esi*4]
call fcn.00410957
add esp, 8
test eax, eax
je 0x402b39
inc esi
call fcn.0041084d
cmp esi, dword [eax]
jl 0x402930
mov byte [ebp - 0x6138], 0
mov esi, 1
call fcn.0041084d
cmp dword [eax], esi
jle 0x402999
nop
call fcn.00410853
push str._app
mov eax, dword [eax]
push dword [eax + esi*4]
call fcn.00410957
add esp, 8
test eax, eax
je 0x402b45
inc esi
call fcn.0041084d
cmp esi, dword [eax]
jl 0x402970
mov byte [ebp - 0x6135], 0
mov esi, 1
call fcn.0041084d
cmp dword [eax], esi
jle 0x4029d9
nop
call fcn.00410853
push str._params
mov eax, dword [eax]
push dword [eax + esi*4]
call fcn.00410957
add esp, 8
test eax, eax
je 0x402b51
inc esi
call fcn.0041084d
cmp esi, dword [eax]
jl 0x4029b0
xor al, al
mov byte [ebp - 0x6136], al
mov esi, 1
call fcn.0041084d
cmp dword [eax], esi
jle 0x402a19
nop
call fcn.00410853
push str._skipParams
mov eax, dword [eax]
push dword [eax + esi*4]
call fcn.00410957
add esp, 8
test eax, eax
je 0x402b5d
inc esi
call fcn.0041084d
cmp esi, dword [eax]
jl 0x4029f0
mov byte [ebp - 0x6137], 0
cmp byte [ebp - 0x6135], 0
je 0x402a2e
call fcn.004025d0
mov al, byte [ebp - 0x6136]
test al, al
je 0x402a43
call fcn.00402780
mov al, byte [ebp - 0x6136]
cmp byte [ebp - 0x6135], 0
jne 0x403092
test al, al
jne 0x403092
xor eax, eax
mov dword [ebp - 0x609c], 0
mov dword [ebp - 0x6098], 7
mov word [ebp - 0x60ac], ax
lea edx, [ebp - 0x60ac]
mov dword [ebp - 4], eax
mov ecx, str._destination
call fcn.00402530
test al, al
jne 0x402ba8
lea edx, [ebp - 0x60ac]
mov ecx, 0x4503e0
call fcn.00402530
test al, al
jne 0x402ba8
push 0x2000
lea eax, [ebp - 0x6094]
push 0
push eax
call fcn.0040ae00
push 0x2000
lea eax, [ebp - 0x4094]
push 0
push eax
call fcn.0040ae00
add esp, 0x10
lea edx, [ebp - 0x4094]
lea ecx, [ebp - 0x6094]
call fcn.00401990
add esp, 8
test eax, eax
je 0x402b7d
push str.Failed_to_create_applet_folder.
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004023e0
mov edx, dword [ebp - 0x6098]
add esp, 8
cmp edx, 8
jb 0x402b73
mov ecx, dword [ebp - 0x60ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402b69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40314b
jmp 0x402b69
mov byte [ebp - 0x6138], 1
jmp 0x402960
mov byte [ebp - 0x6135], 1
jmp 0x4029a0
mov byte [ebp - 0x6136], 1
jmp 0x4029e1
mov byte [ebp - 0x6137], 1
jmp 0x402a20
push edx
push ecx
call fcn.00408f8a
add esp, 8
mov eax, 1
jmp 0x403094
lea ecx, [ebp - 0x4094]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402b86
sub ecx, edx
lea eax, [ebp - 0x4094]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x60ac]
call fcn.00402020
lea eax, [ebp - 0x60ac]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x610c]
call fcn.00401be0
push 0
lea eax, [ebp - 0x610c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x6124]
push eax
call fcn.00405ff0
mov eax, dword [ebp - 0x6124]
add esp, 0xc
test eax, eax
je 0x402bf0
mov byte [ebp - 0x6135], 0
cmp eax, 1
jne 0x402bf7
mov byte [ebp - 0x6135], 1
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x60f8]
cmp edx, 8
jb 0x402c3b
mov ecx, dword [ebp - 0x610c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402c31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403150
push edx
push ecx
call fcn.00408f8a
add esp, 8
cmp byte [ebp - 0x6135], 0
je 0x402caf
lea eax, [ebp - 0x60ac]
push eax
lea ecx, [ebp - 0x610c]
call fcn.00401be0
lea eax, [ebp - 0x610c]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.00405910
mov byte [ebp - 4], 1
add esp, 8
mov edx, dword [ebp - 0x60f8]
cmp edx, 8
jb 0x402caf
mov ecx, dword [ebp - 0x610c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402ca5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403155
push edx
push ecx
call fcn.00408f8a
add esp, 8
mov dword [ebp - 4], 0
jmp 0x402cd1
cmp dword [ebp - 0x6098], 8
lea eax, [ebp - 0x60ac]
cmovae eax, dword [ebp - 0x60ac]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp dword [ebp - 0x6098], 8
lea eax, [ebp - 0x60ac]
cmovae eax, dword [ebp - 0x60ac]
push eax
call fcn.00413864
add esp, 4
mov edi, eax
lea eax, [ebp - 0x6120]
push eax
push 0
lea eax, [ebp - 0x611c]
push eax
push 0
push 0
push 4
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
lea eax, [ebp - 0x60f4]
push eax
push str.S_1_1_0
call dword [sym.imp.ADVAPI32.dll_ConvertStringSidToSidW]
mov eax, dword [ebp - 0x60f4]
mov dword [ebp - 0x60f8], eax
lea eax, [ebp - 0x6118]
push eax
push dword [ebp - 0x611c]
lea eax, [ebp - 0x6114]
mov dword [ebp - 0x6110], 2
push eax
push 1
mov dword [ebp - 0x6114], 0x1200a9
mov dword [ebp - 0x610c], 3
mov dword [ebp - 0x6104], 0
mov dword [ebp - 0x6108], 0
mov dword [ebp - 0x6100], 0
mov dword [ebp - 0x60fc], 0
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
push 0
push dword [ebp - 0x6118]
push 0
push 0
push 4
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
push dword [ebp - 0x6118]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push dword [ebp - 0x60f4]
call esi
push edi
call fcn.0040c957
add esp, 4
call fcn.004025d0
cmp byte [ebp - 0x6137], 0
jne 0x402df3
call fcn.00402780
push 0x2080
lea eax, [ebp - 0x2094]
push 0
push eax
call fcn.0040ae00
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x60ac]
add esp, 0xc
xorps xmm0, xmm0
cmp dword [ebp - 0x6098], 8
movlpd qword [ebp - 0x60ec], xmm0
cmovae eax, dword [ebp - 0x60ac]
push eax
lea eax, [ebp - 0x2094]
movlpd qword [ebp - 0x60e4], xmm0
push eax
movlpd qword [ebp - 0x60dc], xmm0
movlpd qword [ebp - 0x60d4], xmm0
movlpd qword [ebp - 0x60cc], xmm0
movlpd qword [ebp - 0x60c4], xmm0
movlpd qword [ebp - 0x60bc], xmm0
movlpd qword [ebp - 0x60b4], xmm0
movups xmmword [ebp - 0x6134], xmm0
call esi
push str.RescueService.exe
lea eax, [ebp - 0x2094]
push eax
call esi
xor eax, eax
mov dword [ebp - 0x60f0], 0x44
mov dword [ebp - 0x60fc], 0
mov dword [ebp - 0x60f8], 7
mov word [ebp - 0x610c], ax
lea edx, [ebp - 0x610c]
mov byte [ebp - 4], 5
mov ecx, str._pin
call fcn.00402530
test al, al
je 0x402f03
push str.__WebsiteUrl_https:__weblens.logmeinrescue.com___PinCode
lea eax, [ebp - 0x2094]
push 0x1040
push eax
call fcn.0040c94c
cmp dword [ebp - 0x60f8], 8
lea eax, [ebp - 0x610c]
cmovae eax, dword [ebp - 0x610c]
push eax
lea eax, [ebp - 0x2094]
push 0x1040
push eax
call fcn.0040c94c
add esp, 0x18
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x60f8]
cmp edx, 8
jb 0x402f47
mov ecx, dword [ebp - 0x610c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402f3d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40315a
push edx
push ecx
call fcn.00408f8a
add esp, 8
push 0x4504dc
lea eax, [ebp - 0x2094]
push 0x1040
push eax
call fcn.0040c94c
push dword [ebp - 0x613c]
lea eax, [ebp - 0x2094]
push 0x1040
push eax
call fcn.0040c94c
add esp, 0x18
lea ecx, [ebp - 0x6134]
cmp dword [ebp - 0x6098], 8
lea eax, [ebp - 0x60ac]
cmovae eax, dword [ebp - 0x60ac]
push ecx
lea ecx, [ebp - 0x60f0]
push ecx
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2094]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x403015
push 0x4504e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004023e0
mov edx, dword [ebp - 0x6098]
add esp, 8
cmp edx, 8
jb 0x40300b
mov ecx, dword [ebp - 0x60ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403001
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403146
push edx
push ecx
call fcn.00408f8a
add esp, 8
mov eax, 2
jmp 0x403094
mov eax, dword [ebp - 0x6130]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x403032
push eax
call esi
mov dword [ebp - 0x6130], 0
mov eax, dword [ebp - 0x6134]
test eax, eax
je 0x403049
push eax
call esi
mov dword [ebp - 0x6134], 0
cmp byte [ebp - 0x6138], 0
je 0x4030b0
mov edx, dword [ebp - 0x6098]
cmp edx, 8
jb 0x403092
mov ecx, dword [ebp - 0x60ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403088
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403146
push edx
push ecx
call fcn.00408f8a
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00408f56
mov esp, ebp
pop ebp
ret
mov esi, 1
call fcn.0041084d
cmp dword [eax], esi
jle 0x4030e5
nop
call fcn.00410853
push str._destination
mov eax, dword [eax]
push dword [eax + esi*4]
call fcn.00410957
add esp, 8
test eax, eax
je 0x403108
inc esi
call fcn.0041084d
cmp esi, dword [eax]
jl 0x4030c0
push 0x1040
lea eax, [ebp - 0x2094]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x403108
lea ecx, [ebp - 0x2094]
call fcn.00401660
mov edx, dword [ebp - 0x6098]
cmp edx, 8
jb 0x403092
mov ecx, dword [ebp - 0x60ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403088
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403088
call fcn.0040c81f
call fcn.0040c81f
call fcn.0040c81f
call fcn.0040c81f
call fcn.0040c81f
int3