Function at 0x18004bea0
Capabilities:
Create directory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4e8]
sub rsp, 0x5c0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1800e4080]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
mov r13, rdx
mov qword [rbp - 0x68], rdx
xor r14d, r14d
mov dword [rsp + 0x68], r14d
lea rdx, [rbp - 0x40]
lea rcx, str.C:DR
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
test eax, eax
jne 0x18004c844
mov ebx, 0x4000
test word [rbp - 0x3a], bx
je 0x18004c844
lea rdx, [rbp - 0x40]
lea rcx, str.C:DRcfg
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
test eax, eax
jne 0x18004bf2d
test word [rbp - 0x3a], bx
jne 0x18004bf3a
lea rcx, [0x1800d5080]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmkdir]
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1800d51f8]
mov qword [rbp - 0x10], rax
lea rcx, [rbp + 0x98]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x68], 0x80
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x10], rax
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x14], edx
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp - 8], rax
mov byte [rbp + 0x74], 0
mov byte [rbp + 0x69], 0
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x78], r14
mov rax, qword [0x1800f4568]
mov qword [rbp + 0x6c], rax
mov qword [rbp + 0x60], r14
mov rcx, qword [r13 + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0xa
jb 0x18004c8dc
mov rax, r13
cmp qword [r13 + 0x18], 0x10
jb 0x18004c00a
mov rax, qword [r13]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0xa
lea r9, str.C:DRcfg_
mov r8, r13
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.18004eca0
mov r12d, 0x280
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rdx, qword [rbp - 0x60]
mov r8d, 2
lea rcx, [rbp - 8]
call fcn.18004e460
xor r8d, r8d
test rax, rax
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x10]
je 0x18004c079
add rcx, rax
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x18004c088
add rcx, rax
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x18004c0c6
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c0c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004c0c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009ff1c
lea rdx, [rbp + 0x1d0]
call fcn.18004cd70
nop
lea rdx, [rbp + 0x100]
call fcn.18004cb10
nop
mov r15, r14
lea r14, [rbp + 0x1f4]
movss xmm6, dword [0x1800d5d14]
movzx ebx, byte [rsp + 0x40]
movzx edi, byte [rsp + 0x40]
movzx esi, byte [rsp + 0x40]
cmp qword [rbp + 0x78], 0
je 0x18004c4e0
lea rdx, [r14 - 0x24]
lea rcx, [rbp - 0x40]
call fcn.180041a90
movss xmm0, dword [r14 - 4]
movss dword [rbp - 0x20], xmm0
movzx eax, byte [r14]
mov byte [rbp - 0x1c], al
ucomiss xmm0, xmm6
jp 0x18004c32b
jne 0x18004c32b
lea rdx, str.false
test al, al
lea rax, str.true
cmovne rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], al
jne 0x18004c166
lea rcx, [rbp - 0x60]
call fcn.1800426a0
nop
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp - 0x30]
sub rax, rcx
cmp rax, 2
jb 0x18004c8e2
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae r9, qword [rbp - 0x40]
mov qword [rsp + 0x30], 2
lea rax, [0x1800d50d0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp - 0x40]
movzx edx, sil
lea rcx, [rsp + 0x70]
call fcn.18004eca0
or r12d, 0x20
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.180041bb0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xor ecx, ecx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rcx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], cl
or r12d, 0x40
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
lea rcx, [rbp - 0x10]
call fcn.18004efe0
lea rdx, [0x18004e610]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x18004c292
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c28d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004c805
call fcn.18009ff1c
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x18004c2e6
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c2e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004c80c
call fcn.18009ff1c
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x18004c4a5
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c49f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004c49f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cvtps2pd xmm1, xmm0
lea rcx, [rsp + 0x48]
call fcn.18004b450
or r12d, 4
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp - 0x30]
sub rax, rcx
cmp rax, 2
jb 0x18004c8e8
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae r9, qword [rbp - 0x40]
mov qword [rsp + 0x30], 2
lea rax, [0x1800d50d0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp - 0x40]
movzx edx, bl
lea rcx, [rsp + 0x70]
call fcn.18004eca0
or r12d, 8
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x70]
movzx edx, dil
lea rcx, [rbp - 0x60]
call fcn.18004eab0
or r12d, 0x10
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
lea rcx, [rbp - 0x10]
call fcn.18004efe0
lea rdx, [0x18004e610]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x18004c416
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c411
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004c813
call fcn.18009ff1c
mov qword [rbp - 0x50], 0
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x18004c467
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c461
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004c81a
call fcn.18009ff1c
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x18004c4a5
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c49f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004c821
call fcn.18009ff1c
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x18004c4e0
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c4db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004c83d
call fcn.18009ff1c
inc r15
add r14, 0x28
cmp r15, 0x12
jl 0x18004c101
xor r14d, r14d
mov esi, r14d
lea rdi, [rbp + 0x124]
movzx ebx, byte [rsp + 0x40]
cmp qword [rbp + 0x78], 0
je 0x18004c747
lea rdx, [rdi - 0x24]
lea rcx, [rbp - 0x40]
call fcn.180041a90
movss xmm0, dword [rdi - 4]
movss dword [rbp - 0x20], xmm0
movzx eax, byte [rdi]
mov byte [rbp - 0x1c], al
lea rdx, str.false
test al, al
lea rax, str.true
cmovne rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], r14
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x18004c555
lea rcx, [rbp - 0x60]
call fcn.1800426a0
nop
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp - 0x30]
sub rax, rcx
cmp rax, 2
jb 0x18004c8d6
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae r9, qword [rbp - 0x40]
mov qword [rsp + 0x30], 2
lea rax, [0x1800d50d0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp - 0x40]
movzx edx, bl
lea rcx, [rsp + 0x70]
call fcn.18004eca0
or r12d, 2
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.180041bb0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or r12d, 1
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
lea rcx, [rbp - 0x10]
call fcn.18004efe0
lea rdx, [0x18004e610]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x18004c680
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c67b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004c828
call fcn.18009ff1c
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x18004c6d0
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c6ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004c82f
call fcn.18009ff1c
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x18004c70c
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c706
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004c836
call fcn.18009ff1c
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x18004c747
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c742
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004c83d
call fcn.18009ff1c
inc rsi
add rdi, 0x28
cmp rsi, 5
jl 0x18004c503
lea rcx, [rbp - 8]
call fcn.18004e3a0
test rax, rax
jne 0x18004c783
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x10]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
lea r9, [fcn.180031e50]
mov edx, Ordinal_41
lea r8d, [rdx - 0x23]
lea rcx, [rbp + 0x100]
call fcn.18009fe4c
nop
lea r9, [fcn.180031e50]
mov edx, Ordinal_41
lea r8d, [rdx - 0x16]
lea rcx, [rbp + 0x1d0]
call fcn.18009fe4c
nop
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x10], rax
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x14], edx
lea rcx, [rbp - 8]
call fcn.18004dec0
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x98]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x18004c852
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, str.C:DR_
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmkdir]
nop
mov rdx, qword [r13 + 0x18]
cmp rdx, 0x10
jb 0x18004c889
inc rdx
mov rcx, qword [r13]
cmp rdx, 0x1000
jb 0x18004c884
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18004c8cf
mov rcx, r8
call fcn.18009ff1c
mov qword [r13 + 0x10], r14
mov qword [r13 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r13], 0
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.18009fa70
lea r11, [rsp + 0x5c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1800308d0
nop
call fcn.1800308d0
nop
call fcn.1800308d0
nop
call fcn.1800308d0
int3