Function at 0x180005120
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x3e8]
sub rsp, 0x4e0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x180066008]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor esi, esi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
or r14, 0xffffffffffffffff
mov edx, r14d
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
lea r8, str.Rentingone
lea rcx, [rbp + 0xc0]
call fcn.180005074
lea r8, str.Rentingtow
lea rcx, [rbp - 0x40]
call fcn.180005074
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x1800053c1
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.180005904
nop
lea rdi, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdi, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
test r8, r8
je 0x18000520e
lea edx, [rsi + 0x3a]
mov rcx, rdi
call fcn.18001d6f0
mov rbx, rax
test rax, rax
je 0x18000520e
sub rbx, rdi
jmp 0x180005211
mov rbx, r14
mov r9, rbx
xor r8d, r8d
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call fcn.18000581c
nop
lea r8, [rbx + 1]
mov r9, r14
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.18000581c
nop
xor edx, edx
mov r8d, 0x104
lea rbx, [0x180069230]
mov rcx, rbx
call fcn.18001d0d0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1c0]
call fcn.18001d0d0
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae r8, qword [rbp - 0x60]
mov dword [rsp + 0x28], 0x104
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x20], rax
mov r9d, r14d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, rsi
movzx eax, word [rbp + rcx + 0x1c0]
mov word [rcx + rbx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180005299
call fcn.18002356c
mov rdi, rax
lea rbx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rbx, qword [rbp - 0x80]
mov dword [rax], esi
mov r8d, 0xa
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.18002358c
cmp rbx, qword [rsp + 0x58]
je 0x1800054a0
cmp dword [rdi], 0x22
je 0x180005493
mov dword [0x180069438], eax
mov ebx, 0x1000
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x18000532f
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, rbx
jb 0x18000532a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800054ad
call fcn.18000b290
movdqa xmm0, xmmword [0x18005d1b0]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], sil
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x180005377
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, rbx
jb 0x180005372
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800054b3
call fcn.18000b290
movdqa xmm0, xmmword [0x18005d1b0]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], sil
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1800053c1
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, rbx
jb 0x1800053bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000548d
call fcn.18000b290
lea rcx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x180005438
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x1c0]
call fcn.18001d0d0
mov dword [rsp + 0x28], 0x104
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x20], rax
mov r9d, r14d
lea r8, [rbp + 0xc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
lea r9, [rbp + 0x1c0]
lea r8, [0x1800046a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x1800046a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.18000b240
lea r11, [rsp + 0x4e0]
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
call fcn.180023bc4
nop
lea rcx, str.stoi_argument_out_of_range
call fcn.18001ab80
int3
lea rcx, str.invalid_stoi_argument
call fcn.18001ab38
nop
call fcn.180023bc4
nop
call fcn.180023bc4
int3