Function at 0x140001d10
Capabilities:
Create directory

Disassembly:
sub rsp, 0x168
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x150], rax
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x140001f60
lea rcx, [rsp + 0x30]
call fcn.14000cfb0
nop
xor edx, edx
lea rcx, str.Logs
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, 3
jne 0x140001dae
mov edx, 0xc000000
mov rcx, qword [0x140024d38]
call qword [sym.imp.pdcurses.dll_wattron]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
xor r9d, r9d
lea rdx, str.CreateDirectory_failed___d__n
mov rcx, qword [0x140024d38]
call qword [sym.imp.pdcurses.dll_wprintw]
mov edx, 0xc000000
mov rcx, qword [0x140024d38]
call qword [sym.imp.pdcurses.dll_wattroff]
mov byte [reloc.WS2_32.dll_accept], 0
jmp 0x140001f45
lea rcx, [0x140024d40]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
lea rdx, [0x14001b788]
lea rcx, [rsp + 0x40]
call fcn.14000fca0
mov rcx, rax
movzx edx, word [0x140024d40]
call qword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int____ptr64]
mov rcx, rax
lea rdx, [0x14001b784]
call fcn.14000fca0
mov rcx, rax
movzx edx, word [0x140024d42]
call qword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int____ptr64]
mov rcx, rax
lea rdx, [0x14001b780]
call fcn.14000fca0
mov rcx, rax
movzx edx, word [0x140024d46]
call qword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int____ptr64]
mov rcx, rax
lea rdx, [0x14001b77c]
call fcn.14000fca0
mov rcx, rax
movzx edx, word [0x140024d48]
call qword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int____ptr64]
mov rcx, rax
lea rdx, str.____
call fcn.14000fca0
mov rcx, rax
movzx edx, word [0x140024d4a]
call qword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int____ptr64]
mov rcx, rax
lea rdx, [0x14001b74c]
call fcn.14000fca0
mov rcx, rax
movzx edx, word [0x140024d4c]
call qword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int____ptr64]
mov rcx, rax
lea rdx, str..log
call fcn.14000fca0
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x30]
call fcn.14000d120
lea rdx, [rsp + 0x130]
cmp qword [rsp + 0x148], 0x10
cmovae rdx, qword [rsp + 0x130]
lea r8, [0x14001b790]
lea rcx, [0x140024d30]
call qword [sym.imp.MSVCR120.dll_fopen_s]
test eax, eax
je 0x140001f0c
mov edx, 0xc000000
mov rcx, qword [0x140024d38]
call qword [sym.imp.pdcurses.dll_wattron]
xor r8d, r8d
lea rdx, str.LOG:_file_openinig_error_n
mov rcx, qword [0x140024d38]
call qword [sym.imp.pdcurses.dll_wprintw]
mov edx, 0xc000000
mov rcx, qword [0x140024d38]
call qword [sym.imp.pdcurses.dll_wattroff]
mov byte [reloc.WS2_32.dll_accept], 0
cmp qword [rsp + 0x148], 0x10
jb 0x140001f25
mov rcx, qword [rsp + 0x130]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x148], recv
mov qword [rsp + 0x140], 0
mov byte [rsp + 0x130], 0
lea rcx, [rsp + 0xc8]
call fcn.14000d070
lea rcx, [rsp + 0xc8]
call qword [sym.imp.MSVCP120.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140018be0
add rsp, 0x168
ret