Function at 0x140098fe0
Capabilities:
Query environment variable

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x3b8], rbx
mov rax, qword [0x140302028]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], r8
xor r12d, r12d
mov r14d, r12d
mov dword [rsp + 0x30], r12d
nop dword [rax + rax]
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 5
cmp edx, 0x83126e
jae 0x140099040
mov eax, 0x10624dd3
mul ecx
shr edx, 5
imul eax, edx, 0x1f4
sub ecx, eax
add ecx, 0x80000001
mov edx, 0x80000000
lea eax, [rcx + rdx]
lea r13d, [rcx - 0x80000000]
cmp ecx, edx
cmovae r13d, eax
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
cmp byte [rdi], 0
je 0x140099180
lea r9, [rdi + 8]
cmp qword [rdi + 0x20], 0x10
jb 0x1400990af
mov r9, qword [rdi + 8]
mov rax, qword [rdi + 0x18]
mov qword [rbp - 0x20], r9
mov qword [rbp - 0x18], rax
lea r9, [rdi + 0x28]
cmp qword [rdi + 0x40], 0x10
jb 0x1400990ca
mov r9, qword [rdi + 0x28]
mov rax, qword [rdi + 0x38]
mov qword [rbp - 0x10], r9
mov qword [rbp - 8], rax
lea rdx, [rdi + 0x48]
cmp qword [rdi + 0x60], 0x10
jb 0x1400990e5
mov rdx, qword [rdi + 0x48]
mov rax, qword [rdi + 0x58]
mov qword [rbp], rdx
mov qword [rbp + 8], rax
lea rcx, [rdi + 0x68]
cmp qword [rdi + 0x80], 0x10
jb 0x140099103
mov rcx, qword [rdi + 0x68]
mov rax, qword [rdi + 0x78]
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rax
mov qword [rsp + 0x20], 0x739ce
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x40], xmm0
lea rax, str._ProxyIP___ProxyIP__ProxyPort___ProxyPort__ProxyUsername___ProxyUsername__ProxyPassword___ProxyPassword_
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], reloc.WS2_32.dll_WSASetLastError
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x68]
call fcn.140090ab0
mov r14d, 1
lea rcx, [rsp + 0x78]
call fcn.140081610
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rbp - 0x58]
movups xmmword [rbp - 0x78], xmm1
lea rcx, str.NITRO_LOG_LEVEL
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x1400991ba
mov rdx, r12
lea r8, str.trace
nop dword [rax]
movzx ecx, byte [rax + rdx]
inc rdx
cmp cl, byte [r8 + rdx - 1]
jne 0x1400991ba
cmp rdx, 6
jne 0x1400991a0
lea r15d, [rdx - 2]
jmp 0x1400991bd
mov r15d, r12d
movdqa xmm0, xmmword [0x140239670]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
or r14d, 2
mov dword [rsp + 0x30], r14d
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x140099213
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400991ed
mov rax, qword [rbx]
lea r12, [rax + rdx*2]
mov r14, rbx
jb 0x1400991f9
mov r14, qword [rbx]
call fcn.14020d6a0
mov r9, rax
lea r8, [rbp - 0x68]
mov rdx, r12
mov rcx, r14
call fcn.14020cc10
xor r12d, r12d
lea rax, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rax, qword [rbp - 0x68]
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x10], r13d
mov dword [rbp], r15d
lea rax, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rax, qword [rsp + 0x78]
mov qword [rbp + 0x10], rax
mov rax, qword [rbp - 0x78]
mov qword [rbp + 0x18], rax
mov qword [rsp + 0x20], 0x7084d
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x40], xmm0
lea rax, str.__xml_version_1.0__encoding_UTF_8____SHAFERXMLParams__WorkDir___WorkDir__NSLEnabled_1__NSLEnabled__NSAEnabled_0__NSAEnabled__SecurityValue___SecurityValue__LogLevel___LogLevel___SHAFERXMLParams_
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0xcc
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x48]
call fcn.140090ab0
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x1400992d8
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400992d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400992d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009f0ec
movdqa xmm0, xmmword [0x140239670]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
mov rax, qword [rsi]
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rdx, qword [rbp - 0x48]
mov rcx, rsi
call qword [rax + 0x18]
mov r14d, eax
test eax, eax
je 0x140099434
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [rbp + 0x20]
call fcn.140222360
nop
lea rcx, [rbp + 0x20]
call fcn.140222fc0
test al, al
je 0x140099345
lea rdx, str.Error_opening_Nalpeiron_library._error_code:
lea rcx, [rbp + 0x20]
call fcn.140219e60
mov edx, r14d
mov rcx, rax
call fcn.140219c40
nop
lea rcx, [rbp + 0x20]
call fcn.140219710
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140099396
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140099391
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140099391
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009f0ec
movdqa xmm0, xmmword [0x140239670]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x1400993e6
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400993e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400993e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009f0ec
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
mov rcx, rbx
call fcn.140074800
nop
cmp byte [rdi], 0
je 0x14009942c
lea rcx, [rdi + 0x68]
call fcn.1400742f0
lea rcx, [rdi + 0x48]
call fcn.1400742f0
lea rcx, [rdi + 0x28]
call fcn.1400742f0
lea rcx, [rdi + 8]
call fcn.1400742f0
mov byte [rdi], 0
mov eax, r14d
jmp 0x140099556
imul ecx, r13d, 0x33e
mov eax, 0xa6810a7
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 7
imul eax, eax, 0xf6
sub ecx, eax
lea edx, [rcx + 0x164]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [rsi]
mov edx, 0x13b9
mov r8d, 0x68
mov rcx, rsi
call qword [rax + 0x30]
test eax, eax
jne 0x140099580
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x1400994be
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400994b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400994b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009f0ec
movdqa xmm0, xmmword [0x140239670]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x14009950e
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140099509
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140099509
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009f0ec
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
mov rcx, rbx
call fcn.140074800
nop
cmp byte [rdi], 0
je 0x140099554
lea rcx, [rdi + 0x68]
call fcn.1400742f0
lea rcx, [rdi + 0x48]
call fcn.1400742f0
lea rcx, [rdi + 0x28]
call fcn.1400742f0
lea rcx, [rdi + 8]
call fcn.1400742f0
mov byte [rdi], 0
xor eax, eax
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.14009f440
mov rbx, qword [rsp + 0x3b8]
add rsp, 0x360
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_recv]
lea rdx, str.NSLValidateLibrary_failed
lea rcx, [rsp + 0x40]
call fcn.140076ca0
lea rdx, [0x1402fa960]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3