Function at 0x180029fd0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x180194480]
xor rax, rsp
mov qword [rbp + 0x398], rax
mov rdi, rdx
movsxd rsi, ecx
xor ebx, ebx
lea rcx, [rbp + 0x380]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
nop
mov qword [rbp + 0x358], rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0x360], xmm0
mov qword [rbp + 0x370], rbx
mov qword [rbp + 0x378], rbx
mov ecx, 0x10
call fcn.18009ef20
mov qword [rax + 8], rbx
mov qword [rbp + 0x358], rax
lea rcx, [rbp + 0x358]
mov qword [rax], rcx
mov qword [rbp + 0x370], rbx
mov qword [rbp + 0x378], 0xf
mov byte [rbp + 0x360], bl
lea r14, str.null_pointer_cannot_point_to_a_block_of_non_zero_size
lea r15, [0x18010388c]
cmp esi, 5
ja case.default.0x18002a098
lea rdx, [0x180000000]
mov ecx, dword [rdx + rsi*4 + 0x2abc4]
add rcx, rdx
jmp rcx
lea rax, str._:02::02::02_CPP_VRB___n
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0x1f
movzx eax, word [rbp + 0x388]
mov dword [rbp + 0x78], eax
movabs rax, 0x2000000000000000
mov qword [rbp + 0x58], rax
movzx eax, word [rbp + 0x38a]
mov dword [rbp + 0x7c], eax
movabs rax, 0x2000000000000004
mov qword [rbp + 0x60], rax
movzx eax, word [rbp + 0x38c]
mov dword [rbp + 0x80], eax
movabs rax, 0x2000000000000008
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x84], rdi
movabs rax, 0xb00000000000000c
mov qword [rbp + 0x70], rax
mov qword [rsp + 0x40], 4
lea rax, [rbp + 0x58]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x210], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rbp + 0x220], xmm1
lea r8, [rbp + 0x210]
lea rdx, [rbp + 0x220]
lea rcx, [rbp - 0x70]
call fcn.18000f020
lea rcx, [rbp + 0x358]
call fcn.180013d90
mov rdi, qword [rbp + 0x378]
cmp rdi, 0xf
jbe 0x18002a1d9
mov rsi, qword [rbp + 0x360]
inc rdi
test rsi, rsi
jne 0x18002a1ce
test rdi, rdi
je 0x18002a1ce
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8d, 0x3b4
lea rdx, [0x180103890]
mov ecx, 2
call fcn.1800af120
cmp eax, 1
jne 0x18002a1a9
int3
mov qword [rsp + 0x20], rbx
mov r9d, 0x3b4
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022EnterpriseVCToolsMSVC14.40.33807includexmemory
lea rdx, [0x1801039c8]
lea rcx, str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call fcn.1800aa0a0
mov rdx, rdi
mov rcx, rsi
call fcn.180002050
mov qword [rbp + 0x370], rbx
mov qword [rbp + 0x378], 0xf
mov byte [rbp + 0x360], 0
cmp qword [rbp - 0x50], 0xf
jbe 0x18002a20b
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x358]
call fcn.1800141f0
jmp 0x18002a214
lea rcx, [rbp - 0x70]
call fcn.180013d90
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [rbp + 0x360], xmm0
movups xmm1, xmmword [rbp - 0x58]
movups xmmword [rbp + 0x370], xmm1
movdqa xmm0, xmmword [0x180108b90]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
lea rcx, [rbp - 0x70]
call fcn.1800143c0
mov rcx, qword [rbp - 0x70]
mov qword [rbp - 0x70], rbx
jmp 0x18002a9c8
lea rax, str._:02::02::02_CPP_DBG___n
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x1f
movzx eax, word [rbp + 0x388]
mov dword [rbp + 0xb0], eax
movabs rax, 0x2000000000000000
mov qword [rbp + 0x90], rax
movzx eax, word [rbp + 0x38a]
mov dword [rbp + 0xb4], eax
movabs rax, 0x2000000000000004
mov qword [rbp + 0x98], rax
movzx eax, word [rbp + 0x38c]
mov dword [rbp + 0xb8], eax
movabs rax, 0x2000000000000008
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xbc], rdi
movabs rax, 0xb00000000000000c
mov qword [rbp + 0xa8], rax
mov qword [rsp + 0x30], 4
lea rax, [rbp + 0x90]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp + 0x2d0], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x2e0], xmm1
lea r8, [rbp + 0x2d0]
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp + 0x230]
call fcn.18000f020
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x358]
call fcn.18001d7d0
lea rcx, [rbp + 0x230]
call fcn.1800143c0
mov rcx, qword [rbp + 0x230]
mov qword [rbp + 0x230], rbx
jmp 0x18002a9c8
lea rax, str._:02::02::02_CPP_INF___n
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0x1f
movzx eax, word [rbp + 0x388]
mov dword [rbp + 0xe8], eax
movabs rax, 0x2000000000000000
mov qword [rbp + 0xc8], rax
movzx eax, word [rbp + 0x38a]
mov dword [rbp + 0xec], eax
movabs rax, 0x2000000000000004
mov qword [rbp + 0xd0], rax
movzx eax, word [rbp + 0x38c]
mov dword [rbp + 0xf0], eax
movabs rax, 0x2000000000000008
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xf4], rdi
movabs rax, 0xb00000000000000c
mov qword [rbp + 0xe0], rax
mov qword [rsp + 0x50], 4
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x2f0], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rbp + 0x300], xmm1
lea r8, [rbp + 0x2f0]
lea rdx, [rbp + 0x300]
lea rcx, [rbp + 0x258]
call fcn.18000f020
lea rdx, [rbp + 0x258]
lea rcx, [rbp + 0x358]
call fcn.18001d7d0
lea rcx, [rbp + 0x258]
call fcn.1800143c0
mov rcx, qword [rbp + 0x258]
mov qword [rbp + 0x258], rbx
jmp 0x18002a9c8
lea rax, str._:02::02::02_CPP_WRN___n
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x1f
movzx eax, word [rbp + 0x388]
mov dword [rbp + 0x120], eax
movabs rax, 0x2000000000000000
mov qword [rbp + 0x100], rax
movzx eax, word [rbp + 0x38a]
mov dword [rbp + 0x124], eax
movabs rax, 0x2000000000000004
mov qword [rbp + 0x108], rax
movzx eax, word [rbp + 0x38c]
mov dword [rbp + 0x128], eax
movabs rax, 0x2000000000000008
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x12c], rdi
movabs rax, 0xb00000000000000c
mov qword [rbp + 0x118], rax
mov qword [rsp + 0x60], 4
lea rax, [rbp + 0x100]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp + 0x310], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x320], xmm1
lea r8, [rbp + 0x310]
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x280]
call fcn.18000f020
lea rdx, [rbp + 0x280]
lea rcx, [rbp + 0x358]
call fcn.18001d7d0
lea rcx, [rbp + 0x280]
call fcn.1800143c0
mov rcx, qword [rbp + 0x280]
mov qword [rbp + 0x280], rbx
jmp 0x18002a9c8
lea rax, str._:02::02::02_CPP_ERR___n
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0x1f
movzx eax, word [rbp + 0x388]
mov dword [rbp + 0x158], eax
movabs rax, 0x2000000000000000
mov qword [rbp + 0x138], rax
movzx eax, word [rbp + 0x38a]
mov dword [rbp + 0x15c], eax
movabs rax, 0x2000000000000004
mov qword [rbp + 0x140], rax
movzx eax, word [rbp + 0x38c]
mov dword [rbp + 0x160], eax
movabs rax, 0x2000000000000008
mov qword [rbp + 0x148], rax
mov qword [rbp + 0x164], rdi
movabs rax, 0xb00000000000000c
mov qword [rbp + 0x150], rax
mov qword [rsp + 0x70], 4
lea rax, [rbp + 0x138]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp + 0x1b0], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rbp + 0x1c0], xmm1
lea r8, [rbp + 0x1b0]
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp - 0x48]
call fcn.18000f020
lea rcx, [rbp + 0x358]
call fcn.180013d90
mov rdi, qword [rbp + 0x378]
cmp rdi, 0xf
jbe 0x18002a6ab
mov rsi, qword [rbp + 0x360]
inc rdi
test rsi, rsi
jne 0x18002a6a0
test rdi, rdi
je 0x18002a6a0
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8d, 0x3b4
lea rdx, [0x180103890]
mov ecx, 2
call fcn.1800af120
cmp eax, 1
jne 0x18002a67b
int3
mov qword [rsp + 0x20], rbx
mov r9d, 0x3b4
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022EnterpriseVCToolsMSVC14.40.33807includexmemory
lea rdx, [0x1801039c8]
lea rcx, str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call fcn.1800aa0a0
mov rdx, rdi
mov rcx, rsi
call fcn.180002050
mov qword [rbp + 0x370], rbx
mov qword [rbp + 0x378], 0xf
mov byte [rbp + 0x360], 0
cmp qword [rbp - 0x28], 0xf
jbe 0x18002a6dd
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x358]
call fcn.1800141f0
jmp 0x18002a6e6
lea rcx, [rbp - 0x48]
call fcn.180013d90
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rbp + 0x360], xmm0
movups xmm1, xmmword [rbp - 0x30]
movups xmmword [rbp + 0x370], xmm1
movdqa xmm0, xmmword [0x180108b90]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
lea rcx, [rbp - 0x48]
call fcn.1800143c0
mov rcx, qword [rbp - 0x48]
mov qword [rbp - 0x48], rbx
jmp 0x18002a9c8
lea rax, str._:02::02::02_CPP_FTL___n
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0x1f
movzx eax, word [rbp + 0x388]
mov dword [rbp + 0x190], eax
movabs rax, 0x2000000000000000
mov qword [rbp + 0x170], rax
movzx eax, word [rbp + 0x38a]
mov dword [rbp + 0x194], eax
movabs rax, 0x2000000000000004
mov qword [rbp + 0x178], rax
movzx eax, word [rbp + 0x38c]
mov dword [rbp + 0x198], eax
movabs rax, 0x2000000000000008
mov qword [rbp + 0x180], rax
mov qword [rbp + 0x19c], rdi
movabs rax, 0xb00000000000000c
mov qword [rbp + 0x188], rax
mov qword [rbp - 0x80], 4
lea rax, [rbp + 0x170]
mov qword [rbp - 0x78], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp + 0x1d0], xmm0
movaps xmm1, xmmword [rsp + 0x70]
movdqa xmmword [rbp + 0x1e0], xmm1
lea r8, [rbp + 0x1d0]
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x2a8]
call fcn.18000f020
lea rdx, [rbp + 0x2a8]
lea rcx, [rbp + 0x358]
call fcn.18001d7d0
lea rcx, [rbp + 0x2a8]
call fcn.1800143c0
mov rcx, qword [rbp + 0x2a8]
mov qword [rbp + 0x2a8], rbx
jmp 0x18002a9c8
lea rax, str._:02::02::02_CPP_______n
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], 0x1f
movzx eax, word [rbp + 0x388]
mov dword [rbp + 0x40], eax
movabs rax, 0x2000000000000000
mov qword [rbp + 0x20], rax
movzx eax, word [rbp + 0x38a]
mov dword [rbp + 0x44], eax
movabs rax, 0x2000000000000004
mov qword [rbp + 0x28], rax
movzx eax, word [rbp + 0x38c]
mov dword [rbp + 0x48], eax
movabs rax, 0x2000000000000008
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x4c], rdi
movabs rax, 0xb00000000000000c
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x10], 4
lea rax, [rbp + 0x20]
mov qword [rbp + 0x18], rax
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp + 0x1f0], xmm0
movaps xmm1, xmmword [rbp - 0x80]
movdqa xmmword [rbp + 0x200], xmm1
lea r8, [rbp + 0x1f0]
lea rdx, [rbp + 0x200]
lea rcx, [rbp - 0x20]
call fcn.18000f020
lea rcx, [rbp + 0x358]
call fcn.180013d90
mov rdi, qword [rbp + 0x378]
cmp rdi, 0xf
jbe 0x18002a955
mov rsi, qword [rbp + 0x360]
inc rdi
test rsi, rsi
jne 0x18002a94a
test rdi, rdi
je 0x18002a94a
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8d, 0x3b4
lea rdx, [0x180103890]
mov ecx, 2
call fcn.1800af120
cmp eax, 1
jne 0x18002a925
int3
mov qword [rsp + 0x20], rbx
mov r9d, 0x3b4
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022EnterpriseVCToolsMSVC14.40.33807includexmemory
lea rdx, [0x1801039c8]
lea rcx, str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call fcn.1800aa0a0
mov rdx, rdi
mov rcx, rsi
call fcn.180002050
mov qword [rbp + 0x370], rbx
mov qword [rbp + 0x378], 0xf
mov byte [rbp + 0x360], 0
cmp qword [rbp], 0xf
jbe 0x18002a987
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x358]
call fcn.1800141f0
jmp 0x18002a990
lea rcx, [rbp - 0x20]
call fcn.180013d90
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rbp + 0x360], xmm0
movups xmm1, xmmword [rbp - 8]
movups xmmword [rbp + 0x370], xmm1
movdqa xmm0, xmmword [0x180108b90]
movdqu xmmword [rbp - 8], xmm0
mov byte [rbp - 0x18], 0
lea rcx, [rbp - 0x20]
call fcn.1800143c0
mov rcx, qword [rbp - 0x20]
mov qword [rbp - 0x20], rbx
mov edx, 0x10
call fcn.180002050
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x358]
lea rcx, [rbp + 0x330]
call fcn.180029d50
lea rcx, [rax + 8]
cmp qword [rax + 0x20], 7
jbe 0x18002a9f9
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rbp + 0x330]
call fcn.1800144a0
mov rcx, qword [rbp + 0x330]
mov qword [rbp + 0x330], rbx
mov edx, 0x10
call fcn.180002050
cmp byte [0x180197aa0], 0
je 0x18002aadd
mov rcx, qword [0x180197aa8]
test rcx, rcx
je 0x18002aa4e
mov r9d, 2
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov dword [rbp + 0x390], ebx
mov edi, dword [rbp + 0x370]
lea rsi, [rbp + 0x360]
cmp qword [rbp + 0x378], 0xf
cmova rsi, qword [rbp + 0x360]
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x390]
mov r8d, edi
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x180197aa8]
test rcx, rcx
je 0x18002aadd
cmp byte [0x180197aa1], 0
jne 0x18002aadd
lea rdx, [rbp + 0x360]
cmp qword [rbp + 0x378], 0xf
cmova rdx, qword [rbp + 0x360]
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x390]
mov r8d, dword [rbp + 0x370]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
lea rcx, [rbp + 0x358]
call fcn.180013d90
mov rdi, qword [rbp + 0x378]
cmp rdi, 0xf
jbe 0x18002ab64
mov rsi, qword [rbp + 0x360]
inc rdi
test rsi, rsi
jne 0x18002ab59
test rdi, rdi
je 0x18002ab59
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8d, 0x3b4
lea rdx, [0x180103890]
mov ecx, 2
call fcn.1800af120
cmp eax, 1
jne 0x18002ab34
int3
mov qword [rsp + 0x20], rbx
mov r9d, 0x3b4
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022EnterpriseVCToolsMSVC14.40.33807includexmemory
lea rdx, [0x1801039c8]
lea rcx, str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call fcn.1800aa0a0
mov rdx, rdi
mov rcx, rsi
call fcn.180002050
mov qword [rbp + 0x370], rbx
mov qword [rbp + 0x378], 0xf
mov byte [rbp + 0x360], 0
mov rcx, qword [rbp + 0x358]
mov qword [rbp + 0x358], rbx
mov edx, 0x10
call fcn.180002050
mov rcx, qword [rbp + 0x398]
xor rcx, rsp
call fcn.18009f1a0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret