Function at 0x140006560
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1460]
mov eax, 0x1560
call fcn.140028080
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x15b8], rbx
mov rax, qword [0x14016b140]
xor rax, rsp
mov qword [rbp + 0x1450], rax
mov r12, r8
mov rsi, rdx
mov r14, rcx
lea rcx, str.HandleRunExeRequest____________________________________...__n
call fcn.1400213c0
lea rdx, [rsi + 0x50]
lea rcx, [rbp - 0x78]
call fcn.1400079b0
nop
lea rdx, [rsi + 0x70]
lea rcx, [rsp + 0x68]
call fcn.1400079b0
nop
lea rdx, [rsi + 0x90]
lea rcx, [rsp + 0x48]
call fcn.1400079b0
nop
call fcn.14001f8b0
mov rcx, rax
lea rdx, [rbp - 0x78]
call fcn.140020380
call fcn.14001f8b0
mov rcx, rax
lea rdx, [rsp + 0x68]
call fcn.140020380
call fcn.14001f8b0
mov rcx, rax
lea rdx, [rsp + 0x48]
call fcn.140020380
xor r13d, r13d
mov edi, r13d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xa00]
call fcn.1400c0ac0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xe20]
call fcn.1400c0ac0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1c0]
call fcn.1400c0ac0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1240]
call fcn.1400c0ac0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x50]
call fcn.1400c0ac0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3d0]
call fcn.1400c0ac0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x7f0]
call fcn.1400c0ac0
lea r8, [rsi + 0x30]
cmp qword [r8 + 0x18], 8
jb 0x1400066b9
mov r8, qword [r8]
mov ebx, 0x104
lea r9d, [rbx - 1]
mov edx, ebx
lea rcx, [rbp + 0xa00]
call fcn.1400c6d90
lea r8, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae r8, qword [rbp - 0x78]
lea r9d, [rbx - 1]
mov edx, ebx
lea rcx, [rbp + 0xe20]
call fcn.1400c6d90
lea r8, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae r8, qword [rsp + 0x68]
lea r9d, [rbx - 1]
mov edx, ebx
lea rcx, [rbp + 0x1c0]
call fcn.1400c6d90
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae r8, qword [rsp + 0x48]
lea r9d, [rbx - 1]
mov edx, ebx
lea rcx, [rbp + 0x1240]
call fcn.1400c6d90
lea r8, [rsi + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x140006743
mov r8, qword [r8]
mov r9d, 0x103
mov rdx, rbx
lea rcx, [rbp + 0x7f0]
call fcn.1400c6d90
cmp word [rbp + 0x1c0], di
je 0x140006826
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1030]
call fcn.1400c0ac0
lea r8, [rsp + 0x30]
mov edx, 0x23
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x1400067de
lea rdx, [rbp + 0x1030]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea rdx, [rbp + 0x1030]
lea rcx, str.CSIDL_COMMON_APPDATA___s__n
call fcn.1400213c0
lea rcx, [rsp + 0x38]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x1400067de
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x30]
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
lea r9, [rbp + 0x1030]
lea r8, str._AppData_
lea rdx, [rbp + 0x1c0]
mov rcx, qword [r14 + 0x40]
call fcn.140020be0
lea rdx, [rbp + 0x1c0]
lea rcx, str.wszExeFolder___s__n
call fcn.1400213c0
call fcn.14001f8b0
mov rcx, rax
xor r8d, r8d
lea rdx, [rbp + 0x1c0]
call fcn.14001e720
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xc10]
call fcn.1400c0ac0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x5e0]
call fcn.1400c0ac0
call fcn.14001f8b0
mov rcx, rax
lea r9, [rbp + 0x5e0]
lea r8, [rbp + 0xc10]
lea rdx, [rbp + 0xe20]
call fcn.140020d70
mov dword [rsp + 0x30], r13d
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xe20]
call fcn.14000d4f0
test eax, eax
je 0x140006bb8
cmp word [rbp + 0x1c0], di
je 0x140006925
lea rdx, [0x140130e58]
lea rcx, [rbp + 0x1c0]
call fcn.1400c3768
test eax, eax
je 0x140006925
cmp word [rbp + 0xc10], di
je 0x1400068df
call fcn.14001f8b0
mov rcx, rax
lea r9, [rbp + 0x1c0]
lea r8, [rbp + 0xc10]
lea rdx, [rbp + 0x5e0]
call fcn.14001dc00
jmp 0x1400068fa
call fcn.14001f8b0
mov rcx, rax
lea r8, [rbp + 0x1c0]
lea rdx, [rbp + 0x5e0]
call fcn.14001daf0
lea rax, [rbp + 0x5e0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1c0]
lea r8, str._s_s
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.140003710
jmp 0x140006a12
mov rdx, rbx
lea rcx, [rbp - 0x50]
lea r8, [rbp + 0xe20]
lea rax, [rbp - 0x50]
sub r8, rax
nop word [rax + rax]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140006965
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140006965
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140006940
jmp 0x14000696a
test rdx, rdx
jne 0x14000696e
sub rcx, 2
mov word [rcx], r13w
call fcn.14001f8b0
mov rcx, rax
xor r8d, r8d
lea rdx, [rbp - 0x50]
call fcn.14001f910
test al, al
jne 0x140006a12
cmp word [rbp + 0xc10], di
je 0x1400069b4
call fcn.14001f8b0
mov rcx, rax
lea r8, [rbp + 0x5e0]
lea rdx, [rbp + 0xc10]
call fcn.14001dd90
jmp 0x1400069c8
call fcn.14001f8b0
mov rcx, rax
lea rdx, [rbp + 0x5e0]
call fcn.14001d9d0
mov rdx, rbx
lea rcx, [rbp - 0x50]
lea r8, [rbp + 0x5e0]
lea rax, [rbp - 0x50]
sub r8, rax
nop dword [rax]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140006a05
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140006a05
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400069e0
jmp 0x140006a0a
test rdx, rdx
jne 0x140006a0e
sub rcx, 2
mov word [rcx], r13w
lea rdx, [rbp - 0x50]
lea rcx, str.wszExeFullPath___s__n
call fcn.1400213c0
mov eax, r13d
mov esi, dword [rsp + 0x30]
test sil, 2
je 0x140006a38
lea rcx, [rbp - 0x50]
call fcn.14000cb40
test sil, 1
jne 0x140006a4e
test eax, eax
jne 0x140006a4e
lea rcx, str.The_zip_content_is_altered._n
jmp 0x140006bbf
lea rcx, [rbp + 0x3d0]
cmp word [rbp + 0x1240], di
je 0x140006a7f
lea rax, [rbp + 0x1240]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
lea r8, str.__s___s
mov rdx, rbx
call fcn.140003710
jmp 0x140006ac1
lea rdx, [rbp - 0x50]
lea rax, [rbp + 0x3d0]
sub rdx, rax
nop dword [rax]
lea rax, [rbx + 0x7ffffefa]
test rax, rax
je 0x140006ab4
movzx eax, word [rdx + rcx]
test ax, ax
je 0x140006ab4
mov word [rcx], ax
add rcx, 2
sub rbx, 1
jne 0x140006a90
jmp 0x140006ab9
test rbx, rbx
jne 0x140006abd
sub rcx, 2
mov word [rcx], r13w
lea rdx, [rbp + 0x3d0]
lea rcx, str.wszExeCommand___s__n
call fcn.1400213c0
lea rdx, [0x140130f08]
lea rcx, [rbp + 0xa00]
call fcn.1400c3768
test eax, eax
jne 0x140006b0d
lea r9d, [rax + 1]
lea r8, [rbp + 0x3d0]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x7f0]
call fcn.14000d740
mov edi, eax
jmp 0x140006bc4
lea rdx, [0x140130f10]
lea rcx, [rbp + 0xa00]
call fcn.1400c3768
test eax, eax
je 0x140006b94
lea rdx, str.LOGON
lea rcx, [rbp + 0xa00]
call fcn.1400c3768
test eax, eax
je 0x140006b94
lea rdx, str.RUNONCE
lea rcx, [rbp + 0xa00]
call fcn.1400c3768
test eax, eax
jne 0x140006b74
lea r9d, [rax + 3]
lea r8, [0x1401308e0]
lea rdx, [rbp + 0x3d0]
lea rcx, [rbp + 0x7f0]
call fcn.14000d740
mov edi, eax
jmp 0x140006bc4
lea rdx, str.NOW_AND_WAIT
lea rcx, [rbp + 0xa00]
call fcn.1400c3768
test eax, eax
jne 0x140006bc4
lea r9d, [rax + 4]
jmp 0x140006aef
mov r9d, 2
lea r8, [0x1401308e0]
lea rdx, [rbp + 0x3d0]
lea rcx, [rbp + 0x7f0]
call fcn.14000d740
mov edi, eax
jmp 0x140006bc4
lea rcx, str.Not_KX_SFX_EXE_____n
call fcn.1400213c0
mov ecx, 0x90
call fcn.140027a60
mov rbx, rax
mov qword [rsp + 0x38], rax
xor edx, edx
mov r8d, 0x90
mov rcx, rax
call fcn.1400c0ac0
mov qword [rbx + 8], r13
lea rax, vtable.ExeMngmtResponse.0
mov qword [rbx], rax
mov qword [rbx + 0x20], r13
mov qword [rbx + 0x28], 7
mov word [rbx + 0x10], r13w
mov qword [rbx + 0x40], r13
mov qword [rbx + 0x48], 7
mov word [rbx + 0x30], r13w
mov qword [rbx + 0x60], r13
mov qword [rbx + 0x68], 7
mov word [rbx + 0x50], r13w
mov qword [rbx + 0x80], r13
mov qword [rbx + 0x88], 7
mov word [rbx + 0x70], r13w
mov edx, edi
lea rcx, str.nRet___d__n
call fcn.1400213c0
test edi, edi
je 0x140006c87
lea rax, [rbp + 0x7f0]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], r13w
jne 0x140006c60
lea rdx, [rbp + 0x7f0]
lea rcx, [rbx + 0x10]
call fcn.140007ac0
lea rdx, [0x140130ce0]
lea rcx, [rbx + 0x30]
jmp 0x140006ca8
mov r8d, 1
lea rdx, [0x140130d00]
lea rcx, [rbx + 0x30]
call fcn.140007ac0
lea rdx, [0x140130d00]
lea rcx, [rbx + 0x70]
mov r8d, 1
call fcn.140007ac0
mov qword [r12], rbx
lea rcx, str.HandleRunExeRequest________________________________________________n
call fcn.1400213c0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140006d06
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006d01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006dda
call fcn.1400277b4
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r13w
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x140006d5b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006d56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006de0
call fcn.1400277b4
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r13w
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x140006daa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006da5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006dd4
call fcn.1400277b4
mov rcx, qword [rbp + 0x1450]
xor rcx, rsp
call fcn.140027790
mov rbx, qword [rsp + 0x15b8]
add rsp, 0x1560
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400c6d18
nop
call fcn.1400c6d18
nop
call fcn.1400c6d18
int3