Function at 0x14016ee38
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc8
xor edi, edi
lea rax, [r8 + 0x10]
mov r12, rcx
mov esi, edi
mov r14d, edi
mov qword [rbp - 0x69], rdi
mov r15d, edi
mov qword [rbp - 0x31], rdi
mov qword [rbp - 0x59], rdi
mov qword [rbp + 7], rax
mov dword [rbp + 0x7f], edi
cmp dword [r8 + 4], edi
jle 0x14016f2a6
mov ecx, edi
mov qword [rbp - 0x41], rcx
mov r13, qword [r8 + 8]
add r13, rcx
test rsi, rsi
je 0x14016eebe
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rsi - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140078324
mov qword [rbp - 0x69], rdi
lea rdx, [rbp - 0x69]
mov rcx, r13
call fcn.140067fb4
mov r15d, eax
test eax, eax
js 0x14016f6ae
mov rbx, qword [rbp - 0x59]
test rbx, rbx
je 0x14016eef9
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403a2250]
mov rcx, rbx
call rdi
xor edi, edi
mov qword [rbp - 0x59], rdi
mov rsi, qword [r12 + 0x18]
cmp dword [0x140422f18], 1
cmove rdi, qword [0x1404224a8]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x178]
mov rcx, rbx
call qword [0x1403a2250]
lea r8, [rbp - 0x59]
mov rdx, rdi
mov rcx, rsi
call rbx
xor edi, edi
mov r15d, eax
test eax, eax
js 0x14016f6ae
mov r12, qword [rbp - 0x59]
lea rax, [0x1403bce6c]
mov ebx, edi
mov qword [rbp - 0x39], rdi
or rcx, 0xffffffffffffffff
mov qword [rbp - 0x61], rbx
xor r15d, r15d
mov esi, edi
inc rcx
cmp word [rax + rcx*2], r15w
jne 0x14016ef57
mov eax, ecx
cmp rcx, rax
je 0x14016ef79
mov eax, 0x80070216
mov ecx, eax
mov r15d, eax
call fcn.140078308
jmp 0x14016ef80
xor ecx, ecx
call fcn.140078324
mov ecx, r15d
call fcn.140078324
test r15d, r15d
jns 0x14016ef9a
mov ecx, r15d
call fcn.140078308
jmp 0x14016f13c
mov r8d, 0x7fffffff
lea rdx, [rbp - 0x51]
lea rcx, [0x1403bce6c]
call fcn.140077f90
mov r15d, eax
test eax, eax
jns 0x14016efc0
mov ecx, eax
call fcn.140078308
jmp 0x14016efe5
mov edx, dword [rbp - 0x51]
lea r8, [rbp - 0x61]
lea rcx, [0x1403bce6c]
call fcn.1400780c4
mov r15d, eax
test eax, eax
jns 0x14016efe1
mov ecx, eax
call fcn.140078308
mov rbx, qword [rbp - 0x61]
mov ecx, r15d
call fcn.140078324
test r15d, r15d
js 0x14016ef8d
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
xor r15d, r15d
mov rsi, rax
test rax, rax
jne 0x14016f01a
mov r12d, 0x8007000e
mov esi, r15d
mov r15d, r12d
mov ecx, r12d
jmp 0x14016ef90
test rbx, rbx
je 0x14016f042
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rbx - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140078324
mov rbx, r15
mov qword [rbp - 0x61], rbx
mov rax, qword [rbp - 0x69]
test rax, rax
jne 0x14016f0ac
mov r8d, 0x7fffffff
lea rdx, [rbp - 0x4d]
lea rcx, [0x1403a8ac8]
call fcn.140077f90
mov r15d, eax
test eax, eax
jns 0x14016f071
mov ecx, eax
call fcn.140078308
jmp 0x14016f096
mov edx, dword [rbp - 0x4d]
lea r8, [rbp - 0x61]
lea rcx, [0x1403a8ac8]
call fcn.1400780c4
mov r15d, eax
test eax, eax
jns 0x14016f092
mov ecx, eax
call fcn.140078308
mov rbx, qword [rbp - 0x61]
mov ecx, r15d
call fcn.140078324
test r15d, r15d
js 0x14016ef8d
mov rcx, rbx
jmp 0x14016f0ee
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r15w
jne 0x14016f0b0
mov eax, ecx
cmp rcx, rax
je 0x14016f0d2
mov eax, 0x80070216
mov ecx, eax
mov r15d, eax
call fcn.140078308
jmp 0x14016f0d9
xor ecx, ecx
call fcn.140078324
mov ecx, r15d
call fcn.140078324
test r15d, r15d
js 0x14016ef8d
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
xor eax, eax
test rdi, rdi
jne 0x14016f10f
mov edi, eax
mov eax, 0x8007000e
mov r15d, eax
mov ecx, eax
jmp 0x14016ef90
mov rcx, qword [rbp + 0x67]
mov r9, rdi
mov r8, rsi
mov rdx, r12
mov rcx, qword [rcx + 0x18]
call fcn.1401584f8
mov r15d, eax
test eax, eax
js 0x14016ef8d
lea rdx, [rbp - 0x39]
mov rcx, r12
call fcn.1400753a4
mov ecx, r15d
call fcn.140078324
test rdi, rdi
je 0x14016f152
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
xor edi, edi
test rsi, rsi
je 0x14016f162
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rbx, rbx
je 0x14016f183
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rbx - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140078324
xor r9d, r9d
mov qword [rbp - 0x29], 3
lea rax, [0x140033aa0]
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x21], rax
lea rdx, [rbp - 0x29]
lea rax, [rbp - 0x39]
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
mov qword [rbp - 0x11], rax
call sub.ntdll.dll_NtQuerySystemInformation
test r15d, r15d
js 0x14016f3a6
mov ebx, edi
mov r12, qword [rbp + 0x67]
cmp dword [r13 + 0x14], edi
jle 0x14016f250
test r14, r14
je 0x14016f1f5
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [r14 - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140078324
mov qword [rbp - 0x31], rdi
movsxd rcx, ebx
lea rdx, [rbp - 0x31]
shl rcx, 4
add rcx, qword [r13 + 0x18]
call fcn.140067fb4
mov r15d, eax
test eax, eax
js 0x14016f6ae
mov r14, qword [rbp - 0x31]
lea r9, str.skuId
mov rdx, qword [rbp - 0x59]
xor r8d, r8d
mov qword [rsp + 0x30], rdi
mov rcx, r12
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r14
call fcn.140170d64
mov r15d, eax
test eax, eax
js 0x14016f6ae
inc ebx
cmp ebx, dword [r13 + 0x14]
jl 0x14016f1d0
mov rdi, qword [rbp + 0x6f]
mov rax, qword [rdi]
mov rbx, qword [rax + 0xa8]
mov rcx, rbx
call qword [0x1403a2250]
mov rdx, qword [rbp - 0x59]
xor r8d, r8d
mov rcx, rdi
call rbx
xor edi, edi
mov r15d, eax
test eax, eax
js 0x14016f6ae
mov edx, dword [rbp + 0x7f]
mov rcx, qword [rbp - 0x41]
inc edx
mov r8, qword [rbp + 0x77]
add rcx, 0x20
mov rsi, qword [rbp - 0x69]
mov dword [rbp + 0x7f], edx
mov qword [rbp - 0x41], rcx
cmp edx, dword [r8 + 4]
jl 0x14016ee92
mov dword [rbp + 0x7f], edi
cmp dword [r8 + 0x24], edi
jle 0x14016f6b5
mov rax, rdi
mov qword [rbp - 1], rax
mov rcx, qword [r8 + 0x28]
lea rax, [rax + rax*8]
lea r13, [rcx + rax*8]
test rsi, rsi
je 0x14016f2eb
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rsi - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140078324
mov qword [rbp - 0x69], rdi
lea rdx, [rbp - 0x69]
mov rcx, r13
call fcn.140067fb4
mov r15d, eax
test eax, eax
js 0x14016f6ae
mov rbx, qword [rbp - 0x59]
test rbx, rbx
je 0x14016f326
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403a2250]
mov rcx, rbx
call rdi
xor edi, edi
mov qword [rbp - 0x59], rdi
mov rsi, qword [r12 + 0x18]
cmp dword [0x140422f18], 1
cmove rdi, qword [0x1404224b0]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x178]
mov rcx, rbx
call qword [0x1403a2250]
lea r8, [rbp - 0x59]
mov rdx, rdi
mov rcx, rsi
call rbx
xor edi, edi
mov r15d, eax
test eax, eax
js 0x14016f6ae
mov r14, qword [rbp - 0x59]
lea rax, str.pkeyId
mov ebx, edi
mov qword [rbp - 0x49], rdi
or rcx, 0xffffffffffffffff
mov qword [rbp - 0x61], rbx
xor r12d, r12d
mov esi, edi
inc rcx
cmp word [rax + rcx*2], r12w
jne 0x14016f384
mov eax, ecx
cmp rcx, rax
je 0x14016f3ae
mov eax, 0x80070216
mov ecx, eax
mov r15d, eax
call fcn.140078308
jmp 0x14016f3b8
mov ecx, r15d
jmp 0x14016f6b0
xor ecx, ecx
call fcn.140078324
mov r15d, r12d
mov ecx, r15d
call fcn.140078324
test r15d, r15d
jns 0x14016f3d6
mov ecx, r15d
call fcn.140078308
mov r12, qword [rbp - 0x69]
jmp 0x14016f579
mov r8d, 0x7fffffff
lea rdx, [rbp - 0x4d]
lea rcx, str.pkeyId
call fcn.140077f90
mov r15d, eax
test eax, eax
jns 0x14016f3fc
mov ecx, eax
call fcn.140078308
jmp 0x14016f421
mov edx, dword [rbp - 0x4d]
lea r8, [rbp - 0x61]
lea rcx, str.pkeyId
call fcn.1400780c4
mov r15d, eax
test eax, eax
jns 0x14016f41d
mov ecx, eax
call fcn.140078308
mov rbx, qword [rbp - 0x61]
mov ecx, r15d
call fcn.140078324
test r15d, r15d
js 0x14016f3c5
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rsi, rax
test rax, rax
jne 0x14016f453
mov r14d, 0x8007000e
mov rsi, r12
mov r15d, r14d
mov ecx, r14d
jmp 0x14016f3c8
test rbx, rbx
je 0x14016f47b
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rbx - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140078324
mov rbx, r12
mov qword [rbp - 0x61], rbx
mov r12, qword [rbp - 0x69]
xor r15d, r15d
test r12, r12
jne 0x14016f4f1
mov r8d, 0x7fffffff
lea rdx, [rbp - 0x51]
lea rcx, [0x1403a8ac8]
call fcn.140077f90
mov r15d, eax
test eax, eax
jns 0x14016f4ad
mov ecx, eax
call fcn.140078308
jmp 0x14016f4d2
mov edx, dword [rbp - 0x51]
lea r8, [rbp - 0x61]
lea rcx, [0x1403a8ac8]
call fcn.1400780c4
mov r15d, eax
test eax, eax
jns 0x14016f4ce
mov ecx, eax
call fcn.140078308
mov rbx, qword [rbp - 0x61]
mov ecx, r15d
call fcn.140078324
test r15d, r15d
jns 0x14016f4ec
mov ecx, r15d
call fcn.140078308
jmp 0x14016f579
mov rcx, rbx
jmp 0x14016f52e
or rcx, 0xffffffffffffffff
inc rcx
cmp word [r12 + rcx*2], r15w
jne 0x14016f4f5
mov eax, ecx
cmp rcx, rax
je 0x14016f517
mov eax, 0x80070216
mov ecx, eax
mov r15d, eax
call fcn.140078308
jmp 0x14016f51e
xor ecx, ecx
call fcn.140078324
mov ecx, r15d
call fcn.140078324
test r15d, r15d
js 0x14016f4df
mov rcx, r12
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
xor eax, eax
test rdi, rdi
jne 0x14016f54c
mov edi, eax
mov eax, 0x8007000e
mov r15d, eax
mov ecx, eax
jmp 0x14016f4e2
mov rcx, qword [rbp + 0x67]
mov r9, rdi
mov r8, rsi
mov rdx, r14
mov rcx, qword [rcx + 0x18]
call fcn.1401584f8
mov r15d, eax
test eax, eax
js 0x14016f4df
lea rdx, [rbp - 0x49]
mov rcx, r14
call fcn.1400753a4
mov ecx, r15d
call fcn.140078324
test rdi, rdi
je 0x14016f58f
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
xor edi, edi
test rsi, rsi
je 0x14016f59f
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rbx, rbx
je 0x14016f5c0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rbx - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140078324
xor r9d, r9d
mov qword [rbp - 0x29], 3
lea rax, [0x140033aa0]
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x21], rax
lea rdx, [rbp - 0x29]
lea rax, [rbp - 0x49]
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
mov qword [rbp - 0x11], rax
call sub.ntdll.dll_NtQuerySystemInformation
test r15d, r15d
js 0x14016f3a6
mov rax, qword [0x1403c56c0]
cmp rax, qword [r13 + 0x10]
jne 0x14016f71a
mov rcx, qword [0x1403c56c8]
cmp rcx, qword [r13 + 0x18]
jne 0x14016f71a
lea rdx, [r13 + 0x20]
cmp rax, qword [rdx]
jne 0x14016f632
cmp rcx, qword [rdx + 8]
je 0x14016f9b2
mov rbx, qword [rbp + 7]
lea r8, [rbp - 9]
mov rcx, rbx
call fcn.1401706b0
test al, al
je 0x14016f9b2
lea rcx, [rbp - 0x69]
call fcn.1400779a0
movsxd rcx, dword [rbp - 9]
lea rdx, [rbp - 0x69]
shl rcx, 5
add rcx, 0x10
add rcx, qword [rbx + 8]
call fcn.140067fb4
mov r15d, eax
test eax, eax
js 0x14016f6ae
mov r12, qword [rbp + 0x67]
lea r9, str.skuId
mov rsi, qword [rbp - 0x69]
mov rcx, r12
mov rdx, qword [rbp - 0x59]
mov r8d, 1
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rsi
call fcn.140170d64
mov r15d, eax
test eax, eax
jns 0x14016f9ba
mov ecx, eax
call fcn.140078308
mov ecx, r15d
call fcn.140078324
xor r9d, r9d
mov qword [rbp - 0x29], 3
lea rax, [0x140033aa0]
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x21], rax
lea rdx, [rbp - 0x29]
lea rax, [rbp - 0x59]
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
mov qword [rbp - 0x11], rax
call sub.ntdll.dll_NtQuerySystemInformation
lea rcx, [rbp - 0x31]
call fcn.140078250
lea rcx, [rbp - 0x69]
call fcn.140078250
mov eax, r15d
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor esi, esi
test r12, r12
je 0x14016f742
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [r12 - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140078324
mov qword [rbp - 0x69], rsi
lea rdx, [rbp - 0x69]
lea rcx, [r13 + 0x10]
call fcn.140067fb4
mov r15d, eax
test eax, eax
js 0x14016f6ae
mov r12, qword [rbp - 0x59]
lea rax, str.skuId
xor r15d, r15d
mov qword [rbp - 0x49], rdi
mov ebx, r15d
mov qword [rbp - 0x61], rdi
or r14, 0xffffffffffffffff
inc r14
cmp word [rax + r14*2], r15w
jne 0x14016f777
mov eax, r14d
cmp r14, rax
je 0x14016f79a
mov eax, 0x80070216
mov ecx, eax
mov r15d, eax
call fcn.140078308
jmp 0x14016f7a5
xor ecx, ecx
call fcn.140078324
mov dword [rbp - 0x39], r14d
mov ecx, r15d
call fcn.140078324
xor r14d, r14d
test r15d, r15d
jns 0x14016f7c2
mov ecx, r15d
call fcn.140078308
jmp 0x14016f940
mov r8d, 0x7fffffff
lea rdx, [rbp - 5]
lea rcx, str.skuId
call fcn.140077f90
mov r15d, eax
test eax, eax
jns 0x14016f7e8
mov ecx, eax
call fcn.140078308
jmp 0x14016f80d
mov edx, dword [rbp - 5]
lea r8, [rbp - 0x61]
lea rcx, str.skuId
call fcn.1400780c4
mov r15d, eax
test eax, eax
jns 0x14016f809
mov ecx, eax
call fcn.140078308
mov rsi, qword [rbp - 0x61]
mov ecx, r15d
call fcn.140078324
test r15d, r15d
js 0x14016f7b5
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
test rax, rax
jne 0x14016f83f
mov r12d, 0x8007000e
mov rdi, r14
mov r15d, r12d
mov ecx, r12d
jmp 0x14016f7b8
test rsi, rsi
je 0x14016f867
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rsi - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140078324
mov rsi, r14
mov qword [rbp - 0x61], r14
cmp qword [rbp - 0x69], r14
jne 0x14016f8ec
mov r8d, 0x7fffffff
lea rdx, [rbp - 0x41]
lea rcx, [0x1403a8ac8]
call fcn.140077f90
mov r15d, eax
test eax, eax
jns 0x14016f893
mov ecx, eax
call fcn.140078308
jmp 0x14016f8b8
mov edx, dword [rbp - 0x41]
lea r8, [rbp - 0x61]
lea rcx, [0x1403a8ac8]
call fcn.1400780c4
mov r15d, eax
test eax, eax
jns 0x14016f8b4
mov ecx, eax
call fcn.140078308
mov rsi, qword [rbp - 0x61]
mov ecx, r15d
call fcn.140078324
test r15d, r15d
js 0x14016f7b5
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
test rax, rax
jne 0x14016f917
mov eax, 0x8007000e
mov rbx, r14
mov r15d, eax
mov ecx, eax
jmp 0x14016f7b8
mov rsi, qword [rbp - 0x69]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rsi + rcx*2], r14w
jne 0x14016f8f4
lea rdx, [rbp - 0x39]
call fcn.140077f40
mov r15d, eax
test eax, eax
jns 0x14016f8c9
mov ecx, eax
call fcn.140078308
jmp 0x14016f944
mov r9, rax
mov r8, rdi
mov rax, qword [rbp + 0x67]
mov rdx, r12
mov rcx, qword [rax + 0x18]
call fcn.1401584f8
mov r15d, eax
test eax, eax
js 0x14016f8e5
lea rdx, [rbp - 0x49]
mov rcx, r12
call fcn.1400753a4
mov rsi, qword [rbp - 0x69]
mov ecx, r15d
call fcn.140078324
test rbx, rbx
je 0x14016f95a
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rdi, rdi
je 0x14016f968
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
lea rcx, [rbp - 0x61]
call fcn.140078250
xor edi, edi
mov qword [rbp - 0x29], 3
lea rax, [0x140033aa0]
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x21], rax
lea rdx, [rbp - 0x29]
lea rax, [rbp - 0x49]
xor r9d, r9d
lea r8d, [rdi + 0x20]
mov qword [rbp - 0x11], rax
mov ecx, 0xb9
call sub.ntdll.dll_NtQuerySystemInformation
test r15d, r15d
js 0x14016f3a6
jmp 0x14016f9b6
mov rsi, qword [rbp - 0x69]
mov r12, qword [rbp + 0x67]
cmp qword [r13 + 0x30], rdi
je 0x14016f9f7
mov rax, qword [r13 + 0x30]
lea r9, [0x1403bccb4]
mov rdx, qword [rbp - 0x59]
mov r8d, 1
mov qword [rsp + 0x30], rdi
mov rcx, r12
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.140170d64
mov r15d, eax
test eax, eax
js 0x14016f6ae
cmp qword [r13 + 0x38], rdi
je 0x14016fa34
mov rax, qword [r13 + 0x38]
lea r9, str.pid2
mov rdx, qword [rbp - 0x59]
mov r8d, 1
mov qword [rsp + 0x30], rdi
mov rcx, r12
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.140170d64
mov r15d, eax
test eax, eax
js 0x14016f6ae
cmp qword [r13 + 0x40], rdi
je 0x14016fa71
mov rax, qword [r13 + 0x40]
lea r9, [0x1403bce2c]
mov rdx, qword [rbp - 0x59]
mov r8d, 1
mov qword [rsp + 0x30], rdi
mov rcx, r12
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.140170d64
mov r15d, eax
test eax, eax
js 0x14016f6ae
mov rdi, qword [rbp + 0x6f]
mov rax, qword [rdi]
mov rbx, qword [rax + 0xa8]
mov rcx, rbx
call qword [0x1403a2250]
mov rdx, qword [rbp - 0x59]
xor r8d, r8d
mov rcx, rdi
call rbx
xor edi, edi
mov r15d, eax
test eax, eax
js 0x14016f6ae
mov edx, dword [rbp + 0x7f]
mov rax, qword [rbp - 1]
inc edx
mov r8, qword [rbp + 0x77]
inc rax
mov dword [rbp + 0x7f], edx
mov qword [rbp - 1], rax
cmp edx, dword [r8 + 0x24]
jge 0x14016f6b5
jmp 0x14016f2ba