Function at 0x140005b10
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
lea rcx, [0x140023ce8]
mov qword [rsp + 0x20], rcx
mov r9d, 0x9a
lea r8, [0x140023d08]
lea rdx, [0x140023d20]
mov rcx, rax
call fcn.140001060
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
lea rdx, str.Writing_SystemInfoStream
mov rcx, rax
call fcn.140001060
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
lea rdx, [0x140023d54]
mov rcx, rax
call fcn.140001060
mov rax, qword gs:[0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
add rax, 0x118
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x40]
add rax, 0x11c
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x40]
add rax, 0x120
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x40]
add rax, 0x124
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x40]
add rax, 0x2e8
mov qword [rsp + 0x48], rax
mov eax, 9
mov word [rsp + 0x50], ax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
lea rcx, [0x140023d58]
mov qword [rsp + 0x20], rcx
mov r9d, 0xaa
lea r8, [0x140023d78]
lea rdx, [0x140023d90]
mov rcx, rax
call fcn.140001060
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, qword [rsp + 0x90]
mov r8d, dword [rcx]
lea rdx, str.OSMajorVersion:__d
mov rcx, rax
call fcn.140001060
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
lea rdx, [0x140023dbc]
mov rcx, rax
call fcn.140001060
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
lea rcx, [0x140023dc0]
mov qword [rsp + 0x20], rcx
mov r9d, 0xab
lea r8, [0x140023de0]
lea rdx, [0x140023df8]
mov rcx, rax
call fcn.140001060
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, qword [rsp + 0x98]
mov r8d, dword [rcx]
lea rdx, str.OSMinorVersion:__d
mov rcx, rax
call fcn.140001060
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
lea rdx, [0x140023e24]
mov rcx, rax
call fcn.140001060
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
lea rcx, [0x140023e28]
mov qword [rsp + 0x20], rcx
mov r9d, 0xac
lea r8, [0x140023e48]
lea rdx, [0x140023e60]
mov rcx, rax
call fcn.140001060
mov rax, qword [rsp + 0xa0]
movzx eax, word [rax]
mov dword [rsp + 0x80], eax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov ecx, dword [rsp + 0x80]
mov r8d, ecx
lea rdx, str.OSBuildNumber:__d
mov rcx, rax
call fcn.140001060
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
lea rdx, [0x140023e8c]
mov rcx, rax
call fcn.140001060
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
lea rcx, [0x140023e90]
mov qword [rsp + 0x20], rcx
mov r9d, 0xad
lea r8, [0x140023eb0]
lea rdx, [0x140023ec8]
mov rcx, rax
call fcn.140001060
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, qword [rsp + 0x48]
mov r8, qword [rcx + 8]
lea rdx, str.CSDVersion:__ls
mov rcx, rax
call fcn.140001060
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
lea rdx, [0x140023ef0]
mov rcx, rax
call fcn.140001060
xor eax, eax
mov word [rsp + 0x52], ax
xor eax, eax
mov word [rsp + 0x54], ax
mov byte [rsp + 0x56], 0
mov byte [rsp + 0x57], 1
mov rax, qword [rsp + 0x90]
mov eax, dword [rax]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax]
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0xa0]
movzx eax, word [rax]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax]
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x68], 0
xor eax, eax
mov word [rsp + 0x6c], ax
xor eax, eax
mov word [rsp + 0x6e], ax
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x34], 0x30
lea rax, [rsp + 0xa8]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
movzx ecx, word [rsp + 0x50]
mov word [rsp + rax + 0xa8], cx
mov eax, dword [rsp + 0x30]
add eax, 2
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
movzx ecx, word [rsp + 0x52]
mov word [rsp + rax + 0xa8], cx
mov eax, dword [rsp + 0x30]
add eax, 2
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
movzx ecx, word [rsp + 0x54]
mov word [rsp + rax + 0xa8], cx
mov eax, dword [rsp + 0x30]
add eax, 2
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
movzx ecx, byte [rsp + 0x56]
mov byte [rsp + rax + 0xa8], cl
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
movzx ecx, byte [rsp + 0x57]
mov byte [rsp + rax + 0xa8], cl
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x58]
mov dword [rsp + rax + 0xa8], ecx
mov eax, dword [rsp + 0x30]
add eax, 4
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x5c]
mov dword [rsp + rax + 0xa8], ecx
mov eax, dword [rsp + 0x30]
add eax, 4
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x60]
mov dword [rsp + rax + 0xa8], ecx
mov eax, dword [rsp + 0x30]
add eax, 4
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x64]
mov dword [rsp + rax + 0xa8], ecx
mov eax, dword [rsp + 0x30]
add eax, 4
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x68]
mov dword [rsp + rax + 0xa8], ecx
mov eax, dword [rsp + 0x30]
add eax, 4
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
movzx ecx, word [rsp + 0x6c]
mov word [rsp + rax + 0xa8], cx
mov eax, dword [rsp + 0x30]
add eax, 2
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
movzx ecx, word [rsp + 0x6e]
mov word [rsp + rax + 0xa8], cx
mov eax, dword [rsp + 0x30]
add eax, 2
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
mov qword [rsp + rax + 0xa8], rcx
mov eax, dword [rsp + 0x30]
add eax, 8
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
mov qword [rsp + rax + 0xa8], rcx
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x38], eax
mov r8d, dword [rsp + 0x34]
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0xf0]
call fcn.140003a60
test eax, eax
jne 0x140006075
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
lea rcx, [0x140023ef8]
mov qword [rsp + 0x20], rcx
mov r9d, 0xe8
lea r8, [0x140023f18]
lea rdx, [0x140023f30]
mov rcx, rax
call fcn.140001060
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
lea rdx, [0x140023f48]
mov rcx, rax
call fcn.140001060
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
lea rdx, [0x140023f70]
mov rcx, rax
call fcn.140001060
xor eax, eax
jmp 0x140006210
mov r9d, 4
lea r8, [rsp + 0x34]
mov edx, 0x24
mov rcx, qword [rsp + 0xf0]
call fcn.140006220
mov r9d, 4
lea r8, [rsp + 0x38]
mov edx, 0x28
mov rcx, qword [rsp + 0xf0]
call fcn.140006220
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax]
mov dword [rsp + 0x84], eax
mov r8d, 4
lea rdx, [rsp + 0x84]
mov rcx, qword [rsp + 0xf0]
call fcn.140003a60
test eax, eax
jne 0x14000615a
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
lea rcx, [0x140023f78]
mov qword [rsp + 0x20], rcx
mov r9d, pe_nt_image_headers64
lea r8, [0x140023f98]
lea rdx, [0x140023fb0]
mov rcx, rax
call fcn.140001060
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
lea rdx, [0x140023fc8]
mov rcx, rax
call fcn.140001060
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
lea rdx, [0x140023ff0]
mov rcx, rax
call fcn.140001060
xor eax, eax
jmp 0x140006210
mov rax, qword [rsp + 0x48]
movzx eax, word [rax]
mov r8d, eax
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0xf0]
call fcn.140003a60
test eax, eax
jne 0x1400061e7
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
lea rcx, str.write_system_info_stream
mov qword [rsp + 0x20], rcx
mov r9d, 0xfe
lea r8, [0x140024018]
lea rdx, [0x140024030]
mov rcx, rax
call fcn.140001060
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
lea rdx, str.Failed_to_write_the_SystemInfoStream
mov rcx, rax
call fcn.140001060
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
lea rdx, [0x140024070]
mov rcx, rax
call fcn.140001060
xor eax, eax
jmp 0x140006210
mov eax, dword [rsp + 0x38]
add eax, 0x18
mov r9d, 4
lea r8, [rsp + 0x88]
mov edx, eax
mov rcx, qword [rsp + 0xf0]
call fcn.140006220
mov eax, 1
add rsp, 0xe0
pop rdi
ret