Function at 0x180042290
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
lea rbp, [rsp - 0x4f]
sub rsp, 0xc8
mov r8, qword [0x180282370]
xor esi, esi
xorps xmm0, xmm0
mov qword [rbp - 9], rsi
movups xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x19], sil
mov rcx, 0xffffffffffffffff
mov qword [rbp - 1], reloc.WS2_32.dll_ntohs
nop word [rax + rax]
inc rcx
cmp byte [rdx + rcx], sil
jne 0x1800422d0
movabs rax, 0x7fffffffffffffff
sub rax, r8
cmp rax, rcx
jb 0x1800427a0
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x39]
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xf0], rdi
lea rdi, [0x180282360]
mov qword [rsp + 0x28], rdx
mov r9, rdi
cmova r9, qword [0x180282360]
movzx edx, byte [rbp + 0x67]
mov qword [rsp + 0x20], r8
mov r8, rdi
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm7
call fcn.180010050
mov rdx, qword [rbp - 0x21]
mov rcx, qword [rbp - 0x29]
mov rax, rdx
sub rax, rcx
cmp rax, 5
jb 0x180042393
cmp rdx, 0xf
lea rax, [rcx + 5]
lea rbx, [rbp - 0x39]
mov qword [rbp - 0x29], rax
cmova rbx, qword [rbp - 0x39]
lea rdx, str..cold
add rbx, rcx
mov r8d, 5
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbp - 0x39]
mov byte [rbx + 5], sil
jmp 0x1800423b1
lea r9, str..cold
mov qword [rsp + 0x20], 5
mov edx, 5
lea rcx, [rbp - 0x39]
call fcn.18000fec0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], sil
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x1800423fe
mov rcx, qword [rbp - 0x19]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800423f9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180042438
call fcn.18019a9ec
mov rdx, qword [rbp - 0x21]
movups xmmword [rbp - 0x19], xmm6
movups xmmword [rbp - 9], xmm7
cmp rdx, 0xf
jbe 0x180042444
mov rcx, qword [rbp - 0x39]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004243f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004243f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18019a9ec
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
mov qword [rsp + 0xf8], r14
cmova rdi, qword [0x180282360]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rdi, qword [0x180282380]
mov r14, qword [0x180282388]
cmp rdi, r14
je 0x1800425a8
nop
cmp qword [rbp - 1], 0xf
lea rsi, [rbp - 0x19]
mov rbx, qword [rdi]
lea r10, [rbp - 0x24]
cmova rsi, qword [rbp - 0x19]
mov rax, qword [rbx + 0x40]
mov r8d, dword [rax]
test r8d, r8d
jns 0x1800424f0
neg r8d
nop dword [rax]
nop dword [rax + rax]
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x1800424b0
dec r10
mov byte [r10], reloc.WLDAP32.dll_Ordinal_45
jmp 0x18004251a
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x1800424f0
lea r9, [rbp + 0x67]
mov rdx, r10
lea r8, [rbp - 0x24]
lea rcx, [rbp + 7]
call fcn.18008b490
cmp qword [rbp + 0x1f], 0xf
lea r8, [rbp + 7]
lea rdx, [rbx + 0x20]
cmova r8, qword [rbp + 7]
cmp qword [rdx + 0x18], 0xf
jbe 0x18004254a
mov rdx, qword [rdx]
cmp qword [rbx + 0x18], 0xf
jbe 0x180042554
mov rbx, qword [rbx]
mov r9, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x18004259b
mov rcx, qword [rbp + 7]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180042596
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180042753
call fcn.18019a9ec
add rdi, 8
cmp rdi, r14
jne 0x180042480
mov rsi, qword [0x1802823b0]
mov r14, qword [0x1802823b8]
mov qword [rsp + 0xc0], r15
cmp rsi, r14
je 0x1800426af
nop word [rax + rax]
mov rdi, qword [rsi]
lea r15, [rbp - 0x19]
cmp qword [rbp - 1], 0xf
lea rcx, [0x1801d22f8]
cmova r15, qword [rbp - 0x19]
mov rax, qword [rdi + 0x40]
movss xmm6, dword [rax]
cvtps2pd xmm6, xmm6
movaps xmm1, xmm6
movq rdx, xmm6
call fcn.1800103e0
movsxd rbx, eax
lea rcx, [rbp - 0x39]
mov rdx, rbx
call fcn.180082e00
cmp qword [rbp - 0x21], 0xf
lea rcx, [rbp - 0x39]
lea rdx, [rbx + 1]
movaps xmm3, xmm6
cmova rcx, qword [rbp - 0x39]
lea r8, [0x1801d22f8]
movq r9, xmm6
call fcn.180010320
cmp qword [rbp - 0x21], 0xf
lea r8, [rbp - 0x39]
lea rdx, [rdi + 0x20]
cmova r8, qword [rbp - 0x39]
cmp qword [rdx + 0x18], 0xf
jbe 0x180042651
mov rdx, qword [rdx]
cmp qword [rdi + 0x18], 0xf
jbe 0x18004265b
mov rdi, qword [rdi]
mov r9, r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x1800426a2
mov rcx, qword [rbp - 0x39]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004269d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004275a
call fcn.18019a9ec
add rsi, 8
cmp rsi, r14
jne 0x1800425d0
mov rdi, qword [0x1802823a0]
mov rbx, qword [0x180282398]
cmp rbx, rdi
je 0x18004271a
lea rsi, [0x1801d2c80]
nop dword [rax]
cmp qword [rbp - 1], 0xf
lea r9, [rbp - 0x19]
mov rcx, qword [rbx]
lea r8, [0x1801d2c84]
cmova r9, qword [rbp - 0x19]
lea rdx, [rcx + 0x20]
mov rax, qword [rcx + 0x40]
cmp byte [rax], 0
cmovne r8, rsi
cmp qword [rdx + 0x18], 0xf
jbe 0x180042701
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 0xf
jbe 0x18004270b
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add rbx, 8
cmp rbx, rdi
jne 0x1800426d0
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x180042766
mov rcx, qword [rbp - 0x19]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180042761
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180042761
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18019a9ec
mov r15, qword [rsp + 0xc0]
mov r14, qword [rsp + 0xf8]
movaps xmm6, xmmword [rsp + 0xb0]
mov rdi, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0xe8]
movaps xmm7, xmmword [rsp + 0xa0]
add rsp, 0xc8
pop rsi
pop rbp
ret
call fcn.18000fd20
int3