Function at 0x140218980
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 [0x140302028]
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.140074910
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.140213170
nop
lea rcx, [rsp + 0x90]
call fcn.1400742f0
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 0x14021913d
lea rcx, [rsp + 0xf0]
call fcn.140222830
nop
movdqa xmm0, xmmword [0x140239670]
movdqu xmmword [rsp + 0x1d8], xmm0
mov byte [rsp + 0x1c8], sil
lea r8d, [rsi + 5]
lea rdx, str.nitro
lea rcx, [rsp + 0x1c8]
call fcn.140074910
nop
call fcn.140222f30
lea r8, [rsp + 0x1c8]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1402221f0
nop
mov rdx, qword [rsp + 0x1e0]
cmp rdx, 0x10
jb 0x140218b24
inc rdx
mov rcx, qword [rsp + 0x1c8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140218b1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140218b1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009f0ec
nop
cmp qword [rsp + 0x30], 0
jne 0x140218df3
mov rdi, qword [rsp + 0xf8]
mov rbx, qword [rsp + 0xf0]
mov qword [rsp + 0x70], rbx
mov ecx, reloc.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_
call fcn.14009f0b0
mov r14, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140218c85
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.140074910
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.140212a60
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.1400742f0
jmp 0x140218c88
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 0x140218cd5
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140218cd0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140218cd0
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 0x140218ce8
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.140222f30
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 0x140218d45
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.140223ed0
nop
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_unlock
test eax, eax
je 0x140218d87
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
nop
mov rbx, qword [rsp + 0x88]
test rbx, rbx
je 0x140218dbe
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140218dbe
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140218dbe
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 0x140218dfa
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140218dfa
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140218dfa
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x140218dfa
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.140074910
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x40], rax
mov ecx, 0x90
call fcn.14009f0b0
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140218eec
mov qword [rsp + 0x130], rsi
mov qword [rsp + 0x138], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x120], 0
mov r8d, 2
lea rdx, [0x140243bb0]
lea rcx, [rsp + 0x120]
call fcn.140074910
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.140217e00
jmp 0x140218eef
mov rax, rsi
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.1402248b0
nop
lea rcx, [rsp + 0xd0]
call fcn.1400742f0
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 0x140218f70
mov rdx, r13
lea rcx, [rsp + 0x1a8]
call fcn.140074910
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 0x140218fe5
cmp r14, r15
je 0x140218ffc
inc esi
add rbx, 0x10
lea rax, [0x140303ef0]
cmp rbx, rax
jne 0x140218fa2
mov esi, 6
call fcn.140222f30
mov rbx, rax
mov rcx, rax
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
je 0x140219017
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 0x140219043
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 0x140219030
mov dword [rbx + 0x138], esi
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_unlock
test eax, eax
je 0x14021905d
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
nop
mov rdx, qword [rsp + 0x1c0]
cmp rdx, 0x10
jb 0x1402190a4
inc rdx
mov rcx, qword [rsp + 0x1a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14021909e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14021909e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009f0ec
nop
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x1402190d6
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1402190d6
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1402190d6
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 0x14021913d
lea r8, [rsp + 0xf0]
mov rdx, qword [rsp + 0xf8]
call fcn.1401183b0
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xf0]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140219137
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140219137
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009f0ec
nop
jmp 0x140219147
mov rax, r12
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.14009f440
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