Function at 0x1400ddb10
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 [0x1403644c8]
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 0x1400ddb70
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 0x1400ddcb0
lea r9, [rdi + 8]
cmp qword [rdi + 0x20], 0x10
jb 0x1400ddbdf
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 0x1400ddbfa
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 0x1400ddc15
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 0x1400ddc33
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.1400c88c0
mov r14d, 1
lea rcx, [rsp + 0x78]
call fcn.1400a80a0
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 0x1400ddcea
mov rdx, r12
lea r8, str.trace
nop dword [rax]
movzx ecx, byte [rax + rdx]
inc rdx
cmp cl, byte [r8 + rdx - 1]
jne 0x1400ddcea
cmp rdx, 6
jne 0x1400ddcd0
lea r15d, [rdx - 2]
jmp 0x1400ddced
mov r15d, r12d
movdqa xmm0, xmmword [0x1402807f0]
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 0x1400ddd43
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400ddd1d
mov rax, qword [rbx]
lea r12, [rax + rdx*2]
mov r14, rbx
jb 0x1400ddd29
mov r14, qword [rbx]
call fcn.1401744f0
mov r9, rax
lea r8, [rbp - 0x68]
mov rdx, r12
mov rcx, r14
call fcn.140173ae0
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.1400c88c0
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x1400dde08
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dde03
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400dde03
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082ab0
movdqa xmm0, xmmword [0x1402807f0]
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 0x1400ddf64
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [rbp + 0x20]
call fcn.14025b540
nop
lea rcx, [rbp + 0x20]
call fcn.14025c1a0
test al, al
je 0x1400dde75
lea rdx, str.Error_opening_Nalpeiron_library._error_code:
lea rcx, [rbp + 0x20]
call fcn.140253210
mov edx, r14d
mov rcx, rax
call fcn.140252ff0
nop
lea rcx, [rbp + 0x20]
call fcn.140252b50
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 0x1400ddec6
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ddec1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ddec1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082ab0
movdqa xmm0, xmmword [0x1402807f0]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x1400ddf16
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ddf11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ddf11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082ab0
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
mov rcx, rbx
call fcn.1400867f0
nop
cmp byte [rdi], 0
je 0x1400ddf5c
lea rcx, [rdi + 0x68]
call fcn.1400827c0
lea rcx, [rdi + 0x48]
call fcn.1400827c0
lea rcx, [rdi + 0x28]
call fcn.1400827c0
lea rcx, [rdi + 8]
call fcn.1400827c0
mov byte [rdi], 0
mov eax, r14d
jmp 0x1400de086
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 0x1400de0b0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x1400ddfee
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ddfe9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ddfe9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082ab0
movdqa xmm0, xmmword [0x1402807f0]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x1400de03e
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400de039
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400de039
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082ab0
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
mov rcx, rbx
call fcn.1400867f0
nop
cmp byte [rdi], 0
je 0x1400de084
lea rcx, [rdi + 0x68]
call fcn.1400827c0
lea rcx, [rdi + 0x48]
call fcn.1400827c0
lea rcx, [rdi + 0x28]
call fcn.1400827c0
lea rcx, [rdi + 8]
call fcn.1400827c0
mov byte [rdi], 0
xor eax, eax
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.1400e39a0
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.140082580
lea rdx, [0x140359df0]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3