Function at 0x140229fd0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
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
mov esi, edx
mov dword [rsp + 0x38], edx
mov r15, rcx
xor ebx, ebx
mov rdi, qword [rcx + 0x670]
sub rdi, qword [rcx + 0x668]
sar rdi, 2
test rdi, rdi
je 0x14022a3e9
mov rdx, qword [rcx + 0x688]
sub rdx, qword [rcx + 0x680]
sar rdx, 2
mov qword [rsp + 0x30], rdx
cmp esi, edx
jle 0x14022a410
lea eax, [rsi + 0x64]
movsxd rcx, eax
mov qword [rsp + 0x68], rcx
lea r13, [r15 + 0x698]
mov rax, qword [r13 + 0x10]
sub rax, qword [r13]
sar rax, 3
cmp rcx, rax
jbe 0x14022a084
movabs rax, 0x1fffffffffffffff
cmp rcx, rax
ja 0x14022a71e
lea rdx, [rsp + 0x68]
mov rcx, r13
call fcn.140230620
jmp 0x14022a089
mov qword [rsp + 0x30], rdx
movsxd rax, edi
mov qword [rsp + 0x68], rax
lea rdi, [r15 + 0x650]
nop dword [rax + rax]
mov ecx, reloc.SinoSPE.dll_Ordinal_32
call fcn.1403ca490
mov rsi, rax
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbx
mov qword [rsp + 0x58], rax
mov r12d, ebx
mov r14, rbx
cmp qword [rsp + 0x68], r12
jle 0x14022a2de
lea rax, [rbp - 0x80]
mov qword [rsp + 0x70], rax
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rbx
xor r8d, r8d
lea rdx, [0x140419d94]
lea rcx, [rbp - 0x80]
call fcn.140006340
mov edi, dword [r15 + 0x7c8]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x50]
call fcn.140005e80
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], bx
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rbx
mov qword [rbp + 8], 7
mov word [rbp - 0x10], bx
mov rax, qword [rsp + 0x30]
mov dword [rbp + 0x10], eax
mov dword [rbp + 0x14], r12d
mov dword [rbp + 0x18], edi
mov dword [rbp + 0x1c], ebx
mov byte [rbp + 0x20], 1
lea rcx, [rbp - 0x80]
call fcn.140006060
nop
mov ecx, 0xa0
call fcn.1403ca490
mov rdi, rax
mov qword [rbp - 0x60], rax
xor edx, edx
mov r8d, 0xa0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea rax, vtable.ui::GridItem.0
mov qword [rdi], rax
lea rcx, [rdi + 8]
lea rdx, [rbp - 0x50]
call fcn.140005e80
nop
lea rcx, [rdi + 0x28]
lea rdx, [rbp - 0x30]
call fcn.140005e80
nop
lea rcx, [rdi + 0x48]
lea rdx, [rbp - 0x10]
call fcn.140005e80
mov eax, dword [rbp + 0x10]
mov dword [rdi + 0x68], eax
mov eax, dword [rbp + 0x14]
mov dword [rdi + 0x6c], eax
mov eax, dword [rbp + 0x18]
mov dword [rdi + 0x70], eax
mov eax, dword [rbp + 0x1c]
mov dword [rdi + 0x74], eax
mov dword [rdi + 0x78], ebx
movzx eax, byte [rbp + 0x20]
mov byte [rdi + 0x7c], al
mov qword [rdi + 0x80], 0xffffffffffffffff
lea r9, [rdi + 0x88]
mov qword [r9], rbx
mov qword [r9 + 8], rbx
mov qword [r9 + 0x10], rbx
mov rcx, qword [r13]
mov rax, qword [r13 + 8]
sub rax, rcx
sar rax, 3
test rax, rax
je 0x14022a284
mov rax, qword [rcx]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
sub rcx, rdx
sar rcx, 3
mov eax, r12d
cmp rax, rcx
jae 0x14022a284
cmp r14, rcx
jae 0x14022a23c
mov rax, qword [rdx + r14*8]
jmp 0x14022a23f
mov rax, rbx
test rax, rax
je 0x14022a284
mov ecx, dword [rax + 0x74]
cmp dword [rdi + 0x74], ecx
je 0x14022a284
mov dword [rdi + 0x74], ecx
cmp ecx, 7
jne 0x14022a284
lea r8, [rax + 0x88]
cmp r9, r8
je 0x14022a284
mov rdx, qword [r8]
mov r8, qword [r8 + 8]
sub r8, rdx
sar r8, 3
movabs rax, 0x8e38e38e38e38e39
imul r8, rax
mov rcx, r9
call fcn.14002b500
mov qword [rsp + 0x60], rdi
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x14022a29d
mov qword [rdx], rdi
add qword [rsi + 8], 8
jmp 0x14022a2ab
lea r8, [rsp + 0x60]
mov rcx, rsi
call fcn.1401ba200
nop
lea rcx, [rbp - 0x10]
call fcn.140006060
lea rcx, [rbp - 0x30]
call fcn.140006060
lea rcx, [rbp - 0x50]
call fcn.140006060
inc r12d
inc r14
cmp r14, qword [rsp + 0x68]
jl 0x14022a0f0
lea rdi, [r15 + 0x650]
mov rdx, qword [r13 + 8]
cmp rdx, qword [r13 + 0x10]
je 0x14022a2f2
mov qword [rdx], rsi
add qword [r13 + 8], 8
jmp 0x14022a2ff
lea r8, [rsp + 0x58]
mov rcx, r13
call fcn.1401ba200
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x14022a319
mov eax, dword [r15 + 0x734]
mov dword [rdx], eax
add qword [rdi + 8], 4
jmp 0x14022a328
lea r8, [r15 + 0x734]
mov rcx, rdi
call fcn.140016df0
lea rcx, [r15 + 0x680]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x14022a349
mov eax, dword [r15 + 0x73c]
mov dword [rdx], eax
add qword [rcx + 8], 4
jmp 0x14022a355
lea r8, [r15 + 0x73c]
call fcn.140016df0
mov rax, qword [rsp + 0x30]
inc eax
mov qword [rsp + 0x30], rax
cmp eax, dword [rsp + 0x38]
jl 0x14022a0a0
lea rdx, [r15 + 0x650]
call fcn.140227db0
mov ebx, eax
cmp eax, 0xfffffffe
jl 0x14022a3bc
mov dword [r15 + 0x44], eax
test eax, eax
jle 0x14022a3a9
call fcn.14020ef40
cmp byte [rax + 0x10], 0
je 0x14022a3a9
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [rax + 4]
divss xmm0, dword [0x140452f54]
cvttss2si ebx, xmm0
cmp dword [r15 + 0x4c], ebx
je 0x14022a3bc
mov dword [r15 + 0x4c], ebx
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x50]
lea rcx, [r15 + 0x6b8]
xor edx, edx
call fcn.1401d3490
mov rax, qword [r15]
mov r8b, 1
mov edx, 0xffffffff
mov rcx, r15
call qword [rax + 0x450]
mov rax, qword [r15]
xor edx, edx
mov rcx, r15
call qword [rax + 0x60]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1403ca460
mov rbx, qword [rsp + 0x190]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
jge 0x14022a3e9
mov rax, qword [rcx]
call qword [rax + 0x3e8]
lea rcx, [r15 + 0x6b8]
xor edx, edx
call fcn.1401d3490
mov r13d, 1
cmp esi, r13d
cmovge r13d, esi
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov qword [rbp - 0x70], rbx
mov r9, qword [r15 + 0x6a0]
mov rax, qword [r15 + 0x698]
movsxd rcx, r13d
lea r8, [rax + rcx*8]
sub r9, r8
sar r9, 3
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.140230830
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov rax, rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x50], rbx
mov r12, qword [rbp - 0x78]
mov r14, r12
mov rsi, qword [rbp - 0x80]
sub r14, rsi
sar r14, 3
test r14, r14
je 0x14022a536
movabs rax, 0x1fffffffffffffff
cmp r14, rax
ja 0x14022a724
lea r14, [r14*8]
test r14, r14
jne 0x14022a4c0
mov rdi, rbx
jmp 0x14022a500
cmp r14, 0x1000
jb 0x14022a4f5
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x14022a718
call fcn.1403ca490
test rax, rax
je 0x14022a4ee
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14022a500
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.1403ca490
mov rdi, rax
mov qword [rsp + 0x40], rdi
lea rax, [rdi + r14]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x50], rax
mov r8, r12
sub r8, rsi
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
sub r12, rsi
sar r12, 3
lea r14, [rdi + r12*8]
mov qword [rsp + 0x48], r14
jmp 0x14022a540
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov ecx, reloc.SinoSPE.dll_Ordinal_24
call fcn.1403ca490
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov qword [rax], rdi
mov qword [rax + 8], r14
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x10], rcx
mov qword [rbp - 0x60], rax
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140230c60]
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 0x14022a708
lea rcx, [rsp + 0x40]
call fcn.1400cec70
cmp dword [rsp + 0x78], 0
je 0x14022a6fc
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x60], xmm0
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14022a6fc
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
cmp dword [r15 + 0x6b4], r13d
jle 0x14022a5e7
mov dword [r15 + 0x6b4], r13d
mov rax, qword [r15 + 0x698]
movsxd rcx, r13d
lea rdx, [rax + rcx*8]
cmp rdx, qword [r15 + 0x6a0]
je 0x14022a605
mov qword [r15 + 0x6a0], rdx
lea rdx, [r15 + 0x650]
mov rax, qword [rdx]
movsxd r8, r13d
lea rcx, [rax + r8*4]
cmp rcx, qword [rdx + 8]
je 0x14022a620
mov qword [rdx + 8], rcx
mov rax, qword [r15 + 0x680]
lea rcx, [rax + r8*4]
cmp rcx, qword [r15 + 0x688]
je 0x14022a63b
mov qword [r15 + 0x688], rcx
call fcn.140227db0
mov ebx, eax
cmp eax, 0xfffffffe
jl 0x14022a685
mov dword [r15 + 0x44], eax
test eax, eax
jle 0x14022a672
call fcn.14020ef40
cmp byte [rax + 0x10], 0
je 0x14022a672
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [rax + 4]
divss xmm0, dword [0x140452f54]
cvttss2si ebx, xmm0
cmp dword [r15 + 0x4c], ebx
je 0x14022a685
mov dword [r15 + 0x4c], ebx
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x50]
mov rax, qword [r15]
mov r8b, 1
mov edx, 0xffffffff
mov rcx, r15
call qword [rax + 0x450]
mov rax, qword [r15]
xor edx, edx
mov rcx, r15
call qword [rax + 0x60]
nop
cmp dword [rsp + 0x78], 0
je 0x14022a6b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
test rsi, rsi
je 0x14022a3e9
mov rdx, qword [rbp - 0x70]
sub rdx, rsi
and rdx, 0xfffffffffffffff8
mov rax, rsi
cmp rdx, 0x1000
jb 0x14022a6ef
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022a6ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1403ca488
jmp 0x14022a3e9
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x78], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.1400062b0
nop
call fcn.140005270
nop
call fcn.140005270
int3