Function at 0x140049b30
Capabilities:
Terminate process

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x110
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x160], rbx
mov rax, qword [0x14020c050]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov r12, rdx
mov qword [rsp + 0x28], rdx
mov rbx, rcx
mov rax, qword [rdx + 8]
sub rax, qword [rdx]
sar rax, 2
movsxd r15, eax
xor r14d, r14d
test eax, eax
jle 0x140049c43
mov ebp, r14d
nop dword [rax]
mov rax, qword [r12]
movsxd rdi, dword [rax + rbp*4]
mov rsi, qword [rbx + 0x30]
mov rcx, qword [rsi + 0x40]
mov eax, edi
lea rdx, [rax*8]
mov rax, qword [rcx]
mov rcx, qword [rdx + rax]
mov eax, dword [rcx + 0x30]
dec eax
test eax, 0xfffffffd
jne 0x140049c37
mov rax, qword [rbx + 0x18]
cmp qword [rax + rdi*8], r14
je 0x140049d95
mov rsi, qword [rsi + 0x58]
mov rax, qword [rsi + 0x188]
mov rcx, qword [rax]
mov rax, qword [rdx + rcx]
cmp byte [rax + 0x1b4], r14b
je 0x140049c37
mov rax, qword [rax + 0x1a8]
test rax, rax
je 0x140049c37
cmp byte [rax + 0x178], r14b
je 0x140049c37
lea rcx, [rsi + 0x58]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 0xffffffff
lea r8, [rsp + 0x20]
mov edx, edi
call qword [rax + 0x48]
mov r8d, 0xffffffff
mov edx, edi
mov rcx, rsi
call fcn.14011eb90
cmp byte [rsi + 0x208], r14b
je 0x140049c37
mov edx, edi
mov rcx, rsi
call fcn.14011ee90
inc rbp
cmp rbp, r15
jl 0x140049b90
mov rax, qword [rbx + 0x30]
mov dl, 1
mov rcx, qword [rax + 0x50]
call fcn.140100570
test r15, r15
jle 0x140049e07
mov rdi, r14
nop
mov rax, qword [r12]
movsxd rsi, dword [rax + rdi*4]
mov r13, qword [rbx + 0x30]
mov rcx, qword [r13 + 0x40]
mov eax, esi
lea rbp, [rax*8]
mov rax, qword [rcx]
mov rdx, qword [rax + rbp]
mov eax, dword [rdx + 0x30]
dec eax
test eax, 0xfffffffd
jne 0x140049dfb
add rdx, 0x38
lea r12, [rsi*8]
mov rax, qword [rbx + 0x18]
mov rcx, qword [r12 + rax]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140049cb3
mov rdx, qword [rdx]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x140049cc1
mov rcx, qword [rcx]
cmp r8, rax
jne 0x140049dcc
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140049dcc
lea r8d, [rax + 1]
mov edx, esi
mov rcx, r13
call fcn.14002b620
xor edx, edx
mov r8d, 0xb8
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbx + 0x30]
mov rax, qword [rcx + 0x20]
movzx r8d, byte [rax + 0x239]
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax + 8]
sub rdx, qword [rax]
sar rdx, 3
lea rcx, [rsp + 0x40]
call fcn.140036240
nop
mov rax, qword [rbx + 0x18]
mov r8, qword [r12 + rax]
add r8, 0x38
mov rax, qword [rbx + 0x30]
mov rcx, qword [rax + 0x40]
mov rax, qword [rcx]
mov rdx, qword [rax + rbp]
call fcn.140058090
mov rax, qword [rbx + 0x18]
mov rcx, qword [r12 + rax]
mov edx, dword [rcx + 0x50]
cmp edx, 0xffffffff
je 0x140049d7c
mov rax, qword [rbx + 0x30]
mov rcx, qword [rax + 0x40]
mov rax, qword [rcx]
mov r8, qword [rax + rbp]
mov rax, qword [r8 + 0xc8]
movsxd rcx, dword [rax + 0x2c]
mov rax, qword [r8 + 0xe8]
mov rcx, qword [rax + rcx*8]
call fcn.14005b680
nop
lea rcx, [rsp + 0x98]
call fcn.140036970
lea rcx, [rsp + 0x40]
call fcn.140036fe0
jmp 0x140049df6
mov edx, edi
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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]
mov rcx, rax
lea rdx, [0x1401715f0]
call fcn.1400092d0
lea rdx, [0x1400094a0]
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]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r8d, 2
mov edx, esi
mov rcx, r13
call fcn.140025ab0
mov rax, qword [rbx + 0x18]
mov r8, qword [r12 + rax]
mov rcx, qword [rbx + 0x30]
mov r9, r8
mov edx, esi
mov rcx, qword [rcx + 0x40]
call fcn.1400757d0
mov r12, qword [rsp + 0x28]
inc rdi
cmp rdi, r15
jl 0x140049c60
mov rax, qword [rbx + 0x30]
mov rcx, qword [rax + 0x50]
mov rax, qword [rcx + 8]
mov rdx, qword [rax + 0x10]
sub rdx, qword [rax + 8]
sar rdx, 2
test edx, edx
mov dl, 1
jle 0x140049e2c
call fcn.1401006c0
jmp 0x140049e31
call fcn.140100570
test r15, r15
jle 0x140049ee4
nop word [rax + rax]
mov rax, qword [r12]
mov esi, dword [rax + r14*4]
mov rdi, qword [rbx + 0x30]
lea rdx, [rsi*8]
mov rax, qword [rdi + 0x40]
mov rcx, qword [rax]
mov rax, qword [rcx + rdx]
mov ecx, dword [rax + 0x30]
dec ecx
test ecx, 0xfffffffd
jne 0x140049ed8
mov rdi, qword [rdi + 0x58]
mov rax, qword [rdi + 0x188]
mov rcx, qword [rax]
mov rax, qword [rdx + rcx]
cmp byte [rax + 0x1b4], 0
je 0x140049e9c
mov rax, qword [rax + 0x1a8]
test rax, rax
je 0x140049e9c
cmp byte [rax + 0x178], 0
jne 0x140049ed8
mov dword [rsp + 0x20], 1
lea rcx, [rdi + 0x58]
mov rax, qword [rcx]
lea r8, [rsp + 0x20]
mov edx, esi
call qword [rax + 0x48]
mov r8d, 1
mov edx, esi
mov rcx, rdi
call fcn.14011eb90
cmp byte [rdi + 0x208], 0
je 0x140049ed8
mov edx, esi
mov rcx, rdi
call fcn.14011ee90
inc r14
cmp r14, r15
jl 0x140049e40
mov rcx, qword [rbx + 0x30]
mov dl, 1
mov rcx, qword [rcx + 0x50]
call fcn.140100570
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.14014a6d0
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret