Function at 0x140251de0
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x200
mov qword [r11 - 0xe8], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x1403644c8]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov r12, rcx
mov qword [r11 - 0x120], rcx
xor esi, esi
mov qword [r11 - 0x188], rsi
mov qword [r11 - 0x180], 0xf
mov byte [rsp + 0x90], sil
lea r8d, [rsi + 4]
lea rdx, str.null
lea rcx, [r11 - 0x198]
call fcn.140086e00
lea rax, [rsp + 0x90]
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x90]
movups xmmword [rsp + 0x168], xmm0
movups xmm1, xmmword [rsp + 0xa0]
movups xmmword [rsp + 0x178], xmm1
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x90], sil
lea rdx, [rsp + 0x168]
mov rcx, r12
call fcn.14024c5d0
nop
lea rcx, [rsp + 0x90]
call fcn.1400827c0
nop
mov rcx, qword [r12]
mov eax, 6
xchg dword [rcx + 0x40], eax
lea rcx, str.NITRO_LOG_LEVEL
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov r13, rax
test rax, rax
je 0x14025259d
lea rcx, [rsp + 0xf0]
call fcn.14025ba10
nop
movdqa xmm0, xmmword [0x1402807f0]
movdqu xmmword [rsp + 0x1d8], xmm0
mov byte [rsp + 0x1c8], sil
lea r8d, [rsi + 5]
lea rdx, str.nitro
lea rcx, [rsp + 0x1c8]
call fcn.140086e00
nop
call fcn.14025c110
lea r8, [rsp + 0x1c8]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14025b3d0
nop
mov rdx, qword [rsp + 0x1e0]
cmp rdx, 0x10
jb 0x140251f84
inc rdx
mov rcx, qword [rsp + 0x1c8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140251f7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140251f7e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082ab0
nop
cmp qword [rsp + 0x30], 0
jne 0x140252253
mov rdi, qword [rsp + 0xf8]
mov rbx, qword [rsp + 0xf0]
mov qword [rsp + 0x70], rbx
mov ecx, pe_nt_image_headers64
call fcn.1400e351c
mov r14, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1402520e5
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj_class_spdlog::logger_.0
mov qword [r14], rax
lea r15, [r14 + 0x10]
mov qword [rsp + 0x50], r15
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xc8], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xb0], 0
mov r8d, 5
lea rdx, str.nitro
lea rcx, [rsp + 0xb0]
call fcn.140086e00
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x40], rax
lea rax, vtable.spdlog::logger.0
mov qword [r15], rax
movups xmm0, xmmword [rsp + 0xb0]
movups xmmword [r15 + 8], xmm0
movups xmm1, xmmword [rsp + 0xc0]
movups xmmword [r15 + 0x18], xmm1
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xc8], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xb0], 0
lea rcx, [r15 + 0x28]
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
movzx r9d, byte [rsp + 0x20]
mov r8, rdi
mov rdx, rbx
call fcn.14024bec0
mov dword [r15 + 0x40], 2
mov dword [r15 + 0x44], 6
mov qword [r15 + 0x80], rsi
lea rbx, [r15 + 0x88]
mov edx, 2
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_init_in_situ
nop
mov byte [rbx + 0x50], 0
mov qword [rbx + 0x58], rsi
mov qword [rbx + 0x60], rsi
mov qword [rbx + 0x68], rsi
mov qword [rbx + 0x70], rsi
mov qword [rbx + 0x78], rsi
mov qword [rbx + 0x80], rsi
mov qword [rbx + 0x88], rsi
lea rcx, [rsp + 0xb0]
call fcn.1400827c0
jmp 0x1402520e8
mov r14, rsi
lea rax, [r14 + 0x10]
mov qword [rsp + 0x30], rax
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x38], r14
mov rdi, 0xffffffffffffffff
test rbx, rbx
je 0x140252135
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140252130
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140252130
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov r14, qword [rsp + 0x38]
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
test r14, r14
je 0x140252148
lock inc dword [r14 + 8]
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x60], xmm0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
call fcn.14025c110
mov rbx, rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x80], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x80]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x148], rbx
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
je 0x1402521a5
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
nop
movaps xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x110], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x80], xmm1
lea rdx, [rsp + 0x110]
mov rcx, rbx
call fcn.14025d0b0
nop
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_unlock
test eax, eax
je 0x1402521e7
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
nop
mov rbx, qword [rsp + 0x88]
test rbx, rbx
je 0x14025221e
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14025221e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14025221e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x14025225a
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14025225a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14025225a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x14025225a
mov rdi, 0xffffffffffffffff
mov r14, qword [rsp + 0x30]
mov qword [rsp + 0xe0], rsi
mov qword [rsp + 0xe8], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xd0], 0
mov r8d, 0x1a
lea rdx, str._H:_M:_S:_f__t:_t____l___v
lea rcx, [rsp + 0xd0]
call fcn.140086e00
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x40], rax
mov ecx, 0x90
call fcn.1400e351c
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14025234c
mov qword [rsp + 0x130], rsi
mov qword [rsp + 0x138], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x120], 0
mov r8d, 2
lea rdx, [0x14028f878]
lea rcx, [rsp + 0x120]
call fcn.140086e00
movups xmm0, xmmword [rsp + 0xd0]
movups xmmword [rsp + 0x188], xmm0
movups xmm1, xmmword [rsp + 0xe0]
movups xmmword [rsp + 0x198], xmm1
mov qword [rsp + 0xe0], rsi
mov qword [rsp + 0xe8], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xd0], 0
lea r9, [rsp + 0x120]
xor r8d, r8d
lea rdx, [rsp + 0x188]
mov rcx, rbx
call fcn.140251260
jmp 0x14025234f
mov rax, rsi
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.14025d900
nop
lea rcx, [rsp + 0xd0]
call fcn.1400827c0
mov rcx, qword [r12]
mov qword [rsp + 0x158], rcx
mov rax, qword [rsp + 0x30]
mov qword [r12], rax
mov qword [rsp + 0x30], rcx
mov rcx, qword [r12 + 8]
mov qword [rsp + 0x160], rcx
mov rax, qword [rsp + 0x38]
mov qword [r12 + 8], rax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x1b8], rsi
mov qword [rsp + 0x1c0], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x1a8], 0
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [r8 + r13], 0
jne 0x1402523d0
mov rdx, r13
lea rcx, [rsp + 0x1a8]
call fcn.140086e00
nop
lea rbx, str.trace
mov r13, qword [rsp + 0x1c0]
mov r15, qword [rsp + 0x1b8]
lea rdx, [rsp + 0x1a8]
cmp r13, 0x10
cmovae rdx, qword [rsp + 0x1a8]
movups xmm1, xmmword [rbx]
mov r8, r15
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r14, xmm0
cmp r14, r15
cmovb r8, r14
movq rcx, xmm1
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140252445
cmp r14, r15
je 0x14025245c
inc esi
add rbx, 0x10
lea rax, [0x140366390]
cmp rbx, rax
jne 0x140252402
mov esi, 6
call fcn.14025c110
mov rbx, rax
mov rcx, rax
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
je 0x140252477
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
mov rdx, qword [rbx + 0xf8]
mov rax, qword [rdx]
cmp rax, rdx
je 0x1402524a3
nop word [rax + rax]
mov r9, qword [rax + 0x30]
mov r8d, esi
xchg dword [r9 + 0x40], r8d
mov rax, qword [rax]
cmp rax, rdx
jne 0x140252490
mov dword [rbx + 0x138], esi
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_unlock
test eax, eax
je 0x1402524bd
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
nop
mov rdx, qword [rsp + 0x1c0]
cmp rdx, 0x10
jb 0x140252504
inc rdx
mov rcx, qword [rsp + 0x1a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402524fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402524fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082ab0
nop
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x140252536
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140252536
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140252536
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rsp + 0xf0]
test rcx, rcx
je 0x14025259d
lea r8, [rsp + 0xf0]
mov rdx, qword [rsp + 0xf8]
call fcn.14015b4c0
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xf0]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140252597
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140252597
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082ab0
nop
jmp 0x1402525a7
mov rax, r12
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.1400e39a0
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret