Function at 0x14005a300
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
sub rsp, 0x108
mov r8b, 1
xor edx, edx
mov rbp, rcx
call fcn.14002ddc0
mov rbx, rax
test rax, rax
jne 0x14005a32d
add rsp, 0x108
pop rbp
pop rbx
ret
cmp byte [rax + 0x23], 0
jne 0x14005a337
mov rbx, qword [rax + 0x10]
movzx r9d, byte [rbp + 1]
cmp r9b, 1
jbe 0x14005a36c
mov rax, qword [rbp + 8]
mov rdx, qword [rax + 0x38]
test rdx, rdx
je 0x14005a36c
mov rdx, qword [rdx]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rbx
call fcn.140001090
mov eax, 1
add rsp, 0x108
pop rbp
pop rbx
ret
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0xf8], rdi
xor esi, esi
mov qword [rsp + 0xf0], r12
mov qword [rsp + 0xe0], r14
cmp r9b, 2
jb 0x14005a482
mov r12, qword [rbp + 8]
mov rax, qword [r12 + 0x30]
test rax, rax
je 0x14005a482
cmp qword [rax], rsi
je 0x14005a482
mov rdi, qword [r12 + 0x30]
add r12, 0x20
mov r14, qword [rdi + 8]
movzx ecx, byte [r14 + 0x23]
test cl, cl
jne 0x14005a3d3
mov rax, qword [r14 + 0x10]
movzx edx, byte [rax + 0x23]
jmp 0x14005a3d6
movzx edx, cl
cmp dl, 3
jne 0x14005a407
movzx eax, byte [rbx + 0x23]
cmp al, 2
jne 0x14005a3ed
mov eax, 1
jmp 0x14005b0e9
test al, al
jne 0x14005a3f5
mov rbx, qword [rbx + 0x10]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400b01e0
jmp 0x14005b0e9
test cl, cl
jne 0x14005a416
mov rax, qword [r14 + 0x10]
movzx r8d, byte [rax + 0x21]
jmp 0x14005a41b
movzx r8d, byte [r14 + 0x21]
test r8b, 1
je 0x14005a431
mov rdx, r14
mov rcx, rbx
call fcn.1400b0570
jmp 0x14005b0e9
cmp qword [rdi + 0x18], rsi
jne 0x14005a485
movzx eax, word [r12 + 2]
cmp word [rdi + 0x12], ax
jne 0x14005a485
cmp dl, 1
jne 0x14005a47b
mov rax, qword [0x1401124a8]
cmp byte [rax + 0x134], sil
je 0x14005a46b
test cl, cl
jne 0x14005a462
mov rax, qword [r14 + 0x10]
jmp 0x14005a465
mov rax, r14
test byte [rax + 0x21], 8
je 0x14005a47b
mov rdx, r14
mov rcx, rbx
call fcn.1400af9a0
jmp 0x14005b0e9
mov qword [rsp + 0x38], r14
jmp 0x14005a48d
mov r12, rsi
mov qword [rsp + 0x38], rsi
mov r14, rsi
xor dil, dil
mov qword [rsp + 0xe8], r13
mov qword [rsp + 0xd8], r15
xor r15b, r15b
mov byte [rsp + 0x128], dil
test r12, r12
je 0x14005a56a
movzx eax, byte [rbx + 0x23]
test al, al
jne 0x14005a4c4
mov rax, qword [rbx + 0x10]
movzx eax, byte [rax + 0x23]
cmp al, 2
je 0x14005a56a
mov rcx, qword [r12 + 0x10]
mov rdx, qword [rcx]
test rdx, rdx
je 0x14005a56a
nop dword [rax]
mov rax, qword [rcx + 8]
test r15b, r15b
je 0x14005a532
cmp byte [rax + 0x23], sil
jne 0x14005a4f3
mov rax, qword [rax + 0x10]
cmp rax, rbx
jne 0x14005a557
xor r15b, r15b
test dil, dil
je 0x14005a56a
test r15b, r15b
jne 0x14005a56a
xor r9d, r9d
or r8, 0xffffffffffffffff
xor edx, edx
mov rcx, rbp
call fcn.1400897b0
cmp eax, 1
jne 0x14005adb4
mov edx, eax
mov rcx, rbp
call fcn.14002dae0
lea rbp, [rax + 1]
jmp 0x14005a72c
cmp byte [rax + 0x23], sil
jne 0x14005a53c
mov rax, qword [rax + 0x10]
cmp rax, rbx
jne 0x14005a557
mov dil, 1
mov byte [rsp + 0x128], dil
cmp rdx, qword [r12 + 8]
jne 0x14005a505
movzx r15d, dil
mov rdx, qword [rcx + 0x18]
add rcx, 0x18
test rdx, rdx
jne 0x14005a4e0
jmp 0x14005a4fb
cmp r9b, 2
jb 0x14005ae6a
test r14, r14
je 0x14005a645
movzx ecx, byte [r14 + 0x23]
test ecx, ecx
je 0x14005a631
dec ecx
je 0x14005a5cd
dec ecx
je 0x14005a5a9
dec ecx
je 0x14005a615
mov rdx, qword [r14 + 0x28]
xor ecx, ecx
call qword [r14 + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbp, [rax + 1]
jmp 0x14005a72c
lea rcx, [0x140119dc8]
xor edx, edx
call fcn.140005ee0
mov r13d, 0xffffffff
cmp rax, r13
cmove rax, rsi
lea rbp, [rax + 1]
jmp 0x14005a72c
mov rcx, r14
call fcn.140001130
cmp dword [0x1401178c8], esi
jne 0x14005a621
cmp qword [r14 + 0x10], rsi
jne 0x14005a621
mov rcx, qword [r14 + 0x28]
lea rdx, [rsp + 0x130]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14005a60e
dec eax
mov qword [0x14011ad08], rsi
lea rbp, [rax + 1]
jmp 0x14005a72c
mov qword [0x14011ad08], r14
mov rax, rsi
lea rbp, [rax + 1]
jmp 0x14005a72c
mov rax, qword [r14 + 0x10]
shr rax, 1
lea rbp, [rax + 1]
jmp 0x14005a72c
mov rcx, qword [r14 + 0x10]
xor edx, edx
call fcn.1400b0c90
lea rbp, [rax + 1]
jmp 0x14005a72c
mov rax, qword [rbp + 8]
movzx ecx, word [rax + 0x22]
inc ecx
movsxd rbp, ecx
test r12, r12
je 0x14005a72c
mov r12, qword [r12 + 0x10]
cmp qword [r12], rsi
je 0x14005a72c
mov r13d, 0xffffffff
mov rdi, qword [r12 + 8]
movzx eax, word [r12 + 0x12]
movzx ecx, byte [rdi + 0x23]
sub rbp, rax
test ecx, ecx
je 0x14005a710
dec ecx
je 0x14005a6bb
dec ecx
je 0x14005a6a4
dec ecx
je 0x14005a6fc
mov rdx, qword [rdi + 0x28]
xor ecx, ecx
call qword [rdi + reloc.OLEAUT32.dll_SafeArrayGetElement]
jmp 0x14005a71b
lea rcx, [0x140119dc8]
xor edx, edx
call fcn.140005ee0
cmp rax, r13
cmove rax, rsi
jmp 0x14005a71b
mov rcx, rdi
call fcn.140001130
cmp dword [0x1401178c8], esi
jne 0x14005a701
cmp qword [rdi + 0x10], rsi
jne 0x14005a701
mov rcx, qword [rdi + 0x28]
lea rdx, [rsp + 0x138]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14005a6f5
mov qword [0x14011ad08], rsi
dec eax
jmp 0x14005a71b
mov qword [0x14011ad08], rdi
mov rax, rsi
jmp 0x14005a71b
mov rax, qword [rdi + 0x10]
shr rax, 1
jmp 0x14005a71b
mov rcx, qword [rdi + 0x10]
xor edx, edx
call fcn.1400b0c90
add r12, 0x18
add rbp, rax
cmp qword [r12], rsi
jne 0x14005a670
cmp rbp, 2
jb 0x14005ae6a
test r15b, r15b
je 0x14005a788
cmp byte [rbx + 0x23], sil
jne 0x14005a747
mov rax, qword [rbx + 0x10]
jmp 0x14005a74a
mov rax, rbx
cmp byte [rax + 0x23], 2
jne 0x14005a758
mov eax, dword [0x140119df0]
jmp 0x14005a75c
mov rax, qword [rax + 0x18]
shr rax, 1
cmp rbp, rax
jbe 0x14005aaee
mov rcx, qword [rsp + 0x120]
lea r9, [rsp + 0x30]
mov r8, rbp
xor edx, edx
call fcn.1400897b0
cmp eax, 1
jne 0x14005adb4
cmp byte [rsp + 0x128], sil
je 0x14005aaee
movzx edx, byte [rbx + 0x23]
mov r13, qword [0x140117678]
test dl, dl
jne 0x14005a7c2
mov rcx, qword [rbx + 0x10]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov rdx, r13
mov byte [rsp + 0x20], 1
call fcn.1400b0840
jmp 0x14005aad6
mov r8b, 1
lea r12, [0x1400e246c]
test r13, r13
jne 0x14005a7dc
xor r8b, r8b
mov r14, rsi
mov r13, r12
jmp 0x14005a7fe
cmp qword [rbx + 8], r13
jne 0x14005a7eb
mov r14, qword [rbx + 0x10]
shr r14, 1
jmp 0x14005a7fe
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
lea r14, [rcx - 1]
lea rax, [r14 + 1]
lea rbp, [rax + rax]
cmp dl, 2
jne 0x14005a81b
mov rdx, r14
mov rcx, r13
call fcn.140006100
jmp 0x14005aad6
mov r9, qword [0x140112480]
cmp rbp, r9
jbe 0x14005a839
cmp rbp, qword [rbx + 0x18]
jbe 0x14005a839
lea rdx, str.Memory_limit_reached__see_MaxMem_in_the_help_file_.
jmp 0x14005aac7
cmp rax, 2
jae 0x14005a859
test r8b, r8b
mov rcx, rbx
setne sil
xor r8d, r8d
lea edx, [rsi + 3]
call fcn.1400b0ef0
jmp 0x14005aa18
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x14005a876
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r9, qword [0x140112480]
mov r8, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp rbp, r8
jbe 0x14005a9f3
movzx r10d, byte [rbx + 0x20]
movzx eax, r10b
cmp r10b, 1
jbe 0x14005a8af
cmp al, 2
je 0x14005a8ec
mov rdi, qword [rsp + 0x128]
mov rax, qword [rsp + 0x128]
jmp 0x14005a9e7
mov edi, 0x80
cmp rbp, rdi
ja 0x14005a8ec
cmp rbp, 8
ja 0x14005a8c6
mov edi, 8
jmp 0x14005a8d2
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmp rbp, rax
cmovbe rdi, rax
mov rcx, rdi
call fcn.1400a99c0
test rax, rax
je 0x14005aade
mov byte [rbx + 0x20], 1
jmp 0x14005a9e7
cmp rbp, 0x20
jae 0x14005a8fc
mov edi, SafeArrayAllocDescriptor
jmp 0x14005a9a6
mov edi, 0x208
cmp rbp, rdi
jb 0x14005a9a6
cmp rbp, 0x50000
jae 0x14005a962
pxor xmm0, xmm0
cvtsi2sd xmm0, rbp
test rbp, rbp
jns 0x14005a929
addsd xmm0, qword [0x140100df8]
mulsd xmm0, qword [0x140100e30]
movsd xmm1, qword [0x140100e28]
xor ecx, ecx
comisd xmm0, xmm1
jbe 0x14005a958
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x14005a958
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rdi, xmm0
add rdi, rcx
jmp 0x14005a9a6
cmp rbp, 0x320000
jae 0x14005a974
lea rdi, [rbp + 0x8000]
jmp 0x14005a9a6
cmp rbp, 0xc80000
jae 0x14005a99f
movabs rax, 0x47ae147ae147ae15
mov rdi, rbp
mul rbp
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rbp
jmp 0x14005a9a6
lea rdi, [rbp + 0x20000]
cmp rdi, r9
cmova rdi, r9
cmp r10b, 2
jne 0x14005a9c6
test r8, r8
je 0x14005a9c6
mov rcx, qword [rbx + 8]
mov bpl, 1
call fcn.1400ca7a0
jmp 0x14005a9c9
xor bpl, bpl
test rdi, rdi
js 0x14005aa9f
mov rcx, rdi
call fcn.1400c9d04
test rax, rax
je 0x14005aa9f
mov byte [rbx + 0x20], 2
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rdi
mov rcx, qword [rbx + 8]
cmp rcx, r13
je 0x14005aa08
lea r8, [r14 + r14]
mov rdx, r13
call fcn.1400ca960
mov rax, qword [rbx + 8]
lea rcx, [r14 + r14]
mov word [rcx + rax], si
mov qword [rbx + 0x10], rcx
mov rax, qword [0x1401124a8]
mov esi, 1
cmp byte [rax + 0x134], 0
je 0x14005b0d7
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.140001820
mov rdi, rax
cmp word [rax], 0
je 0x14005b0d7
mov rcx, rbx
call fcn.14001c500
mov rcx, rdi
mov rdx, rax
call fcn.14001be20
mov rcx, rdi
mov rdx, rax
call fcn.14001bea0
mov rcx, rbx
mov rdx, rax
call fcn.14001c4b0
cmp byte [rbx + 0x23], 0
jne 0x14005aa7e
mov rbx, qword [rbx + 0x10]
cmp byte [rbx + 0x23], 2
jne 0x14005aae5
cmp qword [0x140119de0], 0
je 0x14005aae5
lea rcx, [0x140119dc8]
call fcn.140006280
jmp 0x14005b0d7
test bpl, bpl
je 0x14005aab5
lea rax, [0x140119128]
mov qword [rbx + 0x18], rsi
mov qword [rbx + 8], rax
jmp 0x14005aabc
mov rax, qword [rbx + 8]
mov word [rax], si
mov qword [rbx + 0x10], rsi
lea rdx, str.Out_of_memory.
lea rcx, [0x140119170]
mov r8, r12
call fcn.140040620
test eax, eax
jne 0x14005aa18
xor eax, eax
jmp 0x14005b0d9
and byte [rbx + 0x21], 0x86
jmp 0x14005b0d7
test r15b, r15b
jne 0x14005adcb
movzx ecx, byte [rbx + 0x23]
lea r13, [rbp - 1]
test cl, cl
jne 0x14005ab1e
mov rcx, qword [rbx + 0x10]
xor r9d, r9d
mov r8, r13
xor edx, edx
mov byte [rsp + 0x20], 1
call fcn.1400b0840
jmp 0x14005adad
mov r12b, 1
movzx edx, r12b
cmp r13, 0xffffffffffffffff
jne 0x14005ab32
xor dl, dl
mov r13, rsi
jmp 0x14005ab35
xor r12b, r12b
lea rax, [r13 + 1]
lea rbp, [rax + rax]
cmp cl, 2
jne 0x14005ab76
test r12b, r12b
je 0x14005ab5b
lea rcx, [0x1400e246c]
mov rdx, r13
call fcn.140006100
jmp 0x14005adad
lea rcx, [0x140119dc8]
mov rdx, rax
call fcn.1400061c0
test rax, rax
setne sil
jmp 0x14005adaf
mov r8, qword [0x140112480]
cmp rbp, r8
jbe 0x14005ab94
cmp rbp, qword [rbx + 0x18]
jbe 0x14005ab94
lea rdx, str.Memory_limit_reached__see_MaxMem_in_the_help_file_.
jmp 0x14005ad9a
cmp rax, 2
jae 0x14005abb3
test dl, dl
mov rcx, rbx
setne sil
xor r8d, r8d
lea edx, [rsi + 3]
call fcn.1400b0ef0
jmp 0x14005adcb
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x14005abd0
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r8, qword [0x140112480]
mov r9, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp rbp, r9
jbe 0x14005ad45
movzx r10d, byte [rbx + 0x20]
movzx eax, r10b
cmp r10b, 1
jbe 0x14005ac09
cmp al, 2
je 0x14005ac46
mov rdi, qword [rsp + 0x128]
mov rax, qword [rsp + 0x128]
jmp 0x14005ad39
mov edi, 0x80
cmp rbp, rdi
ja 0x14005ac46
cmp rbp, 8
ja 0x14005ac20
mov edi, 8
jmp 0x14005ac2c
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmp rbp, rax
cmovbe rdi, rax
mov rcx, rdi
call fcn.1400a99c0
test rax, rax
je 0x14005adb4
mov byte [rbx + 0x20], 1
jmp 0x14005ad39
cmp rbp, 0x20
jae 0x14005ac56
mov edi, SafeArrayAllocDescriptor
jmp 0x14005ad00
mov edi, 0x208
cmp rbp, rdi
jb 0x14005ad00
cmp rbp, 0x50000
jae 0x14005acbc
pxor xmm0, xmm0
cvtsi2sd xmm0, rbp
test rbp, rbp
jns 0x14005ac83
addsd xmm0, qword [0x140100df8]
mulsd xmm0, qword [0x140100e30]
movsd xmm1, qword [0x140100e28]
xor ecx, ecx
comisd xmm0, xmm1
jbe 0x14005acb2
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x14005acb2
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rdi, xmm0
add rdi, rcx
jmp 0x14005ad00
cmp rbp, 0x320000
jae 0x14005acce
lea rdi, [rbp + 0x8000]
jmp 0x14005ad00
cmp rbp, 0xc80000
jae 0x14005acf9
movabs rax, 0x47ae147ae147ae15
mov rdi, rbp
mul rbp
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rbp
jmp 0x14005ad00
lea rdi, [rbp + 0x20000]
cmp rdi, r8
cmova rdi, r8
cmp r10b, 2
jne 0x14005ad20
test r9, r9
je 0x14005ad20
mov rcx, qword [rbx + 8]
mov bpl, 1
call fcn.1400ca7a0
jmp 0x14005ad23
xor bpl, bpl
test rdi, rdi
js 0x14005ad72
mov rcx, rdi
call fcn.1400c9d04
test rax, rax
je 0x14005ad72
mov byte [rbx + 0x20], 2
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rdi
test r12b, r12b
je 0x14005adbb
mov rcx, qword [rbx + 8]
lea r12, [0x1400e246c]
cmp rcx, r12
je 0x14005ad67
lea r8, [r13 + r13]
mov rdx, r12
call fcn.1400ca960
mov rax, qword [rbx + 8]
mov word [rax + r13*2], si
jmp 0x14005adc2
test bpl, bpl
je 0x14005ad88
lea rax, [0x140119128]
mov qword [rbx + 0x18], rsi
mov qword [rbx + 8], rax
jmp 0x14005ad8f
mov rax, qword [rbx + 8]
mov word [rax], si
mov qword [rbx + 0x10], rsi
lea rdx, str.Out_of_memory.
lea r8, [0x1400e246c]
lea rcx, [0x140119170]
call fcn.140040620
mov esi, eax
cmp esi, 1
je 0x14005adcb
xor eax, eax
jmp 0x14005b0d9
mov rax, qword [rbx + 8]
mov word [rax], si
lea rax, [r13 + r13]
mov qword [rbx + 0x10], rax
mov esi, 1
xor r8d, r8d
mov rcx, rbx
mov edx, esi
call fcn.140001820
mov rcx, qword [rsp + 0x120]
mov r9, r14
mov rdx, rax
mov r8d, esi
mov rdi, rax
call fcn.14008a190
mov rdx, rax
test rax, rax
je 0x14005adb4
mov rax, qword [0x1401124a8]
sub rdx, rdi
sar rdx, 1
dec rdx
cmp byte [rax + 0x134], 0
je 0x14005ae2d
mov rcx, rdi
call fcn.14001be20
mov rcx, rdi
mov rdx, rax
call fcn.14001bea0
mov rdx, rax
mov rcx, rbx
call fcn.14001c4b0
cmp byte [rbx + 0x23], 0
jne 0x14005ae3f
mov rbx, qword [rbx + 0x10]
cmp byte [rbx + 0x23], 2
jne 0x14005aae5
cmp qword [0x140119de0], 0
je 0x14005aae5
lea rcx, [0x140119dc8]
call fcn.140006280
mov esi, eax
jmp 0x14005b0d7
movzx eax, byte [rbx + 0x23]
test al, al
jne 0x14005ae95
mov rcx, qword [rbx + 0x10]
lea rdx, [0x1400e246c]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400b0840
mov esi, eax
jmp 0x14005b0d7
lea r12, [0x1400e246c]
cmp qword [rbx + 8], r12
jne 0x14005aeab
mov r13, qword [rbx + 0x10]
shr r13, 1
jmp 0x14005aeae
mov r13, rsi
lea rcx, [r13 + 1]
lea rbp, [rcx + rcx]
cmp al, 2
jne 0x14005aecc
mov rdx, r13
mov rcx, r12
call fcn.140006100
mov esi, eax
jmp 0x14005b0d7
mov r8, qword [0x140112480]
cmp rbp, r8
jbe 0x14005aefb
cmp rbp, qword [rbx + 0x18]
jbe 0x14005aefb
lea rdx, str.Memory_limit_reached__see_MaxMem_in_the_help_file_.
lea rcx, [0x140119170]
mov r8, r12
call fcn.140040620
mov esi, eax
jmp 0x14005b0d7
cmp rcx, 2
jae 0x14005af15
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 4]
call fcn.1400b0ef0
jmp 0x14005b0d2
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x14005af32
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r8, qword [0x140112480]
mov r9, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp rbp, r9
jbe 0x14005b0ab
movzx r10d, byte [rbx + 0x20]
movzx eax, r10b
cmp r10b, 1
jbe 0x14005af6b
cmp al, 2
je 0x14005afa8
mov rdi, qword [rsp + 0x128]
mov rax, qword [rsp + 0x128]
jmp 0x14005b09f
mov edi, 0x80
cmp rbp, rdi
ja 0x14005afa8
cmp rbp, 8
ja 0x14005af82
mov edi, 8
jmp 0x14005af8e
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmp rbp, rax
cmovbe rdi, rax
mov rcx, rdi
call fcn.1400a99c0
test rax, rax
je 0x14005b0d7
mov byte [rbx + 0x20], 1
jmp 0x14005b09f
cmp rbp, 0x20
jae 0x14005afb8
mov edi, SafeArrayAllocDescriptor
jmp 0x14005b062
mov edi, 0x208
cmp rbp, rdi
jb 0x14005b062
cmp rbp, 0x50000
jae 0x14005b01e
pxor xmm0, xmm0
cvtsi2sd xmm0, rbp
test rbp, rbp
jns 0x14005afe5
addsd xmm0, qword [0x140100df8]
mulsd xmm0, qword [0x140100e30]
movsd xmm1, qword [0x140100e28]
xor ecx, ecx
comisd xmm0, xmm1
jbe 0x14005b014
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x14005b014
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rdi, xmm0
add rdi, rcx
jmp 0x14005b062
cmp rbp, 0x320000
jae 0x14005b030
lea rdi, [rbp + 0x8000]
jmp 0x14005b062
cmp rbp, 0xc80000
jae 0x14005b05b
movabs rax, 0x47ae147ae147ae15
mov rdi, rbp
mul rbp
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rbp
jmp 0x14005b062
lea rdi, [rbp + 0x20000]
cmp rdi, r8
cmova rdi, r8
cmp r10b, 2
jne 0x14005b082
test r9, r9
je 0x14005b082
mov rcx, qword [rbx + 8]
mov bpl, 1
call fcn.1400ca7a0
jmp 0x14005b085
xor bpl, bpl
test rdi, rdi
js 0x14005b113
mov rcx, rdi
call fcn.1400c9d04
test rax, rax
je 0x14005b113
mov byte [rbx + 0x20], 2
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rdi
mov rcx, qword [rbx + 8]
cmp rcx, r12
je 0x14005b0c1
lea r8, [r13 + r13]
mov rdx, r12
call fcn.1400ca960
mov rax, qword [rbx + 8]
lea rcx, [r13 + r13]
mov word [rcx + rax], si
mov qword [rbx + 0x10], rcx
mov esi, 1
mov eax, esi
mov r13, qword [rsp + 0xe8]
mov r15, qword [rsp + 0xd8]
mov r12, qword [rsp + 0xf0]
mov rdi, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0x100]
mov r14, qword [rsp + 0xe0]
add rsp, 0x108
pop rbp
pop rbx
ret
test bpl, bpl
je 0x14005b129
lea rax, [0x140119128]
mov qword [rbx + 0x18], rsi
mov qword [rbx + 8], rax
jmp 0x14005b130
mov rax, qword [rbx + 8]
mov word [rax], si
lea rdx, str.Out_of_memory.
lea rcx, [0x140119170]
mov r8, r12
mov qword [rbx + 0x10], rsi
call fcn.140040620
mov esi, eax
jmp 0x14005b0d7