Function at 0x14025c2a0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5c0]
sub rsp, 0x6c0
mov rax, qword [0x1404f4fb8]
xor rax, rsp
mov qword [rbp + 0x5b0], rax
cmp word [rcx], 0
je 0x14025c697
mov rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.140259d80
nop
movsx rsi, byte [rsp + 0x47]
movzx eax, sil
shr al, 7
mov rdx, qword [rsp + 0x38]
test al, 1
je 0x14025c30b
mov rcx, rdx
jmp 0x14025c313
mov ecx, reloc.WS2_32.dll_inet_addr
sub rcx, rsi
mov r15, qword [rsp + 0x30]
test rcx, rcx
je 0x14025c360
movzx eax, sil
shr al, 7
test al, 1
je 0x14025c32e
lea rcx, [r15 + rdx*2]
jmp 0x14025c33c
mov rax, rsi
add rax, rax
lea rcx, [rsp + 0x46]
sub rcx, rax
movzx eax, word [rcx - 2]
cmp ax, 0x5c
je 0x14025c350
cmp ax, 0x2f
je 0x14025c350
xor eax, eax
jmp 0x14025c355
mov eax, 1
test al, al
je 0x14025c360
mov eax, 1
jmp 0x14025c362
xor eax, eax
test al, al
jne 0x14025c388
mov edx, 1
lea r8d, [rdx + 0x5b]
lea rcx, [rsp + 0x30]
call fcn.14024fb50
movzx esi, byte [rsp + 0x47]
mov rdx, qword [rsp + 0x38]
mov r15, qword [rsp + 0x30]
mov byte [rsp + 0x20], 1
movzx eax, sil
shr al, 7
test al, 1
je 0x14025c39e
lea rdx, [r15 + rdx*2]
jmp 0x14025c3ad
movsx rax, sil
add rax, rax
lea rdx, [rsp + 0x46]
sub rdx, rax
movzx eax, sil
shr al, 7
lea rcx, [rsp + 0x30]
test al, al
cmovne rcx, r15
mov r8d, 1
call fcn.14025e7e0
mov r14, rax
xor r12d, r12d
movabs rdi, 0x200000000801
movzx eax, sil
shr al, 7
lea rcx, [rsp + 0x30]
test al, al
cmovne rcx, r15
mov rax, r14
sub rax, rcx
sar rax, 1
inc eax
cmp eax, 0x100
jae 0x14025c5c1
shr sil, 7
lea rdx, [rsp + 0x30]
test sil, sil
cmovne rdx, r15
mov r8d, eax
lea rcx, [rbp + 0x190]
call fcn.14026cc20
movzx eax, word [rbp + 0x190]
test ax, ax
je 0x14025c461
lea r8, [rbp + 0x160]
xor edx, edx
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x14025c45a
mov eax, dword [rbp + 0x160]
cmp eax, 0xffffffff
je 0x14025c45a
test al, 0x10
jne 0x14025c4e6
movzx eax, word [rbp + 0x190]
lea rbx, [rbp + 0x190]
test ax, ax
je 0x14025c5b7
lea rcx, [rbp + 0x190]
call fcn.14026cd10
mov r8, rax
movzx eax, word [rbp + rax*2 + 0x18e]
add eax, 0xffffffd1
cmp eax, 0x2d
ja 0x14025c49f
cdqe
bt rdi, rax
jae 0x14025c49f
mov eax, 1
jmp 0x14025c4a1
xor eax, eax
test al, al
je 0x14025c4bf
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x3a0]
call fcn.14026cc20
lea rbx, [rbp + 0x3a0]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14025c4df
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14025c5b7
test r12, r12
cmove r12, r14
movsx rsi, byte [rsp + 0x47]
movzx eax, sil
shr al, 7
mov r13, qword [rsp + 0x38]
mov r15, qword [rsp + 0x30]
test al, 1
je 0x14025c507
lea rbx, [r15 + r13*2]
jmp 0x14025c515
mov rax, rsi
add rax, rax
lea rbx, [rsp + 0x46]
sub rbx, rax
cmp rbx, qword [0x14051e2d0]
jne 0x14025c53a
mov rbx, r14
cmp word [r14], 0
je 0x14025c53a
nop dword [rax + rax]
add rbx, 2
cmp word [rbx], 0
jne 0x14025c530
mov edi, 2
mov rcx, r14
cmp r14, rbx
jae 0x14025c587
test edi, edi
jle 0x14025c55f
mov rdx, rbx
call fcn.14025dbf0
mov rcx, rax
dec edi
cmp rax, rbx
jb 0x14025c547
test edi, edi
jne 0x14025c587
cmp rcx, r14
jbe 0x14025c587
movzx eax, word [rcx - 2]
cmp ax, 0x5c
je 0x14025c57a
cmp ax, 0x2f
je 0x14025c57a
xor eax, eax
jmp 0x14025c57f
mov eax, 1
test al, al
je 0x14025c587
sub rcx, 2
mov r14, rcx
movzx eax, sil
shr al, 7
test al, 1
je 0x14025c59b
lea rdx, [r15 + r13*2]
jmp 0x14025c5a9
mov rax, rsi
add rax, rax
lea rdx, [rsp + 0x46]
sub rdx, rax
cmp rcx, rdx
je 0x14025c639
jmp 0x14025c3d0
movzx esi, byte [rsp + 0x47]
mov r15, qword [rsp + 0x30]
mov byte [rsp + 0x20], 0
test r12, r12
je 0x14025c639
movzx eax, sil
shr al, 7
lea rcx, [rsp + 0x30]
test al, al
cmovne rcx, r15
sub r12, rcx
sar r12, 1
lea r8, [r12 + 1]
shr sil, 7
lea rdx, [rsp + 0x30]
test sil, sil
cmovne rdx, r15
lea rcx, [rbp + 0x190]
call fcn.14026cc20
mov r8d, 0x104
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x3a0]
call fcn.14026cc20
lea rcx, [rbp + 0x3a0]
call fcn.14026cd10
mov rdx, rax
lea rcx, [rbp + 0x3a0]
call fcn.140261470
nop
movzx ecx, byte [rsp + 0x47]
movzx eax, cl
shr al, 7
test al, 1
je 0x14025c690
mov r8, qword [rsp + 0x40]
movabs rax, 0x7fffffffffffffff
and r8, rax
inc r8
shr cl, 7
test cl, 1
je 0x14025c676
mov rdx, qword [rsp + 0x30]
test rdx, rdx
jne 0x14025c67b
movzx eax, byte [rsp + 0x20]
jmp 0x14025c699
lea rdx, [rsp + 0x30]
cmp rdx, qword [rsp + 0x58]
je 0x14025c690
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
add r8, r8
call qword [rax + 0x18]
movzx eax, byte [rsp + 0x20]
jmp 0x14025c699
xor al, al
mov rcx, qword [rbp + 0x5b0]
xor rcx, rsp
call fcn.140233ef0
lea r11, [rsp + 0x6c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret