Function at 0x140037800
Capabilities:
Encode data using xor
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov rax, qword [0x1401c67c0]
xor rax, rsp
mov qword [rbp + 0x298], rax
xor r15d, r15d
mov dword [rbp - 0x10], r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0x230], xmm0
mov qword [rbp + 0x240], r15
mov qword [rbp + 0x248], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x230], r15b
movdqa xmm0, xmmword [0x1401a7b30]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1401a7aa0]
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmmword [0x1401a7880]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1401a7bc0]
movdqa xmmword [rsp + 0x70], xmm1
movdqa xmm0, xmmword [0x1401a7c20]
movdqa xmmword [rbp - 0x80], xmm0
mov word [rbp - 0x70], WSAStartup
mov ecx, r15d
movzx eax, byte ds:[rsp + 0x40]
xor byte [rsp + rcx + 0x41], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x42], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x43], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x44], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x45], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x46], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x47], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x48], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x49], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x4a], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x4b], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x4c], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x4d], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x4e], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x4f], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x50], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x51], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x52], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x53], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x54], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x55], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x56], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x57], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x58], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x59], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x5a], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x5b], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x5c], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x5d], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x5e], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x5f], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x60], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x61], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x62], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x63], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x64], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x65], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x66], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x67], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x68], al
add rcx, 0x28
cmp rcx, 0x50
jb 0x1400378b1
mov byte [rbp - 0x6f], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x250], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x260], xmm1
lea rax, [rsp + 0x41]
mov rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x140037a52
lea rdx, [rsp + 0x41]
lea rcx, [rbp + 0x250]
call fcn.140007de0
nop
mov dword [rbp - 0x10], 1
call fcn.14009f590
mov rbx, rax
test rax, rax
jne 0x140037aef
mov rax, qword [rbp + 0x248]
cmp rax, 9
jb 0x140037ad0
lea rbx, [rbp + 0x230]
cmp rax, 0xf
cmova rbx, qword [rbp + 0x230]
mov qword [rbp + 0x240], 9
mov r8d, 9
lea rdx, str.curl_NULL
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 9], 0
mov bl, 1
jmp 0x140037bfb
lea r9, str.curl_NULL
mov edx, 9
lea rcx, [rbp + 0x230]
call fcn.140025e80
mov bl, 1
jmp 0x140037bfb
lea r8, [rbp + 0x250]
cmp qword [rbp + 0x268], 0xf
cmova r8, qword [rbp + 0x250]
mov edx, 0x2712
mov rcx, rbx
call fcn.1400a2440
lea r8, [0x14002ad00]
mov edx, 0x4e2b
mov rcx, rbx
call fcn.1400a2440
lea rdi, [0x1401c68c0]
mov r8, rdi
mov edx, 0x2711
mov rcx, rbx
call fcn.1400a2440
mov rcx, rbx
call fcn.14009f600
test eax, eax
je 0x140037b79
mov qword [rbp + 0x240], 1
lea rcx, [rbp + 0x230]
cmp qword [rbp + 0x248], 0xf
cmova rcx, qword [rbp + 0x230]
mov byte [rcx], al
mov byte [rcx + 1], 0
mov bl, 1
jmp 0x140037bfb
mov rcx, rbx
call fcn.14009f530
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova rdi, qword [0x1401c68c0]
mov r8, qword [0x1401c68d0]
mov rdx, rdi
lea rcx, [rbp + 0x230]
call fcn.140023740
lea rbx, [rbp + 0x230]
cmp qword [rbp + 0x248], 0xf
cmova rbx, qword [rbp + 0x230]
lea rdi, [rbp + 0x230]
cmova rdi, qword [rbp + 0x230]
add rdi, qword [rbp + 0x240]
cmp rbx, rdi
je 0x140037bf9
nop dword [rax]
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
test eax, eax
jne 0x140037ac9
inc rbx
cmp rbx, rdi
jne 0x140037be0
xor bl, bl
lea rcx, [rbp + 0x250]
call fcn.1400041e0
test bl, bl
jne 0x1400385f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rbp + 0x230]
cmp qword [rbp + 0x248], 0xf
cmova rbx, qword [rbp + 0x230]
mov dword [rax], r15d
mov r8d, 0xa
lea rdx, [rbp - 0x10]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rbp - 0x10]
jne 0x140037c5a
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
int3
cmp dword [rdi], 0x22
jne 0x140037c6d
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
cmp eax, 0x37
jne 0x1400386db
mov dword [rbp - 0x10], 0x724f5c26
mov dword [rbp - 0xc], 0x746962
mov rdx, qword [0x1401c6948]
lea rax, [rbp - 0xf]
mov rcx, rsi
inc rcx
cmp byte [rax + rcx], 0
jne 0x140037c92
movabs r14, 0x7fffffffffffffff
mov rax, r14
sub rax, rdx
cmp rax, rcx
jb 0x140038846
lea r12, [0x1401c6938]
mov r9, r12
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova r9, qword [0x1401c6938]
mov qword [rsp + 0x30], rcx
lea rax, [rbp - 0xf]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp - 0x60]
call fcn.140026cc0
nop
lea rcx, [rbp - 0x60]
call fcn.14002dfa0
movzx ebx, al
lea rcx, [rbp - 0x60]
call fcn.1400041e0
test bl, bl
je 0x140038480
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x120]
call sub.VCRUNTIME140.dll_memset
movdqa xmm0, xmmword [0x1401a7b40]
movdqu xmmword [rbp - 0x10], xmm0
mov dword [rbp], 0x6e6f6973
mov dword [rbp + 4], 0x7478742e
mov byte [rbp + 8], 0
mov rdx, qword [0x1401c6948]
lea rax, [rbp - 0xf]
mov rcx, rsi
inc rcx
cmp byte [rax + rcx], 0
jne 0x140037d52
mov rax, r14
sub rax, rdx
cmp rax, rcx
jb 0x14003884c
mov r9, r12
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova r9, qword [0x1401c6938]
mov qword [rsp + 0x30], rcx
lea rax, [rbp - 0xf]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp - 0x38]
call fcn.140026cc0
nop
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x120]
call fcn.14001ffa0
nop
lea rcx, [rbp - 0x38]
call fcn.1400041e0
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x120]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
jne 0x140037f78
lea rcx, ds:[rbp + 0x130]
call fcn.140022ca0
test rax, rax
jne 0x140037e0c
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x120]
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]
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
movdqa xmm0, xmmword [0x1401a7b50]
movdqu xmmword [rbp - 0x10], xmm0
mov dword [rbp], 0x6e6f6973
mov dword [rbp + 4], 0x7478742e
mov byte [rbp + 8], 0
mov rax, qword [0x1401c6948]
lea rcx, [rbp - 0xf]
inc rsi
cmp byte [rcx + rsi], 0
jne 0x140037e47
sub r14, rax
cmp r14, rsi
jb 0x140038852
mov r9, r12
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova r9, qword [0x1401c6938]
mov qword [rsp + 0x30], rsi
lea rcx, [rbp - 0xf]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x60]
call fcn.140026cc0
nop
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rdx, qword [rbp - 0x60]
lea rcx, [rbp + 0x10]
call fcn.140021320
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x10], rbx
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xc], edx
lea rcx, [rbp - 0x60]
call fcn.1400041e0
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x10]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
jne 0x140038858
mov edx, gethostname
lea rcx, [rbp + 0x10]
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___int____ptr64]
lea rcx, [rbp + 0x18]
call fcn.140022ca0
test rax, rax
jne 0x140037f31
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
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x10], rbx
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xc], edx
lea rcx, [rbp + 0x18]
call fcn.140021200
lea rcx, ds:[rbp + 0x20]
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 + 0xb8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x140038426
xorps xmm0, xmm0
movups xmmword [rbp + 0x278], xmm0
movdqa xmm1, xmmword [0x1401a7650]
movdqu xmmword [rbp + 0x288], xmm1
mov byte [rbp + 0x278], 0
movups xmmword [rbp + 0x250], xmm0
mov qword [rbp + 0x260], r15
mov qword [rbp + 0x268], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x250], 0
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x120]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0x250]
lea rcx, [rbp + 0x120]
call fcn.140027040
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
nop dword [rax]
test al, al
je 0x140038084
nop dword [rax + rax]
lea rdx, [rbp + 0x250]
cmp qword [rbp + 0x268], 0xf
cmova rdx, qword [rbp + 0x250]
mov r8, qword [rbp + 0x260]
lea rcx, [rbp + 0x278]
call fcn.1400237c0
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x120]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0x250]
lea rcx, [rbp + 0x120]
call fcn.140027040
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
nop
test al, al
jne 0x140038010
lea rcx, [rbp + 0x130]
call fcn.140022ca0
test rax, rax
jne 0x1400380b7
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x120]
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]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rbp + 0x278]
cmp qword [rbp + 0x290], 0xf
cmova rbx, qword [rbp + 0x278]
mov dword [rax], r15d
mov r8d, 0xa
lea rdx, [rbp - 0x10]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rbp - 0x10]
jne 0x140038107
lea rcx, str.invalid_stoi_argument
nop word [rax + rax]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
int3
cmp dword [rdi], 0x22
jne 0x14003811a
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
nop word [rax + rax]
cmp eax, 0x37
je 0x140038407
mov dword [rbp - 0x10], 0x724f5c2e
mov dword [rbp - 0xc], 0x746962
mov rdx, qword [0x1401c6948]
lea rax, [rbp - 0xf]
mov rcx, rsi
inc rcx
cmp byte [rax + rcx], 0
jne 0x140038145
mov rax, r14
sub rax, rdx
cmp rax, rcx
jb 0x1400389bf
mov r9, r12
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova r9, qword [0x1401c6938]
mov qword [rsp + 0x30], rcx
lea rax, [rbp - 0xf]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp - 0x38]
call fcn.140026cc0
nop
mov rdi, qword [rbp - 0x28]
lea rbx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rbx, qword [rbp - 0x38]
call fcn.1401032b0
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rdi
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.140005960
nop
lea rcx, [rbp - 0x60]
call fcn.14002b1c0
nop
lea rcx, [rbp - 0x60]
call fcn.140004160
nop
lea rcx, [rbp - 0x38]
call fcn.1400041e0
mov dword [rbp - 0x10], 0x724f5c05
mov dword [rbp - 0xc], 0x746962
mov rdx, qword [0x1401c6948]
lea rax, [rbp - 0xf]
mov rcx, rsi
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400381f6
mov rax, r14
sub rax, rdx
cmp rax, rcx
jb 0x1400389c6
mov r9, r12
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova r9, qword [0x1401c6938]
mov qword [rsp + 0x30], rcx
lea rax, [rbp - 0xf]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp - 0x60]
call fcn.140026cc0
nop
mov rdi, qword [rbp - 0x50]
lea rbx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rbx, qword [rbp - 0x60]
call fcn.1401032b0
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rdi
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.140005960
nop
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rcx, qword [rbp - 0x38]
call fcn.140103510
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x1400389cc
lea rcx, [rbp - 0x38]
call fcn.140004160
nop
lea rcx, [rbp - 0x60]
call fcn.1400041e0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
movdqa xmm0, xmmword [0x1401a7bd0]
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp], reloc.WS2_32.dll_WSACleanup
mov rax, qword [0x1401c6948]
lea rcx, [rbp - 0xf]
inc rsi
cmp byte [rcx + rsi], 0
jne 0x1400382d6
sub r14, rax
cmp r14, rsi
jb 0x1400389e6
mov r9, r12
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova r9, qword [0x1401c6938]
mov qword [rsp + 0x30], rsi
lea rcx, [rbp - 0xf]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x60]
call fcn.140026cc0
nop
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rdx, qword [rbp - 0x60]
lea rcx, [rbp + 0x10]
call fcn.140021320
mov rax, qword ds:[rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x10], rbx
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xc], edx
lea rcx, [rbp - 0x60]
call fcn.1400041e0
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x10]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
nop word [rax + rax]
test al, al
jne 0x1400384bc
lea rdx, str.Success
lea rcx, [rbp + 0x10]
call fcn.140004600
lea rcx, ds:[rbp + 0x18]
call fcn.140022ca0
test rax, rax
jne 0x1400383c7
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
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x10], rbx
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xc], edx
lea rcx, [rbp + 0x18]
call fcn.140021200
lea rcx, [rbp + 0x20]
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 + 0xb8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x250]
call fcn.1400041e0
nop
lea rcx, [rbp + 0x278]
call fcn.1400041e0
nop
mov rax, qword ds:[rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x120], rax
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x11c], edx
lea rcx, [rbp + 0x130]
call fcn.140021200
lea rcx, [rbp + 0x138]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x230]
call fcn.1400041e0
mov rcx, qword [rbp + 0x298]
xor rcx, rsp
call fcn.140103e40
lea r11, [rsp + 0x3a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, [rsp + 0x40]
call fcn.140038b60
lea rdx, [rax + 1]
movzx r8d, byte [rax]
xor byte [rdx], r8b
xor byte [rax + 2], r8b
xor byte [rax + 3], r8b
xor byte [rax + 4], r8b
xor byte [rax + 5], r8b
xor byte [rax + 6], r8b
xor byte [rax + 7], r8b
xor byte [rax + 8], r8b
xor byte [rax + 9], r8b
xor byte [rax + 0xa], r8b
xor byte [rax + 0xb], r8b
xor byte [rax + 0xc], r8b
xor byte [rax + 0xd], r8b
xor byte [rax + 0xe], r8b
xor byte [rax + 0xf], r8b
xor byte [rax + 0x10], r8b
xor byte [rax + 0x11], r8b
xor byte [rax + 0x12], r8b
xor byte [rax + 0x13], r8b
xor byte [rax + 0x14], r8b
xor byte [rax + 0x15], r8b
xor byte [rax + 0x16], r8b
xor byte [rax + 0x17], r8b
xor byte [rax + 0x18], r8b
xor byte [rax + 0x19], r8b
xor byte [rax + 0x1a], r8b
xor byte [rax + 0x1b], r8b
xor byte [rax + 0x1c], r8b
xor byte [rax + 0x1d], r8b
xor byte [rax + 0x1e], r8b
xor byte [rax + 0x1f], r8b
xor byte [rax + 0x20], r8b
xor byte [rax + 0x21], r8b
xor byte [rax + 0x22], r8b
xor byte [rax + 0x23], r8b
xor byte [rax + 0x24], r8b
xor byte [rax + 0x25], r8b
xor byte [rax + 0x26], r8b
mov byte [rdx + 0x26], 0
call fcn.140004600
mov rbx, rax
lea rdx, [rbp - 0x10]
call fcn.140038bb0
lea r8, [rax + 1]
movzx edx, byte [rax]
xor byte [r8], dl
xor byte [rax + 2], dl
xor byte [rax + 3], dl
xor byte [rax + 4], dl
xor byte [rax + 5], dl
xor byte [rax + 6], dl
xor byte [rax + 7], dl
xor byte [rax + 8], dl
xor byte [rax + 9], dl
xor byte [rax + 0xa], dl
xor byte [rax + 0xb], dl
xor byte [rax + 0xc], dl
xor byte [rax + 0xd], dl
xor byte [rax + 0xe], dl
xor byte [rax + 0xf], dl
xor byte [rax + 0x10], dl
mov byte [r8 + 0x10], 0
mov rdx, r12
lea rcx, [rbp - 0x38]
call fcn.140023e50
nop
mov rdx, rax
mov rcx, rbx
call fcn.140024cc0
lea rdx, [0x1400047e0]
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
lea rcx, [rbp - 0x38]
call fcn.140003e40
call fcn.14002de10
nop
mov edx, 5
mov rcx, qword [0x1401c86d0]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp - 0x60]
call fcn.1400389f0
lea rdx, [rax + 1]
movzx r8d, byte [rax]
xor byte [rdx], r8b
xor byte [rax + 2], r8b
xor byte [rax + 3], r8b
xor byte [rax + 4], r8b
xor byte [rax + 5], r8b
xor byte [rax + 6], r8b
xor byte [rax + 7], r8b
xor byte [rax + 8], r8b
xor byte [rax + 9], r8b
xor byte [rax + 0xa], r8b
xor byte [rax + 0xb], r8b
xor byte [rax + 0xc], r8b
xor byte [rax + 0xd], r8b
xor byte [rax + 0xe], r8b
xor byte [rax + 0xf], r8b
xor byte [rax + 0x10], r8b
xor byte [rax + 0x11], r8b
xor byte [rax + 0x12], r8b
xor byte [rax + 0x13], r8b
xor byte [rax + 0x14], r8b
xor byte [rax + 0x15], r8b
xor byte [rax + 0x16], r8b
xor byte [rax + 0x17], r8b
xor byte [rax + 0x18], r8b
xor byte [rax + 0x19], r8b
xor byte [rax + 0x1a], r8b
xor byte [rax + 0x1b], r8b
xor byte [rax + 0x1c], r8b
xor byte [rax + 0x1d], r8b
xor byte [rax + 0x1e], r8b
xor byte [rax + 0x1f], r8b
xor byte [rax + 0x20], r8b
xor byte [rax + 0x21], r8b
xor byte [rax + 0x22], r8b
mov byte [rax + 0x23], 0
call fcn.140004600
mov rcx, rax
lea rdx, [rbp + 0x230]
call fcn.140024cc0
lea rdx, [0x1400047e0]
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]
call fcn.14002de10
int3
mov edx, 5
mov rcx, qword [0x1401c86d0]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rsp + 0x40]
call fcn.140038a40
lea rdx, [rax + 1]
movzx r8d, byte [rax]
xor byte [rdx], r8b
xor byte [rax + 2], r8b
xor byte [rax + 3], r8b
xor byte [rax + 4], r8b
xor byte [rax + 5], r8b
xor byte [rax + 6], r8b
xor byte [rax + 7], r8b
xor byte [rax + 8], r8b
xor byte [rax + 9], r8b
xor byte [rax + 0xa], r8b
xor byte [rax + 0xb], r8b
xor byte [rax + 0xc], r8b
xor byte [rax + 0xd], r8b
xor byte [rax + 0xe], r8b
xor byte [rax + 0xf], r8b
xor byte [rax + 0x10], r8b
xor byte [rax + 0x11], r8b
xor byte [rax + 0x12], r8b
xor byte [rax + 0x13], r8b
xor byte [rax + 0x14], r8b
xor byte [rax + 0x15], r8b
xor byte [rax + 0x16], r8b
xor byte [rax + 0x17], r8b
xor byte [rax + 0x18], r8b
xor byte [rax + 0x19], r8b
xor byte [rax + 0x1a], r8b
xor byte [rax + 0x1b], r8b
xor byte [rax + 0x1c], r8b
xor byte [rax + 0x1d], r8b
xor byte [rax + 0x1e], r8b
xor byte [rax + 0x1f], r8b
xor byte [rax + 0x20], r8b
xor byte [rax + 0x21], r8b
xor byte [rax + 0x22], r8b
xor byte [rax + 0x23], r8b
xor byte [rax + 0x24], r8b
xor byte [rax + 0x25], r8b
xor byte [rax + 0x26], r8b
xor byte [rax + 0x27], r8b
xor byte [rax + 0x28], r8b
xor byte [rax + 0x29], r8b
xor byte [rax + 0x2a], r8b
xor byte [rax + 0x2b], r8b
xor byte [rax + 0x2c], r8b
xor byte [rax + 0x2d], r8b
xor byte [rax + 0x2e], r8b
xor byte [rax + 0x2f], r8b
xor byte [rax + 0x30], r8b
xor byte [rax + 0x31], r8b
xor byte [rax + 0x32], r8b
xor byte [rax + 0x33], r8b
xor byte [rax + 0x34], r8b
xor byte [rax + 0x35], r8b
xor byte [rax + 0x36], r8b
xor byte [rax + 0x37], r8b
xor byte [rax + 0x38], r8b
xor byte [rax + 0x39], r8b
xor byte [rax + 0x3a], r8b
xor byte [rax + 0x3b], r8b
xor byte [rax + 0x3c], r8b
xor byte [rax + 0x3d], r8b
xor byte [rax + 0x3e], r8b
xor byte [rax + 0x3f], r8b
xor byte [rax + 0x40], r8b
xor byte [rax + 0x41], r8b
xor byte [rax + 0x42], r8b
xor byte [rax + 0x43], r8b
xor byte [rax + 0x44], r8b
xor byte [rax + 0x45], r8b
xor byte [rax + 0x46], r8b
xor byte [rax + 0x47], r8b
xor byte [rax + 0x48], r8b
mov byte [rax + 0x49], 0
call fcn.140004600
lea rdx, [0x1400047e0]
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
call fcn.14002de10
int3
call fcn.140004c80
int3
call fcn.140004c80
nop
call fcn.140004c80
nop
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, [rbp + 0x250]
call fcn.140038ad0
lea rdx, [rax + 1]
movzx r8d, byte [rax]
xor byte [rdx], r8b
xor byte [rax + 2], r8b
xor byte [rax + 3], r8b
xor byte [rax + 4], r8b
xor byte [rax + 5], r8b
xor byte [rax + 6], r8b
xor byte [rax + 7], r8b
xor byte [rax + 8], r8b
xor byte [rax + 9], r8b
xor byte [rax + 0xa], r8b
xor byte [rax + 0xb], r8b
xor byte [rax + 0xc], r8b
xor byte [rax + 0xd], r8b
xor byte [rax + 0xe], r8b
xor byte [rax + 0xf], r8b
xor byte [rax + 0x10], r8b
xor byte [rax + 0x11], r8b
xor byte [rax + 0x12], r8b
xor byte [rax + 0x13], r8b
xor byte [rax + 0x14], r8b
xor byte [rax + 0x15], r8b
xor byte [rax + 0x16], r8b
xor byte [rax + 0x17], r8b
xor byte [rax + 0x18], r8b
xor byte [rax + 0x19], r8b
xor byte [rax + 0x1a], r8b
xor byte [rax + 0x1b], r8b
xor byte [rax + 0x1c], r8b
xor byte [rax + 0x1d], r8b
xor byte [rax + 0x1e], r8b
xor byte [rax + 0x1f], r8b
xor byte [rax + 0x20], r8b
xor byte [rax + 0x21], r8b
xor byte [rax + 0x22], r8b
xor byte [rax + 0x23], r8b
xor byte [rax + 0x24], r8b
xor byte [rax + 0x25], r8b
xor byte [rax + 0x26], r8b
mov byte [rdx + 0x26], 0
call fcn.140004600
mov rbx, rax
lea rdx, [rbp - 0x10]
call fcn.140038b20
lea r8, [rax + 1]
movzx r9d, byte [rax]
xor byte [r8], r9b
xor byte [rax + 2], r9b
xor byte [rax + 3], r9b
xor byte [rax + 4], r9b
xor byte [rax + 5], r9b
xor byte [rax + 6], r9b
xor byte [rax + 7], r9b
xor byte [rax + 8], r9b
xor byte [rax + 9], r9b
xor byte [rax + 0xa], r9b
xor byte [rax + 0xb], r9b
xor byte [rax + 0xc], r9b
xor byte [rax + 0xd], r9b
xor byte [rax + 0xe], r9b
xor byte [rax + 0xf], r9b
xor byte [rax + 0x10], r9b
xor byte [rax + 0x11], r9b
xor byte [rax + 0x12], r9b
xor byte [rax + 0x13], r9b
xor byte [rax + 0x14], r9b
xor byte [rax + 0x15], r9b
xor byte [rax + 0x16], r9b
xor byte [rax + 0x17], r9b
mov byte [r8 + 0x17], 0
mov rdx, r12
lea rcx, [rbp - 0x38]
call fcn.140023e50
nop
mov rdx, rax
mov rcx, rbx
call fcn.140024cc0
lea rdx, [0x1400047e0]
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
lea rcx, [rbp - 0x38]
call fcn.140003e40
call fcn.14002de10
nop
nop
call fcn.140004c80
int3
call fcn.140004c80
nop
shr rdx, 0x20
lea r8, [rbp - 0x38]
lea rcx, str.create_directory
call fcn.1400068e0
nop
call fcn.140004c80
int3