Function at 0x140041590
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x270
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x140070040]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r15, rdx
mov rbx, rcx
xor r13d, r13d
mov dword [rbp - 0x40], r13d
call qword [sym.imp.libcurl.dll_curl_easy_init]
mov r12, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], r13b
test rax, rax
je 0x14004207f
cmp qword [rbx + 0x18], 0xf
jbe 0x140041609
mov rbx, qword [rbx]
mov r8, rbx
mov edx, 0x2712
mov rcx, r12
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
lea r8, [0x14003be40]
mov edx, 0x4e2b
mov rcx, r12
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
lea r8, [rbp + 0x10]
mov edx, 0x2711
mov rcx, r12
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov edx, 0x34
mov r8d, 1
mov rcx, r12
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov rcx, r12
call qword [sym.imp.libcurl.dll_curl_easy_perform]
mov ebx, eax
test eax, eax
je 0x140041855
lea rdi, [0x140070110]
mov qword [rbp - 0x40], rdi
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x140042097
mov ecx, dword [0x14007015c]
cmp ecx, 0x7fffffff
jne 0x14004169f
dec ecx
mov dword [0x14007015c], ecx
jmp 0x1400420b8
mov ecx, ebx
call qword [sym.imp.libcurl.dll_curl_easy_strerror]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400416c0
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140036ba0
nop
mov r8, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
sub rax, r8
mov r15d, 0x11
lea r14, str.Download_failed:
cmp rax, r15
jb 0x140041773
lea rax, [r8 + 0x11]
mov qword [rbp - 0x80], rax
lea rbx, [rsp + 0x70]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x70]
lea rax, [0x1400626d9]
cmp rax, rbx
jbe 0x140041736
lea rax, [rbx + r8]
cmp r14, rax
ja 0x140041736
cmp rbx, r14
ja 0x14004172e
mov rsi, r13
jmp 0x140041739
mov rsi, rbx
sub rsi, r14
jmp 0x140041739
mov rsi, r15
lea rcx, [rbx + 0x11]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rsi]
sub r15, rsi
lea rdx, [r14 + 0x11]
add rdx, rsi
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x70]
jmp 0x14004178a
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
mov rdx, r15
lea rcx, [rsp + 0x70]
call fcn.14004e390
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [0x140070178]
cmp rdx, 0xf
jbe 0x1400417dd
mov rcx, qword [0x140070160]
inc rdx
cmp rdx, 0x1000
jb 0x1400417d8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140041825
mov rcx, r8
call fcn.140056078
movups xmmword [0x140070160], xmm6
movups xmmword [0x140070170], xmm7
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140041831
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004182c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004182c
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 fcn.140056078
lea rcx, [0x140070160]
call fcn.14003be70
nop
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rcx, r12
call qword [sym.imp.libcurl.dll_curl_easy_cleanup]
jmp 0x1400420f4
lea rax, str.downloads
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 9
call fcn.140056c84
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
lea r8, [rbp - 0x50]
mov edx, eax
lea rcx, [rbp - 0x10]
call fcn.140038a50
nop
mov r8d, 3
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x40]
call fcn.14003ab60
movsd xmm0, qword [rax]
movsd qword [rbp - 0x50], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x40], ecx
lea rax, [0x140070a98]
mov qword [rbp - 0x38], rax
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
mov eax, dword [rbp - 0x50]
test eax, eax
je 0x14004198c
cmp eax, 1
setne al
test al, al
jne 0x1400418f0
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 7
cmova rcx, qword [rbp - 0x10]
call fcn.140057188
shr rax, 0x20
test eax, eax
jne 0x140042183
lea r8, str..zip
mov rdx, r15
lea rcx, [rbp - 0x70]
call fcn.14004ba60
nop
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140041912
mov rax, qword [rax]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rcx
call fcn.140056c84
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
lea r8, [rbp - 0x50]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140038a50
nop
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x30]
call fcn.1400392e0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x14004199e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041999
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041999
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test ecx, ecx
jne 0x14004216e
jmp 0x1400418d1
call fcn.140056078
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r13w
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400419f0
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400419eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400419eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140056078
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rdx, qword [rbp - 0x30]
lea rcx, [rbp + 0x30]
call fcn.14004cd30
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x30], rax
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x2c], edx
cmp qword [rbp + 0xb8], 0
je 0x140041d28
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
cmova rdx, qword [rbp + 0x10]
mov r8, qword [rbp + 0x20]
lea rcx, [rbp + 0x30]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 0x38]
call fcn.14004acb0
test rax, rax
jne 0x140041aa3
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x30]
add rcx, rax
xor r8d, r8d
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]
mov r8d, 0x12
lea rdx, str.Lua_file_compiled.
lea rcx, [0x140070160]
call fcn.14004af40
lea rcx, [0x140070160]
call fcn.14003be70
lea rsi, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rsi, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x20]
call fcn.140056c84
mov r14d, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov dword [rbp - 0x40], 0x100f
test rdi, rdi
je 0x140041b79
cmp rdi, 0x7fffffff
ja 0x140042196
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
mov ecx, eax
call fcn.140056cf4
mov rbx, rax
mov rcx, rax
shr rcx, 0x20
test ecx, ecx
jne 0x14004219c
movsxd rdx, ebx
lea rcx, [rsp + 0x30]
call fcn.14004aeb0
lea r9, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova r9, qword [rsp + 0x30]
mov dword [rsp + 0x20], ebx
mov r8d, edi
mov rdx, rsi
mov ecx, r14d
call fcn.140056cf4
shr rax, 0x20
test eax, eax
jne 0x1400421a2
mov ecx, 0x48
call fcn.140055d2c
mov rbx, rax
mov qword [rbp - 0x40], rax
mov rdx, r15
mov rcx, rax
call fcn.14004a670
xorps xmm0, xmm0
movups xmmword [rbx + 0x20], xmm0
mov qword [rbx + 0x30], r13
mov qword [rbx + 0x38], r13
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbx + 0x30], xmm1
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
lea rax, [0x140040570]
mov qword [rbx + 0x40], rax
mov qword [rbp - 0x40], rbx
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
mov r9, rbx
lea r8, [0x14004f1f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x140041d18
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140041c47
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041c42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041c42
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140056078
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
cmp dword [rbp - 0x48], 0
je 0x140041d0c
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140041d0c
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
lea rcx, [0x1400700c0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140041ca4
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [0x14007010c]
cmp eax, 0x7fffffff
jne 0x140041cc5
dec eax
mov dword [0x14007010c], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp byte [0x1400a278c], 0
jne 0x140041ced
nop
lea rdx, [0x1400700c0]
lea rcx, [0x1400a27c0]
call qword [sym.imp.MSVCP140.dll__Cnd_wait]
cmp byte [0x1400a278c], 0
je 0x140041cd0
lea rcx, [0x1400700c0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
nop
cmp dword [rbp - 0x48], 0
je 0x140041f96
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x48], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rdi, [0x140070110]
mov qword [rbp - 0x50], rdi
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140041d4c
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [0x14007015c]
cmp eax, 0x7fffffff
jne 0x140041d6d
dec eax
mov dword [0x14007015c], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea r14, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova r14, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x20]
call fcn.140056c84
mov r15d, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov r8, r13
mov qword [rsp + 0x60], r13
mov ecx, 0xf
mov qword [rsp + 0x68], rcx
mov byte [rsp + 0x50], r8b
mov dword [rbp - 0x40], 0x10f
test rsi, rsi
je 0x140041e2c
cmp rsi, 0x7fffffff
ja 0x1400421aa
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov r8d, esi
mov rdx, r14
mov ecx, eax
call fcn.140056cf4
mov rbx, rax
mov rcx, rax
shr rcx, 0x20
test ecx, ecx
jne 0x1400421b0
movsxd rdx, ebx
lea rcx, [rsp + 0x50]
call fcn.14004aeb0
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
mov dword [rsp + 0x20], ebx
mov r8d, esi
mov rdx, r14
mov ecx, r15d
call fcn.140056cf4
shr rax, 0x20
test eax, eax
jne 0x140042166
mov rcx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov rax, rcx
sub rax, r8
mov r15d, 0x21
lea r14, str.Failed_to_open_file_for_writing:
cmp rax, r15
jb 0x140041ec0
lea rax, [r8 + 0x21]
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x50]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x50]
lea rax, [0x140062699]
cmp rax, rbx
jbe 0x140041e83
lea rax, [rbx + r8]
cmp r14, rax
ja 0x140041e83
cmp rbx, r14
ja 0x140041e7b
mov rsi, r13
jmp 0x140041e86
mov rsi, rbx
sub rsi, r14
jmp 0x140041e86
mov rsi, r15
lea rcx, [rbx + 0x21]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rsi]
sub r15, rsi
lea rdx, [r14 + 0x21]
add rdx, rsi
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x50]
jmp 0x140041ed7
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.14004e390
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [0x140070178]
cmp rdx, 0xf
jbe 0x140041f2a
mov rcx, qword [0x140070160]
inc rdx
cmp rdx, 0x1000
jb 0x140041f25
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140041f73
mov rcx, r8
call fcn.140056078
movups xmmword [0x140070160], xmm6
movups xmmword [0x140070170], xmm7
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140041f7f
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041f7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041f7a
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 fcn.140056078
lea rcx, [0x140070160]
call fcn.14003be70
nop
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
nop
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x30], rax
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x2c], edx
lea rcx, [rbp + 0x38]
call fcn.140049a80
lea rcx, [rbp + 0x40]
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 + 0xd8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x140042020
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004201b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004201b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140056078
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r13w
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x140042074
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004206f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004206f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140056078
mov rcx, r12
call qword [sym.imp.libcurl.dll_curl_easy_cleanup]
jmp 0x1400420f4
lea rdi, [0x140070110]
mov qword [rbp - 0x50], rdi
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1400420a3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [0x14007015c]
cmp eax, 0x7fffffff
jne 0x1400420c4
dec eax
mov dword [0x14007015c], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov r8d, 0x1a
lea rdx, str.Failed_to_initialize_CURL.
lea rcx, [0x140070160]
call fcn.14004af40
lea rcx, [0x140070160]
call fcn.14003be70
nop
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x140042132
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004212d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004212d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140056078
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140055a70
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, eax
call fcn.140037f30
nop
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x40]
lea rcx, str.exists
call fcn.14003a0d0
int3
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, str.create_directory
call fcn.140039f80
nop
call fcn.140037c50
int3
call fcn.140037f30
int3
mov ecx, eax
call fcn.140037f30
nop
call fcn.140037c50
int3
call fcn.140037f30
int3