Function at 0x14004f2c0
Capabilities:
Create thread
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x188
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
mov r13, r8
mov rsi, rcx
xor r12d, r12d
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp + 0x30]
mov qword [rbp - 0x50], 0x1000
mov rdi, qword [rbp + 0x28]
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__msize]
mov qword [rbp + 0xd0], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov r15d, r12d
mov qword [rsp + 0x50], r12
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], r12
mov dword [rbp + 0x18], 0xffffffff
mov dword [rbp - 0x30], 2
mov dword [rbp + 0x1c], r12d
mov r9d, Ordinal_50
lea r8, [rbp - 0x68]
mov rdx, rdi
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
mov rbx, qword [rsp + 0x48]
test rax, rax
je 0x14004f41c
cmp rdi, r14
jae 0x14004f41c
cmp dword [rbp - 0x48], 0x1000
jne 0x14004f3f4
mov eax, dword [rbp - 0x44]
bt eax, 8
jb 0x14004f3f4
cmp eax, 1
je 0x14004f3f4
test dword [rbp - 0x58], 0x200
jne 0x14004f3f4
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x50]
mov qword [rsp + 0x38], rax
cmp rbx, r15
je 0x14004f3d8
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
add rbx, 0x10
mov qword [rsp + 0x48], rbx
jmp 0x14004f3f4
lea r8, [rsp + 0x30]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14005da70
mov r15, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rbp - 0x68]
add rdi, qword [rbp - 0x50]
mov r9d, Ordinal_50
lea r8, [rbp - 0x68]
mov rdx, rdi
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
jne 0x14004f385
mov qword [rsp + 0x70], rsi
lea rax, [rbp + 0xd8]
mov qword [rsp + 0x78], rax
lea rax, [rbp + 0xd0]
mov qword [rbp - 0x80], rax
lea rax, [rbp - 0x30]
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], r13
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov rsi, r12
mov qword [rsp + 0x68], r12
mov r12, qword [rsp + 0x40]
mov r14, r12
mov rdi, qword [rsp + 0x60]
cmp r12, rbx
je 0x14004f51a
movsd xmm6, qword [rbp - 0x70]
movups xmm7, xmmword [rbp - 0x80]
movups xmm8, xmmword [rsp + 0x70]
nop word [rax + rax]
cmp rdi, rsi
je 0x14004f4e7
mov ecx, Ordinal_60
call fcn.140129c6c
movups xmm0, xmmword [r14]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm8
movups xmmword [rax + 0x20], xmm7
movsd qword [rax + 0x30], xmm6
mov qword [rbp + 0xe8], rax
lea r13, [rdi + 8]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14005e170]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x14004f5cf
add rdi, 0x10
mov qword [rsp + 0x60], rdi
jmp 0x14004f506
mov r9, r14
lea r8, [rsp + 0x70]
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.14005d550
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
add r14, 0x10
cmp r14, rbx
jne 0x14004f480
mov r13, qword [rbp + 0xe0]
mov r14, qword [rsp + 0x58]
mov rbx, r14
cmp r14, rdi
je 0x14004f575
nop word [rax + rax]
cmp dword [rbx + 8], 0
je 0x14004f5fb
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbx + 8], eax
je 0x14004f5ef
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x30], xmm0
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x14004f5e3
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rdi
jne 0x14004f530
mov rax, qword [r13 + 8]
cmp qword [r13], rax
setne bl
test r14, r14
je 0x14004f61a
mov rax, r14
cmp r14, rdi
je 0x14004f5a0
cmp dword [rax + 8], 0
jne 0x14004f607
add rax, 0x10
cmp rax, rdi
jne 0x14004f591
sub rsi, r14
and rsi, 0xfffffffffffffff0
mov rax, r14
cmp rsi, 0x1000
jb 0x14004f60e
add rsi, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f60e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov dword [r13], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rdx, rsi
mov rcx, r14
call fcn.140129cbc
nop
test r12, r12
je 0x14004f65a
sub r15, r12
and r15, 0xfffffffffffffff0
mov rax, r12
cmp r15, 0x1000
jb 0x14004f64f
add r15, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f64f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r15
mov rcx, r12
call fcn.140129cbc
movzx eax, bl
lea r11, [rsp + 0x188]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret