Function at 0x1402298a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x1404af540]
xor rax, rsp
mov qword [rbp + 0x30], rax
movsxd rbx, edx
mov dword [rsp + 0x38], ebx
mov rdi, rcx
xor ecx, ecx
mov rax, qword [rdi + 0x688]
sub rax, qword [rdi + 0x680]
sar rax, 2
test rax, rax
je 0x140229c9c
lea r15, [rdi + 0x668]
mov r13, qword [r15 + 8]
sub r13, qword [r15]
sar r13, 2
mov qword [rsp + 0x30], r13
movsxd r12, eax
cmp ebx, r13d
jle 0x140229cc9
lea rax, [rsp + 0x40]
mov qword [rsp + 0x60], rax
lea r14, [rdi + 0x738]
lea rsi, [rdi + 0x638]
nop dword [rax]
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rcx
xor r8d, r8d
lea rdx, [0x140419d94]
lea rcx, [rsp + 0x40]
call fcn.140006340
mov ebx, dword [rdi + 0x7c8]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.140005e80
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xor eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], ax
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 7
mov word [rbp - 0x20], ax
mov dword [rbp], eax
mov dword [rbp + 4], r13d
mov dword [rbp + 8], ebx
mov dword [rbp + 0xc], eax
mov byte [rbp + 0x10], 1
lea rcx, [rsp + 0x40]
call fcn.140006060
nop
mov ecx, 0xa8
call fcn.1403ca490
mov rbx, rax
mov qword [rsp + 0x70], rax
xor edx, edx
mov r8d, 0xa8
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea rax, vtable.ui::GridItem.0
mov qword [rbx], rax
lea rcx, [rbx + 8]
lea rdx, [rbp - 0x60]
call fcn.140005e80
nop
lea rcx, [rbx + 0x28]
lea rdx, [rbp - 0x40]
call fcn.140005e80
nop
lea rcx, [rbx + 0x48]
lea rdx, [rbp - 0x20]
call fcn.140005e80
mov eax, dword [rbp]
mov dword [rbx + 0x68], eax
mov eax, dword [rbp + 4]
mov dword [rbx + 0x6c], eax
mov eax, dword [rbp + 8]
mov dword [rbx + 0x70], eax
mov eax, dword [rbp + 0xc]
mov dword [rbx + 0x74], eax
xor ecx, ecx
mov dword [rbx + 0x78], ecx
movzx eax, byte [rbp + 0x10]
mov byte [rbx + 0x7c], al
mov qword [rbx + 0x80], 0xffffffffffffffff
mov qword [rbx + 0x88], rcx
mov qword [rbx + 0x90], rcx
mov qword [rbx + 0x98], rcx
lea rax, vtable.ui::GridHeaderItem.0
mov qword [rbx], rax
mov qword [rbx + 0xa0], rcx
mov rdx, qword [rdi + 0x698]
mov rax, qword [rdi + 0x6a0]
sub rax, rdx
sar rax, 3
test rax, rax
je 0x140229a8a
mov rcx, qword [rdx]
mov qword [rsp + 0x68], rbx
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x140229aa3
mov qword [rdx], rbx
add qword [rcx + 8], 8
jmp 0x140229aad
lea r8, [rsp + 0x68]
call fcn.1401ba200
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x140229ac3
mov eax, dword [r14]
mov dword [rdx], eax
add qword [rsi + 8], 4
jmp 0x140229ace
mov r8, r14
mov rcx, rsi
call fcn.140016df0
mov rdx, qword [r15 + 8]
cmp rdx, qword [r15 + 0x10]
je 0x140229ae7
mov eax, dword [rdi + 0x740]
mov dword [rdx], eax
add qword [r15 + 8], 4
jmp 0x140229af6
lea r8, [rdi + 0x740]
mov rcx, r15
call fcn.140016df0
mov esi, 1
mov r14d, esi
cmp rsi, r12
jge 0x140229bee
xor r15d, r15d
lea r13, vtable.ui::GridItem.0
mov dword [rbp], r14d
mov ecx, 0xa0
call fcn.1403ca490
mov rbx, rax
mov qword [rbp + 0x20], rax
xor edx, edx
mov r8d, 0xa0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbx], r13
lea rcx, [rbx + 8]
lea rdx, [rbp - 0x60]
call fcn.140005e80
nop
lea rcx, [rbx + 0x28]
lea rdx, [rbp - 0x40]
call fcn.140005e80
nop
lea rcx, [rbx + 0x48]
lea rdx, [rbp - 0x20]
call fcn.140005e80
mov eax, dword [rbp]
mov dword [rbx + 0x68], eax
mov eax, dword [rbp + 4]
mov dword [rbx + 0x6c], eax
mov eax, dword [rbp + 8]
mov dword [rbx + 0x70], eax
mov eax, dword [rbp + 0xc]
mov dword [rbx + 0x74], eax
mov dword [rbx + 0x78], r15d
movzx eax, byte [rbp + 0x10]
mov byte [rbx + 0x7c], al
mov qword [rbx + 0x80], 0xffffffffffffffff
mov qword [rbx + 0x88], r15
mov qword [rbx + 0x90], r15
mov qword [rbx + 0x98], r15
mov qword [rsp + 0x68], rbx
mov rax, qword [rdi + 0x698]
mov rcx, qword [rax + rsi*8]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x140229bc9
mov qword [rdx], rbx
add qword [rcx + 8], 8
jmp 0x140229bd3
lea r8, [rsp + 0x68]
call fcn.1401ba200
inc r14d
inc rsi
cmp rsi, r12
jl 0x140229b11
lea r15, [rdi + 0x668]
mov r13, qword [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.140006060
lea rcx, [rbp - 0x40]
call fcn.140006060
lea rcx, [rbp - 0x60]
call fcn.140006060
inc r13d
mov qword [rsp + 0x30], r13
cmp r13d, dword [rsp + 0x38]
lea rsi, [rdi + 0x638]
lea r14, [rdi + 0x738]
mov ecx, 0
jl 0x140229940
lea rdx, [rdi + 0x638]
call fcn.140227db0
mov ebx, eax
cmp eax, 0xfffffffe
jl 0x140229c7d
mov dword [rdi + 0x40], eax
test eax, eax
jle 0x140229c6c
call fcn.14020ef40
cmp byte [rax + 0x10], 0
je 0x140229c6c
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [rax + 4]
divss xmm0, dword [0x140452f54]
cvttss2si ebx, xmm0
cmp dword [rdi + 0x48], ebx
je 0x140229c7d
mov dword [rdi + 0x48], ebx
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x50]
mov rax, qword [rdi]
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, rdi
call qword [rax + 0x458]
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x60]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1403ca460
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
test edx, edx
jle 0x140229c9c
cmp ebx, r13d
jge 0x140229c9c
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x3e8]
lea rcx, [rdi + 0x6b8]
xor edx, edx
call fcn.1401d3490
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
xor esi, esi
mov qword [rbp - 0x70], rsi
mov r14d, esi
test r12, r12
jle 0x140229ded
mov rcx, rbx
mov qword [rsp + 0x30], rbx
mov r13, qword [rbp - 0x78]
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdi + 0x698]
mov rax, qword [rax + r14*8]
mov r9, qword [rax + 8]
mov rax, qword [rax]
lea r8, [rax + rcx*8]
sub r9, r8
sar r9, 3
mov rdx, r13
lea rcx, [rbp - 0x80]
call fcn.140230830
mov r13, qword [rbp - 0x78]
test r14, r14
jne 0x140229db7
mov rsi, r13
mov r15, qword [rbp - 0x80]
sub rsi, r15
sar rsi, 3
xor ebx, ebx
test rsi, rsi
je 0x140229db7
xor r13d, r13d
nop word [rax + rax]
mov dword [rsp + 0x20], r13d
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
mov rcx, qword [r15 + rbx*8]
call sub.VCRUNTIME140.dll___RTDynamicCast
test rax, rax
je 0x140229dab
mov rdx, qword [rax + 0xa0]
test rdx, rdx
je 0x140229dab
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x368]
inc rbx
cmp rbx, rsi
jb 0x140229d70
mov r13, qword [rbp - 0x78]
mov rax, qword [rdi + 0x698]
mov rdx, qword [rax + r14*8]
mov rax, qword [rdx]
mov rcx, qword [rsp + 0x30]
lea rcx, [rax + rcx*8]
cmp rcx, qword [rdx + 8]
je 0x140229dd8
mov qword [rdx + 8], rcx
inc r14
cmp r14, r12
mov rcx, qword [rsp + 0x30]
jl 0x140229d20
mov ebx, ecx
xor esi, esi
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.140230540
nop
mov ecx, reloc.SinoSPE.dll_Ordinal_24
call fcn.1403ca490
mov r8, qword [rsp + 0x50]
mov qword [rsp + 0x50], rsi
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0x48], rsi
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], rsi
mov qword [rax], rcx
mov qword [rax + 8], rdx
mov qword [rax + 0x10], r8
mov qword [rbp + 0x20], rax
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140230bc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140229fac
lea rcx, [rsp + 0x40]
call fcn.1400cec70
cmp dword [rsp + 0x78], 0
je 0x140229fa0
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp + 0x20], xmm0
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140229fa0
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
cmp dword [rdi + 0x6b0], ebx
jle 0x140229eab
mov dword [rdi + 0x6b0], ebx
lea rdx, [rdi + 0x638]
mov rax, qword [rdx]
movsxd r8, ebx
lea rcx, [rax + r8*4]
cmp rcx, qword [rdx + 8]
je 0x140229ec6
mov qword [rdx + 8], rcx
mov rax, qword [rdi + 0x668]
lea rcx, [rax + r8*4]
cmp rcx, qword [rdi + 0x670]
je 0x140229ee1
mov qword [rdi + 0x670], rcx
call fcn.140227db0
mov ebx, eax
cmp eax, 0xfffffffe
jl 0x140229f28
mov dword [rdi + 0x40], eax
test eax, eax
jle 0x140229f17
call fcn.14020ef40
cmp byte [rax + 0x10], 0
je 0x140229f17
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [rax + 4]
divss xmm0, dword [0x140452f54]
cvttss2si ebx, xmm0
cmp dword [rdi + 0x48], ebx
je 0x140229f28
mov dword [rdi + 0x48], ebx
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x50]
mov rax, qword [rdi]
mov r8b, 1
mov edx, 0xffffffff
mov rcx, rdi
call qword [rax + 0x458]
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x60]
nop
cmp dword [rsp + 0x78], 0
je 0x140229f56
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140229c9c
mov rdx, qword [rbp - 0x70]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x140229f96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140229f96
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1403ca488
jmp 0x140229c9c
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x78], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3