Function at 0x140002ea0
Capabilities:
Create process on windows
Execute command
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rax, qword [0x14000f010]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor r14d, r14d
lea rcx, str.LethalCheats.net___R6_Distributed_Build_Locator
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, str.LOCALAPPDATA
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__wgetenv]
mov rdx, rax
lea rcx, str._wsubisoft_r6siege
call fcn.140002340
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rax + r8*2], r14w
jne 0x140002f05
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
mov qword [rbp - 0x69], r14
mov qword [rbp - 0x61], r14
mov rdx, rax
lea rcx, [rbp - 0x79]
call fcn.140006d60
nop
lea rcx, [rbp - 0x79]
call fcn.140002230
test al, al
sete bl
mov rdx, qword [rbp - 0x61]
cmp rdx, 8
jb 0x140002f7c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f77
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008674
test bl, bl
je 0x140002fb5
lea rdx, str.AppDataLocalUbisoft_r6siege_path_does_not_exist.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005de0
lea rdx, [0x140005fb0]
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]
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x1400039c1
lea rcx, str.LOCALAPPDATA
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__wgetenv]
mov rdx, rax
lea rcx, str._wsubisoft_r6siegeR6Status.ini
call fcn.140002340
mov rbx, rax
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140002fe0
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
mov qword [rbp - 0x69], r14
mov qword [rbp - 0x61], r14
mov rdx, rbx
lea rcx, [rbp - 0x79]
call fcn.140006d60
nop
lea rcx, [rbp - 0x79]
call fcn.140002230
test al, al
sete sil
mov rdx, qword [rbp - 0x61]
cmp rdx, 8
jb 0x140003059
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003054
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003054
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008674
test sil, sil
je 0x14000306a
lea rdx, str.Failed_to_find_R6Status.ini
jmp 0x140002f87
xorps xmm0, xmm0
movups xmmword [rbp + 0x37], xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x79], xmm1
movdqu xmmword [rbp - 0x69], xmm0
mov r8, rdi
inc r8
cmp word [rbx + r8*2], 0
jne 0x140003080
mov rdx, rbx
lea rcx, [rbp - 0x79]
call fcn.140006d60
nop
lea rdx, [rbp - 0x79]
lea rcx, [rbp + 0x37]
call fcn.1400023b0
nop
mov rdx, qword [rbp - 0x61]
cmp rdx, 8
jb 0x1400030e9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400030e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400030e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008674
movdqa xmm0, xmmword [0x14000ace0]
movdqu xmmword [rbp - 0x69], xmm0
mov word [rbp - 0x79], r14w
cmp qword [rbp + 0x3f], 0
jne 0x140003137
lea rdx, str.Failed_to_read_R6Status.ini_data
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005de0
lea rdx, [0x140005fb0]
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]
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140003972
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x59], xmm1
movdqu xmmword [rbp - 0x49], xmm0
mov r8d, 0xe
lea rdx, str.RainbowSix.exe
lea rcx, [rbp - 0x59]
call fcn.140006ff0
nop
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x79]
lea rcx, [rbp + 0x37]
call fcn.140006840
mov rbx, qword [rax]
xorps xmm0, xmm0
movdqu xmmword [rbp + 7], xmm0
lea rax, [rbp + 7]
mov qword [rbp - 0x39], rax
lea rax, [rbp + 7]
mov qword [rbp - 0x31], rax
mov ecx, 0x60
call fcn.140008630
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp + 7], rax
mov rdx, qword [rbx + 0x40]
mov r8, rax
mov rdx, qword [rdx + 8]
lea rcx, [rbp + 7]
call fcn.140007de0
mov rcx, qword [rbp + 7]
mov qword [rcx + 8], rax
mov rax, qword [rbx + 0x48]
mov qword [rbp + 0xf], rax
mov r8, qword [rbp + 7]
mov rdx, qword [r8 + 8]
cmp byte [rdx + 0x19], 0
jne 0x140003233
mov rcx, qword [rdx]
cmp byte [rcx + 0x19], 0
jne 0x1400031ff
nop word [rax + rax]
mov rdx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x1400031f0
mov qword [r8], rdx
mov rdx, qword [rbp + 7]
mov rcx, qword [rdx + 8]
mov rax, qword [rcx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14000322d
nop dword [rax]
nop dword [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
je 0x140003220
mov qword [rdx + 0x10], rcx
jmp 0x14000323e
mov qword [r8], r8
mov rax, qword [rbp + 7]
mov qword [rax + 0x10], rax
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x14000327c
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003277
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003277
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008674
movdqa xmm0, xmmword [0x14000acf0]
movdqu xmmword [rbp - 0x49], xmm0
mov byte [rbp - 0x59], 0
lea rcx, str.LOCALAPPDATA
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__wgetenv]
mov rdx, rax
lea rcx, str._wsubisoft_r6siege_
call fcn.140002340
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], r14
mov qword [rbp + 0x2f], r14
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1400032c0
mov r8, rdi
mov rdx, rax
lea rcx, [rbp + 0x17]
call fcn.140006d60
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x29], xmm1
mov r8d, 7
lea rdx, str.Version
lea rcx, [rbp - 0x39]
call fcn.140006ff0
nop
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x79]
lea rcx, [rbp + 7]
call fcn.140006330
mov rax, qword [rax]
lea rcx, [rax + 0x40]
cmp qword [rax + 0x58], 0x10
jb 0x140003323
mov rcx, qword [rax + 0x40]
mov rbx, qword [rax + 0x50]
add rbx, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
mov r8d, 7
lea rdx, str.Version
lea rcx, [rbp - 0x59]
call fcn.140006ff0
nop
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x79]
lea rcx, [rbp + 7]
call fcn.140006330
mov rdx, qword [rax]
add rdx, 0x40
cmp qword [rdx + 0x18], 0x10
jb 0x140003372
mov rdx, qword [rdx]
mov r8, rbx
lea rcx, [rbp - 0x19]
call fcn.140005ff0
mov r9, rax
mov rdi, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14000338f
mov r9, qword [rax]
mov rsi, qword [rbp + 0x27]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
sub rax, rsi
cmp rdi, rax
ja 0x1400033d2
lea rax, [rsi + rdi]
mov qword [rbp + 0x27], rax
lea rbx, [rbp + 0x17]
cmp rcx, 8
cmovae rbx, qword [rbp + 0x17]
lea rcx, [rbx + rsi*2]
lea r8, [rdi + rdi]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + rdi]
mov word [rbx + rax*2], r14w
jmp 0x1400033e4
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rbp + 0x17]
call fcn.140006b80
nop
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x140003427
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003422
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003422
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008674
movdqa xmm0, xmmword [0x14000ace0]
movdqu xmmword [rbp - 9], xmm0
mov word [rbp - 0x19], r14w
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x140003477
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003472
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003472
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008674
movdqa xmm0, xmmword [0x14000acf0]
movdqu xmmword [rbp - 0x49], xmm0
mov byte [rbp - 0x59], 0
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x1400034c6
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400034c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400034c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008674
mov rcx, qword [rbp + 0x27]
mov rdx, qword [rbp + 0x2f]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1400034f8
lea rax, [rcx + 1]
mov qword [rbp + 0x27], rax
lea rax, [rbp + 0x17]
cmp rdx, 8
cmovae rax, qword [rbp + 0x17]
mov dword [rax + rcx*2], 0x5c
jmp 0x140003516
mov qword [rsp + 0x20], 1
lea r9, [0x14000a9c8]
mov edx, 1
lea rcx, [rbp + 0x17]
call fcn.140006b80
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x29], xmm1
mov r8d, 8
lea rdx, str.Checksum
lea rcx, [rbp - 0x39]
call fcn.140006ff0
nop
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x79]
lea rcx, [rbp + 7]
call fcn.140006330
mov rax, qword [rax]
lea rcx, [rax + 0x40]
cmp qword [rax + 0x58], 0x10
jb 0x14000355f
mov rcx, qword [rax + 0x40]
mov rbx, qword [rax + 0x50]
add rbx, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
mov r8d, 8
lea rdx, str.Checksum
lea rcx, [rbp - 0x59]
call fcn.140006ff0
nop
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x79]
lea rcx, [rbp + 7]
call fcn.140006330
mov rdx, qword [rax]
add rdx, 0x40
cmp qword [rdx + 0x18], 0x10
jb 0x1400035ae
mov rdx, qword [rdx]
mov r8, rbx
lea rcx, [rbp - 0x19]
call fcn.140005ff0
mov r9, rax
mov rdi, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400035cb
mov r9, qword [rax]
mov rsi, qword [rbp + 0x27]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
sub rax, rsi
cmp rdi, rax
ja 0x14000360e
lea rax, [rdi + rsi]
mov qword [rbp + 0x27], rax
lea rbx, [rbp + 0x17]
cmp rcx, 8
cmovae rbx, qword [rbp + 0x17]
lea rcx, [rbx + rsi*2]
lea r8, [rdi + rdi]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rsi]
mov word [rbx + rax*2], r14w
jmp 0x140003620
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rbp + 0x17]
call fcn.140006b80
nop
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x140003663
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000365e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000365e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008674
movdqa xmm0, xmmword [0x14000ace0]
movdqu xmmword [rbp - 9], xmm0
mov word [rbp - 0x19], r14w
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x1400036b3
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400036ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400036ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008674
movdqa xmm0, xmmword [0x14000acf0]
movdqu xmmword [rbp - 0x49], xmm0
mov byte [rbp - 0x59], 0
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x140003702
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400036fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400036fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008674
lea rdx, str.Build_path:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140005950
lea rdx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae rdx, qword [rbp + 0x17]
mov rcx, rax
call fcn.140005bc0
lea rdx, [0x140005da0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x19]
call fcn.140004d10
mov rbx, rax
mov r8, rax
cmp qword [rax + 0x18], 8
jb 0x140003758
mov r8, qword [rax]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea rdx, str.explore
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rbx + 0x18]
cmp eax, 0x20
jg 0x140003804
cmp rdx, 8
jb 0x1400037bf
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400037ba
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003902
mov rcx, r8
call fcn.140008674
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
lea rdx, str.Failed_to_open_file_location_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005de0
lea rdx, [0x140005fb0]
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]
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x1400038c4
cmp rdx, 8
jb 0x14000383f
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000383a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003902
mov rcx, r8
call fcn.140008674
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
lea rdx, str.Opened_the_location_of_your_current_assigned_R6_build...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005de0
lea rdx, [0x140005fb0]
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]
lea rdx, str.Submit_your_RainbowSix.exe_from_this_folder_to_support
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005de0
lea rdx, [0x140005fb0]
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]
lea rdx, str.Closing...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005de0
lea rdx, [0x140005fb0]
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]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 8
jb 0x14000390e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003909
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003909
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.140008674
mov qword [rbp + 0x27], r14
mov qword [rbp + 0x2f], 7
mov word [rbp + 0x17], r14w
mov rcx, qword [rbp + 7]
mov rdi, qword [rcx + 8]
cmp byte [rdi + 0x19], 0
jne 0x140003967
nop dword [rax]
mov r8, qword [rdi + 0x10]
lea rdx, [rbp + 7]
lea rcx, [rbp + 7]
call fcn.140007cf0
mov rbx, rdi
mov rdi, qword [rdi]
lea rcx, [rbx + 0x20]
call fcn.140007fb0
mov edx, 0x60
mov rcx, rbx
call fcn.140008674
cmp byte [rdi + 0x19], 0
je 0x140003930
mov rcx, qword [rbp + 7]
mov edx, 0x60
call fcn.140008674
nop
mov rcx, qword [rbp + 0x37]
mov rdi, qword [rcx + 8]
cmp byte [rdi + 0x19], 0
jne 0x1400039b7
mov r8, qword [rdi + 0x10]
lea rdx, [rbp + 0x37]
lea rcx, [rbp + 0x37]
call fcn.140007d50
mov rbx, rdi
mov rdi, qword [rdi]
lea rcx, [rbx + 0x20]
call fcn.140007ed0
mov edx, 0x50
mov rcx, rbx
call fcn.140008674
cmp byte [rdi + 0x19], 0
je 0x140003980
mov rcx, qword [rbp + 0x37]
mov edx, 0x50
call fcn.140008674
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140008610
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret