Function at 0x140013650
Capabilities:
Query environment variable
Terminate process
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x6c0
mov rax, qword [0x14143b040]
xor rax, rsp
mov qword [rsp + 0x6b8], rax
mov rbx, rdx
mov esi, ecx
xor r15d, r15d
mov dword [rsp + 0x20], 1
mov r9d, recv
xor r8d, r8d
lea rdx, [0x1413a1f30]
lea rcx, [0x141446ab0]
call fcn.140005590
mov r14d, r15d
mov qword [rsp + 0xa0], r15
cmp esi, 2
jne 0x1400137c2
mov ecx, r15d
mov r8, qword [rbx + 8]
lea r9, [0x1413a1f48]
nop dword [rax]
movzx eax, byte [r8 + rcx]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x140013743
cmp rcx, 7
jne 0x1400136d0
lea rdx, [0x141446ab0]
lea rcx, [0x1413a1f50]
call fcn.140006950
lea rcx, [0x1413a1f58]
call fcn.140006950
lea rcx, [0x1413a1f68]
call fcn.140006950
mov rdx, qword [rbx]
lea rcx, [0x1413a1f90]
call fcn.140006950
lea rcx, [0x1413a1fa8]
call fcn.140006950
mov rdx, qword [rbx]
lea rcx, [0x1413a1fd0]
call fcn.140006950
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov rdi, qword [rbx + 8]
lea rdx, [0x1413a189c]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rsi, rax
test rax, rax
je 0x140013781
mov ecx, 0x68
call fcn.1403f4d70
mov qword [rsp + 0x70], rax
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.140011a60
mov r14, rax
jmp 0x140013784
mov r14, r15
mov qword [rsp + 0xa0], r14
test r14, r14
jne 0x140013832
mov rbx, qword [rbx + 8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, [0x1413a20a8]
mov rcx, rax
call fcn.140001250
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp esi, 3
jl 0x140013832
nop word [rax + rax]
mov rdi, qword [rbx + 8]
cmp byte [rdi], 0x2d
jne 0x1400139d4
cmp byte [rdi + 1], 0x61
jne 0x1400137f9
cmp byte [rdi + 2], 0
jne 0x1400137f9
add rbx, 0x10
mov rax, qword [rbx]
mov qword [0x141446bb8], rax
jmp 0x14001382a
cmp byte [rdi], 0x2d
jne 0x1400139d4
cmp byte [rdi + 1], 0x70
jne 0x1400139d4
cmp byte [rdi + 2], 0
jne 0x1400139d4
add rbx, 0x10
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov word [0x14143ee00], ax
sub esi, 2
cmp esi, 3
jge 0x1400137d0
lea rcx, [rsp + 0x1b0]
call fcn.140002c70
nop
lea rcx, [rsp + 0x330]
call fcn.140005610
nop
lea rcx, [rsp + 0xb0]
call fcn.1400252c0
nop
lea rax, [rsp + 0x1b0]
mov qword [0x141446b78], rax
lea rax, [rsp + 0x330]
mov qword [0x141446ba8], rax
lea rax, [rsp + 0xb0]
mov qword [0x141443c30], rax
mov ecx, 1
call fcn.1403f4d70
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x14001e710]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x80], rax
test rax, rax
je 0x14001483e
cmp dword [0x1414469c8], 0
jne 0x140014837
vpxor xmm0, xmm0, xmm0
vmovups xmm1, xmmword [rsp + 0x80]
vmovdqa xmmword [rsp + 0x80], xmm0
vmovups xmmword [0x1414469c0], xmm1
mov ecx, 1
call fcn.1403f4d70
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x14001e7a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x90], rax
test rax, rax
je 0x140014823
call fcn.140012a70
lea rcx, [0x1413a1a50]
call fcn.14005ed10
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x110], xmm0
mov qword [rsp + 0x120], r15
mov qword [rsp + 0x128], r15
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140013980
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.140004000
nop
mov rbx, qword [0x141443c60]
mov ecx, 0x64b8
call fcn.1401e7830
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1400139fd
xor edx, edx
mov rcx, rax
call fcn.1401df380
jmp 0x140013a00
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rdi
lea rdx, [0x1413a20c8]
mov rcx, rax
call fcn.140001250
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov rax, r15
mov qword [0x141443c60], rax
call fcn.1401e5a80
test rbx, rbx
je 0x140013a1a
mov qword [0x141443c60], rbx
jmp 0x140013a21
mov rbx, qword [0x141443c60]
lea rax, [rsp + 0x110]
cmp qword [rsp + 0x128], 0xf
cmova rax, qword [rsp + 0x110]
mov qword [rbx + 0x20], rax
or dword [rbx + 8], 0x41
mov byte [rbx + 0x63], 0
lea rax, vtable.std::_Func_impl_no_alloc_int____cdecl___void___int___.0
mov qword [rsp + 0x270], rax
lea rax, [0x140012a40]
mov qword [rsp + 0x278], rax
lea rax, [rsp + 0x270]
mov qword [rsp + 0x2a8], rax
lea rax, vtable.std::_Func_impl_no_alloc_void____cdecl___float___void__float_.0
mov qword [rsp + 0x230], rax
lea rax, [0x140013620]
mov qword [rsp + 0x238], rax
lea rax, [rsp + 0x230]
mov qword [rsp + 0x268], rax
lea rax, vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
mov qword [rsp + 0x130], rax
lea rax, [0x1400157a0]
mov qword [rsp + 0x138], rax
lea rax, [rsp + 0x130]
mov qword [rsp + 0x168], rax
lea r8, [rsp + 0x130]
lea rcx, [rsp + 0x2f0]
call fcn.14001fc10
nop
mov rcx, qword [rsp + 0x168]
test rcx, rcx
je 0x140013b10
mov rax, qword [rcx]
lea rdx, [rsp + 0x130]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rsp + 0x168], r15
mov rcx, qword [rsp + 0x268]
test rcx, rcx
je 0x140013b39
mov rax, qword [rcx]
lea rdx, [rsp + 0x230]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rsp + 0x268], r15
mov rcx, qword [rsp + 0x2a8]
test rcx, rcx
je 0x140013b62
mov rax, qword [rcx]
lea rdx, [rsp + 0x270]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rsp + 0x2a8], r15
mov byte [0x1414469ef], 0
lea rdx, [rsp + 0x64]
mov ecx, 0x821d
call qword [0x141443b48]
mov ebx, r15d
cmp dword [rsp + 0x64], r15d
jle 0x140013bc4
nop dword [rax]
nop word [rax + rax]
mov rax, qword [0x141443b78]
mov edx, ebx
mov ecx, 0x1f03
call rax
lea rdx, [0x1413c6fe8]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140013bbd
inc ebx
cmp ebx, dword [rsp + 0x64]
jl 0x140013b90
jmp 0x140013bc4
mov byte [0x1414469ef], 1
lea rdx, [rsp + 0x64]
mov ecx, 1
call qword [0x141443b28]
mov edx, dword [rsp + 0x64]
mov ecx, 0xde1
call qword [0x141443a50]
mov edx, 0x2801
mov ecx, 0xde1
mov r8d, 0x2601
call qword [0x141443be0]
mov edx, 0x2800
mov ecx, 0xde1
mov r8d, 0x2601
call qword [0x141443be0]
mov edx, 0x2802
mov ecx, 0xde1
mov r8d, 0x812f
call qword [0x141443be0]
mov edx, 0x2803
mov ecx, 0xde1
mov r8d, 0x812f
call qword [0x141443be0]
mov eax, dword [rsp + 0x64]
mov qword [0x141446a98], rax
lea rdx, [rsp + 0x64]
mov ecx, 1
call qword [0x141443b28]
mov edx, dword [rsp + 0x64]
mov ecx, 0xde1
call qword [0x141443a50]
mov edx, 0x2801
mov ecx, 0xde1
mov r8d, 0x2703
call qword [0x141443be0]
mov edx, 0x2800
mov ecx, 0xde1
mov r8d, 0x2601
call qword [0x141443be0]
mov edx, 0x2802
mov ecx, 0xde1
mov r8d, 0x2901
call qword [0x141443be0]
mov edx, 0x2803
mov ecx, 0xde1
mov r8d, 0x812f
call qword [0x141443be0]
mov eax, dword [rsp + 0x64]
mov qword [0x141443c38], rax
cmp dword [rsp + 0x98], 0
jne 0x140013cde
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rsp + 0x98], eax
je 0x140014817
vmovups xmm0, xmmword [rsp + 0x90]
vmovdqa xmmword [rsp + 0x70], xmm0
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x14001480b
vpxor xmm0, xmm0, xmm0
vmovdqa xmmword [rsp + 0x90], xmm0
mov eax, dword [0x141446aa0]
mov dword [rsp + 0x70], eax
mov eax, dword [0x141446b50]
mov dword [rsp + 0x74], eax
mov rax, qword [0x141446ba0]
mov qword [rsp + 0x78], rax
cmp dword [0x141443c80], 0
jne 0x140013d54
xor edx, edx
mov ecx, 0x10001
jmp 0x140013d9d
mov rcx, r15
lea rax, [rsp + 0x74]
nop dword [rax]
cmp dword [rax - 4], 0
jle 0x140013d91
cmp dword [rax], 0
jle 0x140013d91
inc rcx
add rax, 0x10
cmp rcx, 1
jl 0x140013d60
lea r8, [rsp + 0x70]
mov edx, 1
mov rcx, qword [0x141446bc8]
call qword [0x141443da8]
jmp 0x140013da2
lea rdx, [0x1413f3038]
mov ecx, 0x10004
call fcn.14037c450
lea rax, [rsp + 0x2f0]
mov qword [0x141446b48], rax
mov ecx, dword [0x141443c80]
test ecx, ecx
jne 0x140013dcf
xor edx, edx
mov ecx, 0x10001
call fcn.14037c450
mov ecx, dword [0x141443c80]
jmp 0x140013ddf
mov rax, qword [0x141446bc8]
mov r9, qword [rax + 0x50]
test r9, r9
jne 0x140013e1b
test ecx, ecx
jne 0x140013df9
xor edx, edx
mov ecx, 0x10001
call fcn.14037c450
vmovss xmm0, dword [0x14140e870]
jmp 0x140013e56
cmp dword [0x141444408], 0
je 0x140013e11
mov rax, qword [0x141444400]
mov r9, qword [rax]
test r9, r9
jne 0x140013e1b
vmovss xmm0, dword [0x14140e870]
jmp 0x140013e56
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x64], xmm0
vmovss dword [rsp + 0x68], xmm0
test ecx, ecx
jne 0x140013e3d
xor edx, edx
mov ecx, 0x10001
call fcn.14037c450
jmp 0x140013e50
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x64]
mov rcx, r9
call qword [0x141443d60]
vmovss xmm0, dword [rsp + 0x64]
vmovss dword [0x14143ef30], xmm0
lea rcx, [0x1413a20e0]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140013e98
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
vxorpd xmm1, xmm1, xmm1
vucomisd xmm0, xmm1
jp 0x140013e85
je 0x140013e98
vcvtsd2ss xmm0, xmm0, xmm0
vmovss dword [0x14143ef30], xmm0
mov byte [0x1414469ec], 1
lea rdx, [0x1413a20f0]
mov rcx, qword [0x141443c30]
call fcn.140025ba0
call fcn.1400124f0
mov edx, dword [0x141443c38]
mov ecx, 0xde1
call qword [0x141443a50]
mov rdi, r15
lea rbx, [0x141446a68]
lea r12, [0x140000000]
mov rax, qword [rbx + rdi*8]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x1401
mov dword [rsp + 0x30], 0x1908
mov dword [rsp + 0x28], r15d
mov eax, dword [r12 + rdi*4 + 0x1446b88]
mov dword [rsp + 0x20], eax
mov r9d, dword [r12 + rdi*4 + 0x1446b30]
mov r8d, 0x1908
mov edx, edi
mov ecx, 0xde1
call qword [0x141443bd8]
inc rdi
cmp rdi, 6
jb 0x140013ed2
lea rdi, [0x141446a98]
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add rbx, 8
cmp rbx, rdi
jne 0x140013f27
test r14, r14
je 0x140013fc8
mov r8, r14
lea rcx, [rsp + 0x80]
call fcn.14001c100
mov rdx, qword [rax]
mov qword [rax], r15
mov rbx, qword [0x141446b80]
mov qword [0x141446b80], rdx
test rbx, rbx
je 0x140013f80
mov rcx, rbx
call fcn.14007a970
mov edx, 0x43f0
mov rcx, rbx
call fcn.1403f4db4
mov rbx, qword [rsp + 0x80]
test rbx, rbx
je 0x140013fa2
mov rcx, rbx
call fcn.14007a970
mov edx, 0x43f0
mov rcx, rbx
call fcn.1403f4db4
mov qword [rsp + 0xa0], r15
test r14, r14
je 0x140014061
mov rcx, r14
call fcn.1400118d0
mov edx, 0x68
mov rcx, r14
jmp 0x14001405c
cmp qword [0x141446bb8], 0
je 0x140014061
mov ecx, 0x43f0
call fcn.1403f4d70
mov qword [rsp + 0x70], rax
mov rcx, qword [0x141443c30]
mov qword [rsp + 0x58], rcx
lea rcx, [0x14143b120]
mov qword [rsp + 0x50], rcx
mov rcx, qword [0x141443c18]
mov qword [rsp + 0x30], rcx
mov rcx, qword [0x141443c20]
mov qword [rsp + 0x28], rcx
mov rcx, qword [0x141443c10]
mov qword [rsp + 0x20], rcx
movzx r9d, word [0x14143ee00]
mov r8, qword [0x141446bb8]
mov rcx, rax
call fcn.140078b70
nop
mov rbx, qword [0x141446b80]
mov qword [0x141446b80], rax
test rbx, rbx
je 0x140014061
mov rcx, rbx
call fcn.14007a970
mov edx, 0x43f0
mov rcx, rbx
call fcn.1403f4db4
mov edx, 6
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x14001407b
mov byte [0x141446aa4], 1
jmp 0x140014089
cmp eax, 0x80010106
jne 0x140014089
mov byte [0x141446aa4], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x80]
mov edx, 8
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1400140ad
xor bl, bl
jmp 0x1400140f9
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0x68]
mov edx, socket
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov rcx, qword [rsp + 0x80]
test eax, eax
jne 0x1400140eb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
jmp 0x1400140f9
cmp dword [rsp + 0x68], 0
setne bl
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x1414469ea], bl
mov rbx, qword [0x141446bc8]
cmp dword [0x141443c80], 0
jne 0x14001411d
xor edx, edx
mov ecx, 0x10001
call fcn.14037c450
jmp 0x140014140
cmp qword [rbx + 0x50], 0
jne 0x140014140
mov rcx, qword [0x141446bc8]
call qword [0x141443e10]
cmp dword [rbx + 0x18], 0
je 0x140014140
mov rcx, rbx
call qword [0x141443e28]
cmp dword [0x141443c80], 0
jne 0x140014157
xor edx, edx
mov ecx, 0x10001
call fcn.14037c450
jmp 0x140014168
mov rax, qword [0x141446bc8]
cmp dword [rax + 0x20], 0
jne 0x140014201
cmp byte [0x1414469ed], 0
je 0x140014190
cmp dword [0x141443c80], 0
jne 0x140014188
xor edx, edx
mov ecx, 0x10001
call fcn.14037c450
jmp 0x140014140
call qword [0x141443ea0]
jmp 0x140014140
cmp dword [0x141443c80], 0
jne 0x1400141a7
xor edx, edx
mov ecx, 0x10001
call fcn.14037c450
jmp 0x1400141ad
call qword [0x141443e98]
mov rcx, qword [0x141446a28]
test rcx, rcx
je 0x1400141fa
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
cmp byte [0x14143b121], 0
je 0x1400141f0
mov edx, 0x20001
mov rcx, qword [0x141446bc8]
call fcn.14037c0c0
test eax, eax
jne 0x1400141f0
mov qword [rsp + 0x70], 0x32
lea rcx, [rsp + 0x70]
call fcn.14001c3d0
call fcn.14001f470
jmp 0x140014140
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
cmp dword [0x1414469b8], 0
je 0x14001424b
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [0x1414469b8], eax
je 0x140014817
vmovups xmm0, xmmword [0x1414469b0]
vmovups xmmword [rsp + 0x70], xmm0
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x14001480b
vpxor xmm0, xmm0, xmm0
vmovups xmmword [0x1414469b0], xmm0
cmp dword [0x1414469c8], 0
je 0x140014295
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [0x1414469c8], eax
je 0x140014817
vmovups xmm0, xmmword [0x1414469c0]
vmovups xmmword [rsp + 0x70], xmm0
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x14001480b
vpxor xmm0, xmm0, xmm0
vmovups xmmword [0x1414469c0], xmm0
cmp dword [0x1414469e0], 0
je 0x1400142df
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [0x1414469e0], eax
je 0x140014817
vmovups xmm0, xmmword [0x1414469d8]
vmovups xmmword [rsp + 0x70], xmm0
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x14001480b
vpxor xmm0, xmm0, xmm0
vmovups xmmword [0x1414469d8], xmm0
mov rbx, qword [0x141446b80]
mov qword [0x141446b80], r15
test rbx, rbx
je 0x140014307
mov rcx, rbx
call fcn.14007a970
mov edx, 0x43f0
mov rcx, rbx
call fcn.1403f4db4
mov eax, dword [0x141443c38]
lea rbx, vtable.std::_Func_impl_no_alloc_class__void___cdecl_tracy::FreeTexture_void____ptr64__void____cdecl___class_std::function_void____cdecl___void___const____ptr64__bool__::_2::_lambda_1___void___.0
mov qword [rsp + 0x2b0], rbx
mov dword [rsp + 0x2b8], eax
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x2e8], rax
xor edx, edx
lea rcx, [rsp + 0x2b0]
call fcn.140012440
nop
mov rcx, qword [rsp + 0x2e8]
test rcx, rcx
je 0x140014364
mov rax, qword [rcx]
lea rdx, [rsp + 0x2b0]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov eax, dword [0x141446a98]
mov qword [rsp + 0x170], rbx
mov dword [rsp + 0x178], eax
lea rax, [rsp + 0x170]
mov qword [rsp + 0x1a8], rax
xor edx, edx
lea rcx, [rsp + 0x170]
call fcn.140012440
nop
mov rcx, qword [rsp + 0x1a8]
test rcx, rcx
je 0x1400143c2
mov rax, qword [rcx]
lea rdx, [rsp + 0x170]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rsp + 0x1a8], r15
mov rcx, qword [0x141446ba0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp byte [0x141446aa4], 0
je 0x1400143df
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
call fcn.140001670
call fcn.140021dc0
mov rcx, qword [0x141446bc8]
call fcn.14037bf30
cmp dword [0x141443c80], 0
je 0x140014403
call fcn.14037c200
lea rcx, [rsp + 0x2f0]
call fcn.14001f9e0
nop
mov rbx, qword [0x141443c60]
mov qword [0x141443c60], rbx
call fcn.1401e5f60
mov qword [0x141443c60], r15
test rbx, rbx
je 0x1400144b1
mov rcx, rbx
call fcn.14020c0c0
mov r8, qword [0x141443c60]
test r8, r8
je 0x1400144a8
mov r9d, dword [r8 + 0x40a8]
movsx rdx, word [r8 + 0x6320]
lea rcx, [r8 + 0x6324]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14001449d
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6320], cx
movsx rax, cx
lea rcx, [r8 + 0x6324]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r15d
inc word [rcx + 6]
inc dword [r8 + 0x631c]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rsp + 0x110]
call fcn.1400035f0
nop
cmp dword [rsp + 0x98], 0
je 0x1400144d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
lea rcx, [rsp + 0xb0]
call fcn.140025d90
nop
cmp qword [rsp + 0xf0], 0
je 0x14001450d
mov qword [rsp + 0xe8], r15
lea rax, [rsp + 0xf0]
mov rcx, qword [rsp + 0xd8]
cmp rcx, rax
je 0x14001450d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rsp + 0xb0]
call fcn.140003170
nop
lea rcx, [rsp + 0x330]
cmp qword [rsp + 0x348], 0xf
cmova rcx, qword [rsp + 0x330]
lea rdx, [0x1413a18a0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbx, rax
test rax, rax
je 0x140014640
lea rax, [rsp + 0x350]
mov rcx, rsi
nop dword [rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x140014560
mov byte [rsp + 0x60], cl
mov r9, rbx
mov edx, 1
mov r8d, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
movzx r8d, byte [rsp + 0x60]
mov r9, rbx
mov edx, 1
lea rcx, [rsp + 0x350]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
lea rcx, [rsp + 0x468]
mov rax, rsi
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400145b0
mov byte [rsp + 0x60], al
mov r9, rbx
mov edx, 1
mov r8d, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
movzx r8d, byte [rsp + 0x60]
mov r9, rbx
mov edx, 1
lea rcx, [rsp + 0x468]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
lea rax, [rsp + 0x580]
inc rsi
cmp byte [rax + rsi], 0
jne 0x1400145f7
mov byte [rsp + 0x60], sil
mov r9, rbx
mov edx, 1
mov r8d, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
movzx r8d, byte [rsp + 0x60]
mov r9, rbx
mov edx, 1
lea rcx, [rsp + 0x580]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rcx, [rsp + 0x680]
call fcn.140002a00
lea rcx, [rsp + 0x568]
call fcn.140002a00
lea rcx, [rsp + 0x450]
call fcn.140002a00
lea rcx, [rsp + 0x330]
call fcn.1400035f0
nop
lea rcx, [rsp + 0x1b0]
cmp qword [rsp + 0x1c8], 0xf
cmova rcx, qword [rsp + 0x1b0]
lea rdx, [0x1413a18a0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov r14, rax
test rax, rax
je 0x14001474d
mov rcx, qword [rsp + 0x1e0]
mov qword [rsp + 0x68], rcx
mov r9, rax
mov edx, 1
mov r8d, 8
lea rcx, [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rdi, qword [rsp + 0x1d8]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140014744
nop
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x68], rax
mov r9, r14
mov edx, 1
mov r8d, 8
lea rcx, [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
lea rcx, [rbx + 0x10]
cmp qword [rbx + 0x28], 0xf
jbe 0x140014711
mov rcx, qword [rbx + 0x10]
mov r9, r14
mov r8, qword [rsp + 0x68]
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
lea rcx, [rbx + 0x30]
mov r9, r14
mov edx, 1
mov r8d, 8
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x1400146e0
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [rsp + 0x210]
test rcx, rcx
je 0x1400147b3
mov rax, qword [rsp + 0x220]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014799
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014799
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1403f4db4
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rsp + 0x210], xmm0
mov qword [rsp + 0x220], r15
lea rcx, [rsp + 0x1e8]
call fcn.140003170
lea rcx, [rsp + 0x1d8]
call fcn.140003320
lea rcx, [rsp + 0x1b0]
call fcn.1400035f0
nop
xor eax, eax
mov rcx, qword [rsp + 0x6b8]
xor rcx, rsp
call fcn.1403f4b10
lea r11, [rsp + 0x6c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
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_]
nop
mov dword [rsp + 0x98], r15d
mov ecx, 6
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]
nop
mov dword [rsp + 0x88], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
push rbx
sub rsp, 0x40
xor eax, eax
xor ecx, ecx
cpuid
xor r8b, r8b
mov r9d, eax
cmp eax, 1
jb 0x14001fabb
xor ecx, ecx
mov eax, 1
cpuid
mov r8d, ecx
shr r8d, 0x1c
and r8b, 1
cmp r9d, 7
jb 0x14001fafe
xor ecx, ecx
mov eax, 7
cpuid
shr ebx, 5
test bl, 1
je 0x14001fafe
test r8b, r8b
jne 0x14001fae0
lea rdx, [0x1413a36a0]
jmp 0x14001fb05
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov rbx, qword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
mov rdx, rbx
mov ecx, dword [rax]
add rsp, 0x40
pop rbx
jmp 0x140013650
lea rdx, [0x1413a3580]
mov r9d, reloc.WS2_32.dll_recv
lea r8, [0x1413a3568]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
add rsp, 0x40
pop rbx
ret