Function at 0x14000c5d0
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x13b0]
mov eax, 0x14b0
call fcn.1401c9cb0
sub rsp, rax
mov rax, qword [0x1402e8ed8]
xor rax, rsp
mov qword [rbp + 0x13a0], rax
mov rdi, qword [0x1402ec7e0]
lea rcx, [rsp + 0x60]
xor r13d, r13d
mov r14, r8
mov edx, 0x400
mov esi, r13d
lea r9d, [r13 + 1]
lea r8d, [r13 + 8]
call fcn.140098bdc
mov rbx, rax
cmp qword [rax - 0x10], r13
jbe 0x14000c644
lea rcx, [rax + 0x18]
add rcx, qword [rax - 0x18]
jmp 0x14000c647
mov rcx, r13
mov qword [rcx], rdi
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x14000c65f
mov ecx, 2
call rax
jmp 0x14000c665
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
cmp dword [rbp + 0x13f8], 1
jne 0x14000c681
mov rcx, qword [r14]
lea rdx, str.__slave
call fcn.1401e3480
test eax, eax
je 0x14000c69e
cmp dword [rbp + 0x13f8], 2
jne 0x14000c6ec
mov rcx, qword [r14 + 8]
lea rdx, str.__slave
call fcn.1401e3480
test eax, eax
jne 0x14000c6ab
mov rcx, rdi
call fcn.1400082c8
jmp 0x14000cca7
mov rcx, qword [r14 + 8]
lea rdx, str.__netinfo
call fcn.1401e3480
test eax, eax
jne 0x14000c6ec
lea rcx, [rsp + 0x40]
call fcn.140011794
test eax, eax
jle 0x14000cca7
mov rdx, qword [rsp + 0x40]
lea rcx, str._s_r_n
call fcn.140001128
mov rcx, qword [rsp + 0x40]
jmp 0x14000cca2
mov rcx, qword [rdi + 0x38]
or r12, 0xffffffffffffffff
test rcx, rcx
jne 0x14000c744
mov qword [rdi + 0x38], rbx
lea rdx, [rbp + 0x3a0]
mov r8d, 0x800
mov byte [rbx], r13b
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [rbx - 0x18]
lea r8, [rbp + 0x3a0]
mov qword [rsp + 0x38], r13
mov r9d, r12d
mov qword [rsp + 0x30], r13
xor edx, edx
mov dword [rsp + 0x28], eax
mov ecx, 0xfde9
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, qword [rdi + 0x38]
lea rdx, [rdi + 0xa0c]
call fcn.140004630
mov r15d, 1
cmp dword [rbp + 0x13f8], r15d
jle 0x14000c814
lea rbx, [r14 + 8]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14000c774
mov rax, r13
jmp 0x14000c781
mov edx, 0x1000
call fcn.1401d7904
mov rcx, qword [rbx]
movsxd rdx, eax
lea r8, [0x14025d0e4]
mov r9d, 1
call fcn.1400a0bec
mov r12d, eax
cmp eax, 2
jle 0x14000c7f4
mov rcx, qword [rbx]
lea rdx, [0x14025d2ec]
mov r8d, 2
call fcn.1401d5a40
test eax, eax
jne 0x14000c7f4
cmp r12d, 0xf
jne 0x14000c7f4
mov rcx, qword [rbx]
lea r8d, [rax + 0xd]
add rcx, 2
lea rdx, str.configUsesCWD
call fcn.1401d5a40
test eax, eax
jne 0x14000c7f4
mov rcx, qword [rbx]
lea r8d, [r12 - 0xe]
add rcx, 0x10
lea rdx, [0x14025c790]
call fcn.1401d5a40
test eax, eax
je 0x14000c809
inc r15d
add rbx, 8
cmp r15d, dword [rbp + 0x13f8]
jge 0x14000c810
jmp 0x14000c767
mov dword [rdi + 0x50], 1
or r12, 0xffffffffffffffff
mov rcx, qword [rdi + 0x38]
lea rdx, str..log
call fcn.140003a90
mov rcx, rax
xor edx, edx
call fcn.1400a0f00
mov qword [0x1402ec7a0], rax
call fcn.140096f34
mov rcx, qword [rdi]
lea rdx, [0x1400083fc]
mov r8, rdi
call fcn.14009900c
mov rcx, qword [r14]
lea r8, [0x14025c114]
mov rdx, r12
call fcn.1400a0c68
test eax, eax
jle 0x14000c8c1
mov r8, qword [r14]
lea rcx, [0x1402f1ca0]
movsxd rbx, eax
mov r15d, 0x10000
mov r9, rbx
mov edx, r15d
call fcn.1401d5320
cmp rbx, r15
jae 0x14000ccd3
lea r8, [0x1402f1ca0]
mov dword [rsp + 0x28], 0x1000
mov byte [rbx + r8], r13b
mov r9d, r12d
lea rbx, [0x1402edca0]
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rax, [rbp + 0x13f8]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r14
cmp qword [rdi + 0x20], r13
jne 0x14000cc5d
cmp dword [rbp + 0x13f8], 2
jl 0x14000c943
mov rcx, qword [r14 + 8]
lea r8, [0x14025de14]
mov r9d, 3
mov dword [rsp + 0x20], 1
mov rdx, r12
call fcn.1400a0b24
test eax, eax
jne 0x14000cc5d
cmp dword [rbp + 0x13f8], 2
jl 0x14000c943
mov rcx, qword [r14 + 8]
lea r9d, [rax + 4]
lea r8, str..zip
mov dword [rsp + 0x20], 1
mov rdx, r12
call fcn.1400a0b24
test eax, eax
jne 0x14000cc5d
mov rcx, qword [rdi]
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, [0x14000c594]
call fcn.1400990f8
mov rcx, qword [rdi]
call fcn.14009c1e0
mov qword [rdi], r13
cmp qword [rdi + 0x48], r13
je 0x14000cc7f
cmp dword [rdi + 0x9e0], r13d
je 0x14000cc41
cmp dword [rdi + 0xbb8], r13d
jne 0x14000cb22
call fcn.14008b518
mov rbx, qword [rdi + 0x48]
mov rcx, rax
mov r14, rax
call fcn.14001e1e0
mov r8, r14
lea rdx, [0x1400917f8]
mov rcx, rbx
call fcn.1400a3c00
mov edx, r12d
mov rcx, r14
call fcn.14001c924
test rax, rax
je 0x14000cb04
mov edx, r12d
mov rcx, r14
call fcn.14001a8bc
lea r8, [rsp + 0x40]
mov edx, r12d
mov rcx, r14
call fcn.14001c4c4
mov rbx, qword [rsp + 0x40]
mov r12, rax
movabs rax, 0xaaaaaaaaaaaaaaab
lea rcx, [rbx*4 + 4]
mul rcx
mov ecx, 0xfffffffa
lea r15, [rbx + 1]
mov rsi, rdx
shr rsi, 1
sub rcx, rsi
cmp r15, rcx
jae 0x14000ca62
mov eax, 0xfffffffe
lea rdx, [rsi + 5]
sub rax, rbx
cmp rdx, rax
jae 0x14000ca62
lea rax, [rbx + 6]
mov ecx, 0xffffffe7
add rax, rsi
cmp rax, rcx
jae 0x14000ca62
test rdx, rdx
je 0x14000ca45
lea rax, [rbx + 0x1e]
add rax, rsi
cmp rax, rcx
jae 0x14000ca62
cmp r13, rdx
lea rcx, [rbx + 0x1e]
sbb rax, rax
and eax, 0x18
add rax, rsi
add rcx, rax
call fcn.1401d7f54
mov rcx, rax
jmp 0x14000ca65
mov rcx, r13
lea eax, [rsi + 5]
xor r9d, r9d
movsxd r8, eax
lea eax, [rbx + 1]
movsxd rdx, eax
call fcn.140098bdc
mov rsi, rax
cmp qword [rax - 0x10], r13
jbe 0x14000ca8c
add rax, 0x18
add rax, qword [rsi - 0x18]
jmp 0x14000ca8f
mov rax, r13
mov r9, rbx
mov qword [rsp + 0x40], rax
mov r8, r12
mov rdx, r15
mov rcx, rsi
call section..text
mov rcx, r14
call fcn.140066ff0
mov rcx, rsi
cmp rbx, 0x7fffffff
jbe 0x14000cad7
call fcn.140098cbc
mov rsi, r13
cmp dword [rdi + 0x9ec], r13d
je 0x14000cc41
lea rcx, str._Service_Parameters___ERROR
jmp 0x14000cb18
lea r8, [rsp + 0x40]
mov edx, ebx
call fcn.14009f1e8
cmp dword [rdi + 0x9ec], r13d
je 0x14000cc41
mov rdx, rsi
lea rcx, str._Service_Parameters____s
call fcn.1400a1a6c
jmp 0x14000cc41
cmp dword [rdi + 0x9ec], r13d
je 0x14000cc41
lea rcx, str._Service_Parameters___NONE
call fcn.1400a1a6c
jmp 0x14000cc41
mov rbx, qword [rdi + 0xbd0]
lea rdx, [0x14025c148]
mov rcx, rbx
call fcn.1401e3480
test eax, eax
je 0x14000cc41
mov r9, qword [rbx - 0x18]
movabs rsi, 0xaaaaaaaaaaaaaaab
mov rax, rsi
lea r8, [r9 + 0x1e]
lea rcx, [r8*4]
mul rcx
mov ecx, 0xfffffffa
shr rdx, 1
sub rcx, rdx
cmp r8, rcx
jae 0x14000cbc8
mov eax, 0xffffffe1
lea r8, [rdx + 5]
sub rax, r9
cmp r8, rax
jae 0x14000cbc8
lea rax, [r9 + 0x23]
mov ecx, 0xffffffe7
add rax, rdx
cmp rax, rcx
jae 0x14000cbc8
test r8, r8
je 0x14000cba3
lea rax, [r9 + 0x3b]
add rax, rdx
cmp rax, rcx
jae 0x14000cbc8
mov ecx, gethostname
test r8, r8
lea eax, [rcx + 0x18]
cmovne ecx, eax
add rcx, r8
add rcx, r9
call fcn.1401d7f54
mov rbx, qword [rdi + 0xbd0]
mov r10, rax
jmp 0x14000cbcb
mov r10, r13
mov rax, qword [rbx - 0x18]
xor r9d, r9d
lea rcx, [rax*4 + 0x78]
mov rax, rsi
mul rcx
mov rcx, r10
shr rdx, 1
add rdx, 5
movsxd r8, edx
movsxd rdx, dword [rbx - 0x18]
add rdx, 0x1e
call fcn.140098bdc
mov rsi, rax
cmp qword [rax - 0x10], r13
jbe 0x14000cc10
mov rdx, qword [rax - 0x18]
add rax, 0x18
add rax, rdx
jmp 0x14000cc17
mov rdx, qword [rsi - 0x18]
mov rax, r13
mov r9, qword [rdi + 0xbd0]
lea r8, str.____meshServiceName__s___
mov rcx, rsi
mov qword [rsp + 0x40], rax
call fcn.1400011e0
mov edx, eax
lea r8, [rsp + 0x40]
mov rcx, rsi
call fcn.14009f1e8
mov rcx, qword [rdi + 0x48]
call fcn.1400a47d4
mov qword [rdi + 0x48], r13
test rsi, rsi
je 0x14000cc7f
mov rcx, rsi
call fcn.140098cbc
jmp 0x14000cc7f
mov rcx, qword [rdi]
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, [0x14000c580]
call fcn.1400990f8
mov rcx, qword [rdi]
call fcn.14009c1e0
mov qword [rdi], r13
mov eax, dword [0x1402ec794]
dec eax
mov dword [0x1402ec794], eax
test eax, eax
jg 0x14000cc96
call fcn.1400d6880
mov rcx, qword [0x1402ec7a0]
test rcx, rcx
je 0x14000cca7
call fcn.1401d6b80
xor eax, eax
mov rcx, qword [rbp + 0x13a0]
xor rcx, rsp
call fcn.1401c9740
mov rbx, qword [rsp + 0x14f0]
add rsp, 0x14b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1401c9868
int3