Function at 0x140005320
Capabilities:
Create directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x7f0]
sub rsp, 0x8f0
mov rax, qword [0x140083180]
xor rax, rsp
mov qword [rbp + 0x7e0], rax
mov rbx, rdx
mov qword [rsp + 0x38], rcx
mov rsi, rcx
mov qword [rsp + 0x48], r9
xor edx, edx
lea rcx, [rbp + 0x3c0]
xor r12d, r12d
mov r8d, 0x201
call sub.VCRUNTIME140.dll_memset
mov r14, 0xffffffffffffffff
nop dword [rax]
inc r14
cmp byte [rbx + r14], r12b
jne 0x140005380
lea rdi, [r14 + 1]
mov qword [rsp + 0x40], r14
mov r15d, 0x200
cmp rdi, r15
jbe 0x1400053a7
mov eax, 0xfffffffe
jmp 0x140005804
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x458
call sub.VCRUNTIME140.dll_memset
mov r8, rbx
lea rcx, [rbp + 0x3c0]
mov rdx, r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
movzx eax, byte [rbp + r14 + 0x3bf]
cmp al, 0x2f
je 0x1400053ee
cmp al, 0x5c
je 0x1400053ee
mov byte [rbp + r14 + 0x3c0], 0x5c
mov r14, rdi
mov qword [rsp + 0x40], rdi
mov rdi, r15
sub rdi, r14
cmp rdi, r15
cmovae rdi, r15
mov qword [rsp + 0x50], rdi
test rsi, rsi
je 0x1400057fb
mov ebx, dword [rsi + 0x10]
xor r15d, r15d
mov qword [rsp + 0x940], r13
lea r13, [rsi + 0x10]
mov dword [rsp + 0x30], ebx
lea r14d, [r15 + 1]
test ebx, ebx
je 0x140005732
xor eax, eax
mov dword [rsp + 0x34], eax
mov rcx, qword [rsi + 0x68]
test rcx, rcx
je 0x14000544d
cmp r15d, dword [r13]
jae 0x14000544d
mov rax, qword [rcx + 0x20]
mov r8d, dword [rax + r12]
add r8, qword [rcx]
jmp 0x140005450
xor r8d, r8d
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], 0
mov edx, r15d
mov rcx, rsi
call fcn.1400046c0
test eax, eax
je 0x14000572c
xor r10d, r10d
lea r8, [rbp - 0x50]
xor edx, edx
lea rcx, [rbp - 0x50]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], dl
jne 0x140005485
test rax, rax
je 0x140005724
movzx ecx, byte [r8]
cmp cl, 0x2f
je 0x1400054a4
cmp cl, 0x5c
jne 0x1400054a9
inc r8
jmp 0x140005496
test cl, cl
je 0x14000550a
nop dword [rax]
lea r8, [r8 + 1]
cmp cl, 0x2f
je 0x1400054cf
cmp cl, 0x5c
je 0x1400054cf
lea rax, [rdx + r10]
mov byte [rbp + rax - 0x50], cl
test cl, cl
je 0x1400054fe
inc rdx
jmp 0x1400054fe
test rdx, rdx
je 0x1400054fc
xor eax, eax
lea r9, [rbp - 0x50]
add r9, r10
nop dword [rax]
cmp byte [r9 + rax], 0x2e
jne 0x1400054f1
inc rax
cmp rax, rdx
jb 0x1400054e0
jmp 0x1400054fc
add r10, rdx
mov byte [rbp + r10 - 0x50], cl
inc r10
xor edx, edx
movzx ecx, byte [r8]
test cl, cl
jne 0x1400054b0
mov dword [rsp + 0x30], ebx
lea rcx, [rbp - 0x50]
xor eax, eax
add rcx, r10
test rdx, rdx
je 0x140005526
cmp byte [rcx + rax], 0x2e
jne 0x14000556c
inc rax
cmp rax, rdx
jb 0x140005518
mov byte [rcx], 0
lea rcx, [rbp + 0x3c0]
mov r9, rdi
add rcx, qword [rsp + 0x40]
lea r8, [rbp - 0x50]
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
movzx edi, byte [rbp + 0x3c0]
mov rsi, qword [rbp + 0x3c1]
lea eax, [rdi - 0x41]
cmp al, 0x19
jbe 0x140005561
lea eax, [rdi - 0x61]
cmp al, 0x19
ja 0x14000557b
cmp sil, 0x3a
jne 0x14000557b
mov ebx, r14d
jmp 0x140005580
lea rax, [rdx + r10]
mov dword [rsp + 0x30], ebx
mov byte [rbp + rax - 0x50], 0
jmp 0x140005529
xor ebx, ebx
xor r14d, r14d
xor edx, edx
lea rcx, [rbp + 0x5d0]
mov r8d, 0x201
call sub.VCRUNTIME140.dll_memset
test ebx, ebx
je 0x1400055a6
mov byte [rbp + 0x5d0], dil
mov byte [rbp + 0x5d1], sil
mov eax, ebx
lea rsi, [rax + rax]
cmp byte [rbp + rsi + 0x3c0], 0
je 0x140005634
cmp rsi, 0x200
jge 0x140005634
movzx eax, byte [rbp + rsi + 0x3c0]
cmp al, 0x2f
je 0x1400055cf
cmp al, 0x5c
jne 0x140005618
test r14, r14
jne 0x1400055db
test rsi, rsi
jg 0x1400055e1
jmp 0x140005618
cmp rsi, 2
jle 0x140005618
lea rcx, [rbp + 0x5d0]
call fcn.140003250
mov rcx, rax
mov rdi, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmkdir]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp ebx, 0xffffffff
jne 0x140005618
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0x11
jne 0x14000570b
movzx eax, byte [rbp + rsi + 0x3c0]
mov byte [rbp + rsi + 0x5d0], al
inc rsi
cmp byte [rbp + rsi + 0x3c0], 0
jne 0x1400055b6
movzx eax, word [rsp + 0x70]
mov ecx, 0xffef
shr ax, 8
sub ax, 3
test cx, ax
jne 0x140005654
test dword [rbp - 0x6c], 0x20000000
jne 0x1400056ba
mov rsi, qword [rsp + 0x38]
mov rdx, qword [rsi + 0x68]
test rdx, rdx
je 0x140005693
cmp r15d, dword [rsi + 0x10]
jae 0x140005693
mov rax, qword [rdx + 0x20]
mov ecx, dword [rax + r12]
add rcx, qword [rdx]
je 0x140005693
movzx edx, byte [rcx + 0x1d]
movzx eax, byte [rcx + 0x1c]
shl edx, 8
or edx, eax
je 0x14000568b
cmp byte [rdx + rcx + 0x2d], 0x2f
je 0x1400056bf
test byte [rcx + 0x26], 0x10
je 0x14000569a
jmp 0x1400056bf
mov dword [rsi + 0x1c], 0x18
lea r8, [rbp + 0x3c0]
mov edx, r15d
mov rcx, rsi
call fcn.1400051e0
test eax, eax
jne 0x1400056bf
lea r12d, [rax - 0x13]
lea r14d, [rax + 1]
jmp 0x140005732
mov rsi, qword [rsp + 0x38]
mov r8d, dword [0x14008a778]
lea rdx, [rbp + 0x3c0]
mov rax, qword [rsp + 0x48]
lea rcx, str.Extracted:__s___d_of__d__n
inc r8d
mov dword [0x14008a778], r8d
mov r9d, dword [rax]
call fcn.140001390
mov ebx, dword [rsp + 0x30]
inc r15d
add r12, 4
mov r14d, 1
cmp r15d, ebx
jae 0x14000571d
mov rdi, qword [rsp + 0x50]
jmp 0x140005431
mov rsi, qword [rsp + 0x38]
mov r12d, 0xffffffe9
lea r14d, [r12 + 0x18]
jmp 0x140005732
mov r12d, dword [rsp + 0x34]
jmp 0x140005732
mov r12d, 0xfffffffe
jmp 0x140005732
mov r12d, 0xfffffffd
mov rbx, qword [rsi + 0x68]
mov r13, qword [rsp + 0x940]
test rbx, rbx
je 0x1400057f4
cmp qword [rsi + 0x28], 0
je 0x1400057f4
mov rax, qword [rsi + 0x30]
test rax, rax
je 0x1400057f4
cmp dword [rsi + 0x14], 1
jne 0x1400057f4
mov rcx, qword [rsi + 0x40]
mov qword [rsi + 0x68], 0
mov rdx, qword [rbx]
call rax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rsi + 0x40]
call qword [rsi + 0x30]
xorps xmm0, xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
mov rdx, qword [rbx + 0x40]
mov rcx, qword [rsi + 0x40]
call qword [rsi + 0x30]
xorps xmm0, xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x1400057dc
cmp dword [rsi + 0x18], 4
jne 0x1400057d4
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
cmp eax, 0xffffffff
jne 0x1400057d4
mov dword [rsi + 0x1c], reloc.WS2_32.dll_setsockopt
xor r14d, r14d
mov qword [rbx + 0x70], 0
mov rcx, qword [rsi + 0x40]
mov rdx, rbx
call qword [rsi + 0x30]
mov dword [rsi + 0x14], 0
test r14d, r14d
jne 0x140005801
jmp 0x1400057fb
mov dword [rsi + 0x1c], 0x18
mov r12d, 0xffffffe7
mov eax, r12d
mov rcx, qword [rbp + 0x7e0]
xor rcx, rsp
call fcn.14005d470
add rsp, 0x8f0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret