Function at 0x140057980
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x1400d5180]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov r14, rdx
mov r15, rcx
mov byte [rsp + 0x20], ntohs
mov al, 0x7b
mov dl, 0x68
mov r8b, 0x7f
mov cl, 0x7e
mov r9b, 0x64
mov r10b, 0x62
mov r11b, 0x63
xor ebx, ebx
xor al, 0xd
mov byte [rsp + 0x21], al
xor dl, 0xd
mov byte [rsp + 0x22], dl
xor r8b, 0xd
mov byte [rsp + 0x23], r8b
xor cl, 0xd
mov byte [rsp + 0x24], cl
xor r9b, 0xd
mov byte [rsp + 0x25], r9b
xor r10b, 0xd
mov byte [rsp + 0x26], r10b
xor r11b, 0xd
mov byte [rsp + 0x27], r11b
mov byte [rsp + 0x28], bl
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rsp + 0x21]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140057a23
lea rdx, [rsp + 0x21]
lea rcx, [rsp + 0x30]
call fcn.1400031d0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140061ab0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140057a8d
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057a88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057a88
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a719c
lea rdx, [0x1400edcf0]
cmp qword [0x1400edd08], 0xf
cmova rdx, qword [0x1400edcf0]
mov rax, rbx
inc rax
cmp byte [rdx + rax], 0
jne 0x140057aa7
lea rcx, [rsp + 0x50]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
cmp rsi, 0xf
cmova rcx, rdi
mov r8, qword [rsp + 0x60]
cmp r8, rax
jne 0x140057ada
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140057adf
mov byte [r15 + 0x45], 1
cmp rsi, 0xf
jbe 0x140057b1a
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140057b11
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057b11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400a719c
nop
lea rcx, [rsp + 0x50]
call fcn.140055a30
mov rsi, rax
lea rdi, [r15 + 0x88]
cmp rdi, rax
je 0x140057b95
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140057b69
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140057b64
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140057bc9
mov rcx, r8
call fcn.1400a719c
xor eax, eax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], al
movups xmm0, xmmword [rsi]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], al
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140057bd5
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057bd0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057bd0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a719c
cmp qword [rdi + 0x18], 0xf
jbe 0x140057bdf
mov rdi, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8, rbx
inc r8
cmp byte [rdi + r8], 0
jne 0x140057bf3
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1400031d0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8, rbx
nop
inc r8
cmp byte [r14 + r8], 0
jne 0x140057c20
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.1400031d0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140078024
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140057c88
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057c83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057c83
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a719c
movdqa xmm0, xmmword [0x1400bb100]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140057cdc
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057cd6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057cd6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a719c
nop
mov byte [rsp + 0x20], 0x2d
mov al, 0x7e
mov cl, 0x58
mov dl, 0x4e
movzx r8d, dl
mov r9b, 0x48
mov r10b, 0x5e
movzx r11d, r10b
xor edi, edi
xor al, 0x2d
mov byte [rsp + 0x21], al
xor cl, 0x2d
mov byte [rsp + 0x22], cl
xor dl, 0x2d
mov byte [rsp + 0x23], dl
xor r8b, 0x2d
mov byte [rsp + 0x24], r8b
xor r9b, 0x2d
mov byte [rsp + 0x25], r9b
xor r10b, 0x2d
mov byte [rsp + 0x26], r10b
xor r11b, 0x2d
mov byte [rsp + 0x27], r11b
mov byte [rsp + 0x28], dil
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rsp + 0x21]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], dil
jne 0x140057d50
mov r8, rbx
lea rdx, [rsp + 0x21]
lea rcx, [rsp + 0x30]
call fcn.1400031d0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140061ab0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140057dbc
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057db7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057db7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a719c
movdqa xmm0, xmmword [0x1400bb100]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
cmp qword [rsp + 0x60], 0
je 0x140057eed
mov byte [r15 + 0x42], 1
lea rcx, [0x1400edc20]
cmp qword [0x1400edc38], 7
cmova rcx, qword [0x1400edc20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [0x1400edc40]
cmp qword [0x1400edc58], 7
cmova rcx, qword [0x1400edc40]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [0x1400edc60]
cmp qword [0x1400edc78], 7
cmova rcx, qword [0x1400edc60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [0x1400edc80]
cmp qword [0x1400edc98], 7
cmova rcx, qword [0x1400edc80]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [0x1400edca0]
cmp qword [0x1400edcb8], 7
cmova rcx, qword [0x1400edca0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [0x1400ed260]
call fcn.140052f60
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140057ec2
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057ebc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057f21
call fcn.1400a719c
nop
mov al, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400a7140
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140057f2d
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057f28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057f28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a719c
mov al, 1
jmp 0x140057ec4