Function at 0x1400363d0
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
mov byte [rcx + 0x290], 1
mov word [rcx + 0xbe0], 0
mov rdi, r8
mov ecx, 0x28
mov rsi, rdx
call fcn.1400b7310
xor ebp, ebp
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14003642e
lea rcx, vtable.Label.0
mov qword [rax + 0x10], rbp
mov qword [rax], rcx
lea rcx, [0x1400da7a4]
mov qword [rax + 8], rcx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rbp
jmp 0x140036431
mov rax, rbp
mov qword [rbx + 0x6d8], rax
test rax, rax
je 0x1400366cb
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.140037270
cmp eax, 1
jne 0x1400366cb
xor r9d, r9d
mov qword [rsp + 0x20], rbp
xor r8d, r8d
mov dl, 0x68
mov rcx, rbx
call fcn.14003fc70
test eax, eax
je 0x1400366cb
mov rdx, qword [rbx + 0x660]
mov rcx, rbx
call fcn.140049400
test eax, eax
je 0x1400366cb
mov rdx, qword [rbx + 0x660]
mov rcx, rbx
call fcn.140049530
cmp qword [rbx + 0x670], 0
je 0x1400364d7
mov rax, qword [rbx + 0x660]
mov rcx, qword [rbx + 0x678]
mov qword [rcx + 0x20], rax
mov rcx, qword [rbx + 0x660]
mov rax, qword [rbx + 0x678]
mov qword [rcx + 0x18], rax
mov rax, qword [rbx + 0x670]
mov qword [rbx + 0x660], rax
cmp dword [rbx + 0x698], 0
mov esi, ebp
jle 0x140036570
mov qword [rsp + 0x58], r14
mov r14, rbp
nop
mov rax, qword [rbx + 0x690]
mov rdi, qword [r14 + rax]
cmp byte [rdi + 0x79], 0
jne 0x14003655d
test byte [rdi + 0x78], 4
jne 0x14003655d
cmp byte [rdi + 0x7b], 0
jne 0x14003655d
mov r8, qword [rdi + 0x38]
lea r9, [rdi + 0x5c]
mov rdx, rdi
mov byte [rdi + 0x7b], 1
mov rcx, rbx
call fcn.1400581c0
mov r8, qword [rdi + 0x48]
lea r9, [rdi + 0x68]
mov rdx, rdi
mov rcx, rbx
call fcn.1400581c0
mov r8, qword [rdi + 0x40]
lea r9, [rdi + 0x64]
mov rdx, rdi
mov rcx, rbx
call fcn.1400581c0
mov r8, qword [rdi + 0x50]
lea r9, [rdi + 0x70]
mov rdx, rdi
mov rcx, rbx
call fcn.1400581c0
inc esi
add r14, 8
cmp esi, dword [rbx + 0x698]
jl 0x1400364f0
mov r14, qword [rsp + 0x58]
cmp qword [rbx + 0x270], 0
je 0x14003659e
mov rcx, rbx
call fcn.140044ff0
test eax, eax
je 0x1400366cb
mov rcx, qword [rbx + 0x270]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov qword [rbx + 0x270], rbp
cmp dword [0x1401148a0], 0
je 0x1400365af
mov rcx, rbx
call fcn.140058360
mov rcx, qword [rbx + 0xbe8]
test rcx, rcx
je 0x1400365d4
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [0x140113aa0]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
inc dword [rbx + 0x28c]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbp
mov dl, 0x68
mov rcx, rbx
call fcn.14003fc70
test eax, eax
je 0x1400366cb
xor r9d, r9d
mov qword [rsp + 0x20], rbp
xor r8d, r8d
mov dl, 0x68
mov rcx, rbx
call fcn.14003fc70
test eax, eax
je 0x1400366cb
mov rcx, qword [rbx + 0x6d8]
xor r9d, r9d
mov rax, qword [rbx + 0x668]
xor r8d, r8d
mov qword [rsp + 0x20], rbp
mov qword [rcx + 0x10], rax
mov rcx, rbx
mov rdx, qword [rbx + 0x660]
call fcn.1400495c0
test rax, rax
je 0x1400366cb
mov rdx, qword [rbx + 0x660]
mov rcx, rbx
call fcn.1400499c0
test rax, rax
je 0x1400366cb
mov r9d, 3
lea rdx, str.ErrorLevel
xor r8d, r8d
mov rcx, rbx
call fcn.140048640
mov qword [0x140113a28], rax
test rax, rax
je 0x1400366cb
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [0x1400da884]
mov rcx, rax
lea r8, [r9 - 1]
call fcn.1400befb0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [rsp + 0x50]
call fcn.14002f340
mov eax, 1
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [rsp + 0x60]
mov eax, 0xffffffff
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret