Function at 0x41331b
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x50
lea rdx, [0x00428500]
lea rcx, [0x00428520]
call fcn.00407b5c
mov rbx, rax
test rax, rax
jne 0x4133f8
mov rcx, qword [0x00429680]
mov edx, 0x38
lea r14, str.LibraryError
call fcn.004039d0
mov ecx, 0x2b
mov r12, rax
mov rax, qword [0x004295a0]
mov qword [r12 + 0x10], r14
mov qword [r12], rax
call fcn.00403c25
lea rdx, [0x004284e0]
mov r13, rax
mov rcx, rax
call fcn.00401da5
lea rdx, [0x00428520]
mov rcx, r13
call fcn.00401da5
lea rdx, [0x004284b0]
mov rcx, r13
call fcn.00401da5
lea rdx, [0x00428500]
mov rcx, r13
call fcn.00401da5
lea rcx, [r12 + 0x18]
mov rdx, r13
call fcn.00402d25
lea rcx, [r12 + 8]
xor edx, edx
call fcn.00402d25
lea r9, str.openssl.nim
mov rdx, r14
mov rcx, r12
mov qword [rsp + 0x20], 0x16f
lea r8, str.loadPSSLMethod
call fcn.00404947
call rbx
mov rcx, rax
mov rax, qword [0x00429190]
call qword [rax]
mov rcx, qword [0x004298a0]
mov rsi, rax
mov rax, qword [0x004291c0]
mov rbx, qword [rax]
call fcn.00401c99
mov rcx, rsi
mov rdx, rax
call rbx
dec eax
jne 0x413439
call fcn.00407ba4
cmp eax, 0xdfffffff
je 0x413442
jmp 0x41346e
xor ecx, ecx
call fcn.00407bf2
jmp 0x41342b
mov rcx, qword [0x004298a0]
call fcn.00401c99
cmp qword [0x00447800], 0
mov r12, rax
je 0x413483
mov rcx, rsi
mov rdx, r12
call qword [0x00447800]
xor ecx, ecx
call fcn.00407bf2
call fcn.00407ba4
mov rbx, qword [0x00429260]
cmp eax, 0x100fffff
jbe 0x4134bf
jmp 0x4134b3
xor edx, edx
lea rcx, [0x00428480]
call fcn.00407b5c
test rax, rax
je 0x41349f
mov qword [0x00447800], rax
jmp 0x41345b
lea rcx, [0x00428480]
call fcn.00401c99
mov rcx, rax
call fcn.004076b7
call fcn.00407ba4
cmp eax, 0x20000000
jne 0x4134dd
xor r9d, r9d
mov r8d, 1
mov edx, 0x5e
mov rcx, rsi
call qword [rbx]
dec eax
je 0x4134dd
xor ecx, ecx
call fcn.00407bf2
mov rax, qword [0x004291b0]
xor r8d, r8d
mov edx, 1
mov rcx, rsi
call qword [rax]
test rsi, rsi
jne 0x4134fd
xor ecx, ecx
call fcn.00407bf2
xor r9d, r9d
mov edx, 0x21
mov rcx, rsi
mov edi, 0x104
mov r8d, 4
lea r13, [0x00428022]
call qword [rbx]
mov edx, 0x104
lea rcx, [0x00428022]
call fcn.004039fa
mov r14, qword [0x00429090]
mov r12, rax
jmp 0x413546
mov rcx, r13
mov edi, ebx
call fcn.004039fa
mov r12, rax
mov r8d, edi
mov rdx, r12
xor ecx, ecx
call qword [r14]
mov ebx, eax
test eax, eax
je 0x41356b
movsxd rdx, eax
cmp edi, eax
jl 0x413539
mov rcx, r12
call fcn.0041195d
mov r12, rax
jmp 0x41356e
xor r12d, r12d
lea r14, [rsp + 0x38]
mov edx, 0x18
lea r15, [rsp + 0x40]
mov rcx, r14
lea rdi, [rsp + 0x48]
call fcn.00401df3
xor edx, edx
mov rcx, r14
call fcn.00403efa
xor edx, edx
mov rcx, r15
call fcn.00403efa
xor edx, edx
mov rcx, rdi
call fcn.00403efa
test r12, r12
je 0x413684
mov rax, qword [r12]
xor r13d, r13d
lea rdx, [rax - 1]
mov rbx, rdx
test rbx, rbx
js 0x413684
mov al, byte [r12 + rbx + 0x10]
cmp al, 0x5c
je 0x4135ee
cmp al, 0x2f
je 0x4135e4
test rbx, rbx
je 0x413615
cmp al, 0x2e
jne 0x41367c
jmp 0x41365b
cmp al, 0x5c
je 0x4135ee
xor edx, edx
cmp al, 0x2f
jne 0x413617
xor r8d, r8d
test rbx, rbx
je 0x4135fa
lea r8, [rbx - 1]
xor edx, edx
mov rcx, r12
call fcn.00405807
mov rcx, r14
mov rdx, rax
call fcn.00403efa
lea rdx, [rbx + 1]
jmp 0x413617
xor edx, edx
cmp rbx, r13
jl 0x41362c
mov rcx, r12
call fcn.00405871
mov rcx, r15
mov rdx, rax
jmp 0x413654
lea r8, [r13 - 1]
mov rcx, r12
call fcn.00405807
mov rcx, r15
mov rdx, rax
call fcn.00403efa
mov rdx, r13
mov rcx, r12
call fcn.00405871
mov rcx, rdi
mov rdx, rax
call fcn.00403efa
jmp 0x413684
cmp rdx, rbx
jle 0x41367c
mov al, byte [r12 + rbx + 0xf]
cmp al, 0x5c
je 0x41367c
cmp al, 0x2f
je 0x41367c
cmp byte [r12 + rbx + 0x11], 0x2e
je 0x41367c
test r13, r13
cmove r13, rbx
dec rbx
jmp 0x4135bf
mov rcx, qword [rsp + 0x38]
call fcn.00405883
mov rcx, rax
call fcn.00411498
mov rcx, rax
mov r12, rax
call fcn.004077a2
test al, al
jne 0x4136d7
lea rcx, [0x00428580]
call fcn.00401c99
mov rcx, rax
call sub.msvcrt.dll_getenv
mov r12, rax
test rax, rax
je 0x4136cc
mov rcx, rax
call fcn.0040397a
mov r12, rax
mov r13, qword [0x004291a0]
xor edx, edx
jmp 0x41372a
mov rax, qword [0x004291a0]
mov rcx, r12
mov rbx, qword [rax]
call fcn.00401c99
xor r8d, r8d
mov rcx, rsi
mov rdx, rax
call rbx
dec eax
jne 0x4137a6
jmp 0x41382a
cmp rdx, rax
jg 0x4137a6
mov rbx, rdx
cmp rax, rbx
jne 0x413737
mov rcx, r12
lea r8, [rbx - 1]
call fcn.00405807
mov rcx, rax
test rax, rax
jne 0x413744
lea rdx, [rbx + 1]
xor eax, eax
test r12, r12
je 0x413701
mov rax, qword [r12]
jmp 0x413701
cmp byte [r12 + rbx + 0x10], 0x3b
je 0x413712
inc rbx
jmp 0x41370d
mov r8, qword [rax]
test r8, r8
je 0x413726
cmp byte [rax + 0x10], 0x22
jne 0x41375a
cmp byte [rax + r8 + 0xf], 0x22
je 0x413761
call fcn.00405883
jmp 0x41376f
sub r8, 2
mov edx, 1
call fcn.00405807
mov rcx, rax
call fcn.00411498
mov rcx, rax
mov r14, rax
call fcn.004077a2
test al, al
je 0x413726
mov rcx, r14
mov rdi, qword [r13]
call fcn.00401c99
xor r8d, r8d
mov rcx, rsi
mov rdx, rax
call rdi
dec eax
jne 0x413726
jmp 0x41382a
mov rcx, qword [0x00429670]
mov edx, 0x30
call fcn.004039d0
lea rcx, [0x00428540]
mov r12, rax
mov rax, qword [0x00429570]
mov r13, qword [r12 + 0x18]
mov qword [r12], rax
lea rax, str.IOError
mov qword [r12 + 0x10], rax
call fcn.00403bbe
mov qword [r12 + 0x18], rax
test r13, r13
jne 0x413820
lea rcx, [r12 + 8]
xor edx, edx
call fcn.00402d25
lea r9, str.net.nim
lea r8, str.newContext
mov rcx, r12
mov qword [rsp + 0x20], 0x2a9
lea rdx, str.IOError
call fcn.00404947
jmp 0x41382a
mov rcx, r13
call fcn.00402d7a
jmp 0x4137ec
mov rcx, qword [0x00429730]
mov edx, 0x20
call fcn.004039d0
xor edx, edx
mov qword [rax], rsi
lea r13, [rax + 8]
mov r12, rax
mov rcx, r13
call fcn.00403efa
mov ecx, 0x64
mov qword [r12 + 0x10], 0
call fcn.0040707f
mov rcx, qword [0x00429580]
mov rdx, rax
call fcn.00404ff1
mov rcx, r13
mov rdx, rax
call fcn.00403efa
mov rcx, qword [0x00429750]
mov edx, 0x28
call fcn.004039d0
lea rcx, [r12 + 0x18]
mov rdx, rax
mov rax, qword [0x00429740]
mov qword [rdx], rax
call fcn.00402d25
mov rax, r12
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret