Function at 0x41145fc0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2f0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov rbx, r9
movsxd rdi, r8d
movsxd rsi, edx
lea rcx, [r11 - 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor ecx, ecx
lea rdx, str.CFillCandNodeManager::SortPYCandNode
movzx eax, word [rcx + rdx]
mov word [rsp + rcx + 0xc0], ax
add rcx, 2
test ax, ax
jne 0x41146010
lea rcx, [rsp + 0x2c8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop
test rbx, rbx
je 0x411463c7
mov rcx, qword [rbx + 8]
test rcx, rcx
jne 0x4114604a
xor eax, eax
jmp 0x41146055
mov rax, qword [rbx + 0x10]
sub rax, rcx
sar rax, 3
mov r12, rsi
mov qword [rsp + 0x40], rsi
cmp rsi, rax
ja 0x411463c7
test rcx, rcx
jne 0x4114606f
xor eax, eax
jmp 0x4114607a
mov rax, qword [rbx + 0x10]
sub rax, rcx
sar rax, 3
mov r15, rdi
cmp rdi, rax
ja 0x411463c7
cmp esi, edi
jg 0x411463c7
mov rax, qword [0x41361250]
test rax, rax
jne 0x411460c1
mov ecx, 0x36a0
call fcn.41211580
mov qword [rsp + 0x30], rax
test rax, rax
je 0x411460b8
mov rcx, rax
call fcn.411711f0
jmp 0x411460ba
xor eax, eax
mov qword [0x41361250], rax
mov rcx, rax
call fcn.4116b370
mov r14, rax
cmp qword [rax + 0x10], 0
jne 0x41146190
mov rdi, qword [rbx + 8]
cmp rdi, qword [rbx + 0x10]
jbe 0x411460e6
call fcn.41211d60
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rsi, [rdi + r15*8]
cmp rsi, qword [rbx + 0x10]
ja 0x4114610b
cmp rsi, qword [rbx + 8]
jae 0x41146110
call fcn.41211d60
mov rdi, qword [rbx + 8]
cmp rdi, qword [rbx + 0x10]
jbe 0x4114611f
call fcn.41211d60
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rdi, [rdi + r12*8]
cmp rdi, qword [rbx + 0x10]
ja 0x41146144
cmp rdi, qword [rbx + 8]
jae 0x41146149
call fcn.41211d60
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x30], rax
je 0x4114615a
call fcn.41211d60
cmp rdi, rsi
je 0x4114617d
lea rax, [0x41142d90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call fcn.41145680
nop
lea rcx, [rsp + 0x2d0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x411463d5
mov rbp, rsi
cmp esi, edi
jge 0x41146311
nop
nop
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x411461b9
mov rax, qword [rbx + 0x10]
sub rax, rcx
sar rax, 3
cmp rbp, rax
jb 0x411461be
call fcn.41211d60
mov rax, qword [rbx + 8]
mov rdi, qword [rax + rbp*8]
lea rdx, [rdi + 0x70]
mov qword [rsp + 0xb0], 7
mov qword [rsp + 0xa8], 0
mov word [rsp + 0x98], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x90]
call fcn.41022de0
nop
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.41144510
mov r13, qword [r14 + 8]
mov rsi, qword [rsp + 0x30]
test rsi, rsi
je 0x41146229
cmp rsi, r14
je 0x4114622e
call fcn.41211d60
mov r12, qword [rsp + 0x38]
cmp r12, r13
je 0x411462e7
test rsi, rsi
jne 0x41146246
call fcn.41211d60
cmp r12, qword [rsi + 8]
jne 0x41146251
call fcn.41211d60
mov eax, dword [r12 + 0x40]
mov dword [rsp + 0x58], eax
mov eax, dword [r12 + 0x44]
mov dword [rsp + 0x5c], eax
mov eax, dword [r12 + 0x48]
mov dword [rsp + 0x60], eax
mov eax, dword [r12 + 0x4c]
mov dword [rsp + 0x64], eax
lea rdx, [r12 + 0x50]
mov qword [rsp + 0x88], 7
mov qword [rsp + 0x80], 0
mov word [rsp + 0x70], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x68]
call fcn.41022de0
mov edx, dword [rdi + 0x18]
mov ecx, dword [rsp + 0x60]
mov eax, dword [rsp + 0x64]
cmp edx, eax
jbe 0x411462c1
lea eax, [rdx + rcx]
mov dword [rdi + 0x18], eax
jmp 0x411462c4
mov dword [rdi + 0x18], eax
mov dword [rdi + 0x14], ecx
mov eax, dword [rsp + 0x58]
mov dword [rdi + 0xec], eax
cmp qword [rsp + 0x88], 8
jb 0x411462e7
mov rcx, qword [rsp + 0x70]
call fcn.41210d60
nop
cmp qword [rsp + 0xb0], 8
jb 0x411462ff
mov rcx, qword [rsp + 0x98]
call fcn.41210d60
add rbp, 1
cmp rbp, r15
jl 0x411461a0
mov r12, qword [rsp + 0x40]
mov rdi, qword [rbx + 8]
cmp rdi, qword [rbx + 0x10]
jbe 0x41146320
call fcn.41211d60
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rsi, [rdi + r15*8]
cmp rsi, qword [rbx + 0x10]
ja 0x41146345
cmp rsi, qword [rbx + 8]
jae 0x4114634a
call fcn.41211d60
mov rdi, qword [rbx + 8]
cmp rdi, qword [rbx + 0x10]
jbe 0x41146359
call fcn.41211d60
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rdi, [rdi + r12*8]
cmp rdi, qword [rbx + 0x10]
ja 0x4114637e
cmp rdi, qword [rbx + 8]
jae 0x41146383
call fcn.41211d60
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x30], rax
je 0x41146394
call fcn.41211d60
cmp rdi, rsi
je 0x411463b7
lea rax, [0x41142d90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call fcn.41145680
nop
lea rcx, [rsp + 0x2d0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x411463d5
lea rcx, [rsp + 0x2d0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.41211b80
mov rbx, qword [rsp + 0x330]
add rsp, 0x2f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret