Function at 0x140063d30
Capabilities:
Check if file exists
Get file attributes
Set current directory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x21930
call fcn.1400d1fb0
sub rsp, rax
lea rbp, [rsp + 0x50]
cmp dword [0x14011791c], 4
mov r15, qword [0x1401175c0]
mov qword [rbp + 0x21930], rbx
movaps xmmword [rbp + 0x218d0], xmm6
mov qword [rbp + 8], r15
mov r13, r9
mov rbx, r8
mov r12, rdx
mov r14, rcx
jl 0x140063da0
lea r9, [0x1400e246c]
lea rdx, str.The_maximum_number_of_File_Dialogs_has_been_reached.
xor r8d, r8d
call fcn.1400402d0
jmp 0x140064d20
xor esi, esi
mov word [rbp + 0x18d0], si
mov qword [rbp + 0x18], rsi
lea edx, [rsi + 0x5c]
test rbx, rbx
je 0x140063ec7
cmp word [r8], si
je 0x140063ec7
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea rdi, [rcx - 1]
mov rcx, rbx
call fcn.1400cbe2c
mov rsi, rax
test rax, rax
je 0x140063ded
cmp word [rax + 2], 0
je 0x140063e6a
lea rdx, [0x1400ed7c0]
mov r8d, 3
mov rcx, rbx
call fcn.1400cbe00
test eax, eax
jne 0x140063e1a
cmp rdi, 0x28
jne 0x140063e2c
cmp word [rbx + 0x4e], 0x7d
jne 0x140063e2c
test rsi, rsi
je 0x140063e6a
jmp 0x140063e2c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140063e2c
test al, 0x10
jne 0x140063e6a
mov r8d, 0xfffe
lea rcx, [rbp + 0x18d0]
test rsi, rsi
jne 0x140063e4f
mov rdx, rbx
call fcn.1400cce74
mov word [rbp + 0x218cc], si
jmp 0x140063ec7
lea rdx, [rsi + 2]
call fcn.1400cce74
xor eax, eax
mov rdi, rsi
sub rdi, rbx
mov word [rbp + 0x218cc], ax
sar rdi, 1
lea rsi, [rdi + rdi]
mov qword [rbp + 0x18], rbx
cmp word [rsi + rbx], 0
je 0x140063ec5
cmp rdi, 0x8000
jae 0x140063ef2
lea rax, [rsi + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140063e99
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400d1fb0
sub rsp, rcx
mov r8, rsi
lea rdi, [rsp + 0x50]
mov rdx, rbx
mov rcx, rdi
call fcn.1400ca960
xor eax, eax
mov qword [rbp + 0x18], rdi
mov word [rsi + rdi], ax
xor esi, esi
test r13, r13
je 0x140063efa
cmp word [r13], 0
je 0x140063efa
lea rcx, [rbp + 0x10d0]
mov r8d, 0x3ff
mov rdx, r13
call fcn.1400cce74
mov word [rbp + 0x18ce], si
jmp 0x140063f19
xor esi, esi
mov qword [rbp + 0x18], rsi
jmp 0x140063ec7
mov r9, qword [0x140119d00]
lea r8, str.Select_File____s
lea rcx, [rbp + 0x10d0]
mov edx, 0x400
call fcn.1400ac7c0
mov rdi, qword [rbp + 0x21940]
mov word [rbp + 0x8d0], si
mov word [rbp + 0xd0], si
cmp word [rdi], 0
je 0x140063f90
mov edx, 0x28
mov rcx, rdi
call fcn.1400cac94
mov r8d, 0x3ff
lea rcx, [rbp + 0xd0]
test rax, rax
je 0x140063fd9
lea rdx, [rax + 2]
call fcn.1400cce74
lea rcx, [rbp + 0xd0]
mov edx, 0x29
mov word [rbp + 0x8ce], si
call fcn.1400cbe2c
test rax, rax
je 0x140063f82
mov word [rax], si
jmp 0x140063fe8
mov word [rbp + 0xd0], si
mov word [rbp + 0x8d0], si
lea rcx, [rbp + 0x38]
xor edx, edx
mov r8d, SysStringByteLen
call fcn.1400d0540
mov rcx, qword [0x1401124a8]
mov dword [rbp + 0x30], 0x98
add rcx, 0x68
call fcn.14008b690
test rax, rax
je 0x140064209
mov rax, qword [0x1401124a8]
mov rcx, qword [rax + 0x68]
mov rax, qword [rcx + 8]
mov qword [rbp + 0x38], rax
jmp 0x14006420d
mov rdx, rdi
call fcn.1400cce74
mov word [rbp + 0x8ce], si
cmp word [rbp + 0xd0], 0
je 0x140063f89
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0xd0]
repne scasw ax, word [rdi]
or ebx, 0xffffffff
mov r15d, eax
not rcx
mov qword [rbp + 0x20], rax
dec rcx
mov r14, rcx
cmp rcx, 0x1388
jb 0x1400641ab
mov edi, eax
lea r12, [rbp + 0xd0]
nop dword [rax + rax]
lea rdx, [0x1400eac64]
mov rcx, r12
call fcn.1400cacb4
mov r13, rax
test rax, rax
je 0x1400640d7
inc edi
dec ebx
mov dword [rbp + 0x10], edi
mov rdi, rax
sub rdi, r12
sar rdi, 1
lea rcx, [rdi + r15]
mov qword [rbp + 0x28], rcx
cmp rcx, qword [rbp + 0x20]
jb 0x1400640af
lea rdx, [rbp + 0xd0]
movsxd rcx, ecx
movsxd r9, r14d
sub rax, rdx
mov edx, dword [rbp + 0x10]
mov r8d, ebx
sar rax, 1
cdqe
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
or rcx, 0xffffffffffffffff
call fcn.1400ad4a0
mov rcx, rsi
lea rdx, [rax + rax]
mov qword [rbp + 0x20], rax
call fcn.1400cb204
test rax, rax
je 0x140064110
mov rsi, rax
test rdi, rdi
je 0x1400640c8
lea r8, [rdi + rdi]
lea rcx, [rsi + r15*2]
mov rdx, r12
call fcn.1400ca960
mov r15, qword [rbp + 0x28]
mov edi, dword [rbp + 0x10]
lea r12, [r13 + 2]
test ebx, ebx
jne 0x140064030
test edi, edi
je 0x14006411d
lea rcx, [rbp + 0xd0]
mov rax, r12
sub rax, rcx
sar rax, 1
sub r14, rax
je 0x14006418b
lea rdi, [r14 + r15]
cmp rdi, qword [rbp + 0x20]
jb 0x140064178
lea rdx, [rdi + rdi + 2]
mov rcx, rsi
call fcn.1400cb204
test rax, rax
jne 0x140064175
test rsi, rsi
je 0x14006411d
mov rcx, rsi
call fcn.1400ca7a0
mov r12, qword [rbp + 0x21928]
mov r9, qword [rbp + 0x21940]
xor esi, esi
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
lea r8, str._s_c_s_cAll_Files__.__c._c
lea rcx, [rbp + 0x8d0]
mov edx, 0x400
mov qword [rsp + 0x20], rsi
call fcn.1400ac7c0
mov r15, qword [rbp + 8]
mov r14, qword [rbp + 0x21920]
jmp 0x140063f90
mov rsi, rax
lea r8, [r14 + r14]
lea rcx, [rsi + r15*2]
mov rdx, r12
call fcn.1400ca960
mov r15, rdi
xor eax, eax
lea r8, [r15 + r15 + 2]
lea rcx, [rbp + 0xd0]
mov rdx, rsi
mov word [rsi + r15*2], ax
call fcn.1400ca960
jmp 0x140064115
lea rdi, [rbp + 0xd0]
nop word [rax + rax]
lea rdx, [0x1400eac64]
mov rcx, rdi
call fcn.1400cacb4
mov rdi, rax
test rax, rax
je 0x140064124
lea rcx, [rbp + 0xd0]
mov r8, r14
lea rdx, [rdi + 2]
sub rax, rcx
mov rcx, rdi
sar rax, 1
sub r8, rax
add r8, r8
call fcn.1400ca960
dec r14
dec ebx
jne 0x1400641c0
jmp 0x140064124
mov qword [rbp + 0x38], rsi
cmp word [rbp + 0x8d0], 0
movzx edi, word [r12]
lea rax, [rbp + 0x10d0]
mov qword [rbp + 0x88], rax
lea rcx, str.All_Files__._
lea rax, [rbp + 0x8d0]
cmove rax, rcx
xor r13b, r13b
xor sil, sil
mov qword [rbp + 0x48], rax
lea rax, [rbp + 0x18d0]
mov dword [rbp + 0x68], 0xfffe
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x18]
mov byte [rbp], r13b
mov qword [rbp + 0x80], rax
test edi, 0xffffff80
jne 0x140064280
mov edx, 2
mov ecx, edi
call fcn.1400cb1c8
test eax, eax
je 0x140064280
and edi, 0xffffffdf
movzx eax, di
cmp eax, 0x4d
je 0x140064292
cmp eax, 0x53
jne 0x14006429d
mov sil, 1
jmp 0x140064299
mov r13b, 1
mov byte [rbp], r13b
add r12, 2
mov rcx, r12
call fcn.140014930
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
test al, al
je 0x1400642bd
mov r8d, ecx
xor edx, edx
mov rcx, r12
call fcn.1400cb750
jmp 0x1400642c5
mov rcx, r12
call fcn.1400cb1ec
mov edx, eax
mov ecx, 0x180004
mov eax, 0x80004
test dl, 0x20
cmovne eax, ecx
mov dword [rbp + 0x90], eax
test dl, 0x10
je 0x1400642eb
or eax, 2
mov dword [rbp + 0x90], eax
test dl, 8
je 0x1400642fa
bts eax, 0xd
mov dword [rbp + 0x90], eax
test r13b, r13b
jne 0x140064304
test dl, 4
je 0x14006430e
bts eax, 9
mov dword [rbp + 0x90], eax
test dl, 2
je 0x14006431d
bts eax, 0xb
mov dword [rbp + 0x90], eax
test dl, 1
je 0x14006432c
bts eax, 0xc
mov dword [rbp + 0x90], eax
call fcn.1400b42e0
mov rcx, qword [0x140117730]
xor r9d, r9d
lea edx, [r9 + 0x44]
mov r8d, 0x403
movzx ebx, al
call qword [sym.imp.USER32.dll_PostMessageW]
inc dword [0x14011791c]
test sil, sil
jne 0x140064376
mov ecx, dword [rbp + 0x90]
test cl, 2
je 0x14006436a
bt ecx, 0xd
jae 0x140064376
lea rcx, [rbp + 0x30]
call qword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
jmp 0x140064380
lea rcx, [rbp + 0x30]
call qword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
dec dword [0x14011791c]
mov rcx, qword [0x1401124a8]
test bl, bl
mov edi, eax
sete al
mov byte [rcx + 0x12e], bl
mov byte [rcx + 0x12c], al
mov rdx, qword [0x140113e50]
test rdx, rdx
je 0x1400643d3
mov rdx, qword [rdx]
lea rcx, [0x1400e246c]
test rdx, rdx
mov rax, rcx
cmovne rax, rdx
cmp word [rax], 0
je 0x1400643d3
test rdx, rdx
cmovne rcx, rdx
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test edi, edi
jne 0x1400646a1
mov rcx, r15
call fcn.14001c010
cmp eax, 1
je 0x1400643ef
xor eax, eax
jmp 0x140064d20
call qword [sym.imp.COMDLG32.dll_CommDlgExtendedError]
test eax, eax
je 0x14006440b
mov dl, 1
mov rcx, r14
call fcn.14003f080
mov r14d, eax
jmp 0x140064d1d
mov rdi, qword [0x1401182a0]
movzx eax, byte [rdi + 0x23]
test al, al
jne 0x14006443e
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400e51bc]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400b0840
mov r14d, eax
jmp 0x140064d1d
lea r13, [0x1400e51bc]
mov r14d, 1
cmp qword [rdi + 8], r13
jne 0x14006445a
mov r12, qword [rdi + 0x10]
shr r12, 1
jmp 0x14006445d
mov r12, r14
lea rdx, [r12 + 1]
lea rsi, [rdx + rdx]
cmp al, 2
jne 0x14006447d
mov rdx, r12
mov rcx, r13
call fcn.140006100
mov r14d, eax
jmp 0x140064d1d
mov rcx, qword [0x140112480]
cmp rsi, rcx
jbe 0x140064493
cmp rsi, qword [rdi + 0x18]
ja 0x140064b21
cmp rdx, 2
jae 0x1400644ad
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 4]
call fcn.1400b0ef0
jmp 0x140064d1d
movzx eax, byte [rdi + 0x21]
test al, 2
je 0x1400644ca
mov rcx, qword [rdi]
and al, 0x3d
mov byte [rdi + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [0x140112480]
mov r8, qword [rdi + 0x18]
and byte [rdi + 0x21], 0x82
cmp rsi, r8
jbe 0x140064640
movzx r9d, byte [rdi + 0x20]
movzx eax, r9b
cmp r9b, r14b
jbe 0x1400644fa
cmp al, 2
je 0x14006453b
mov rbx, qword [rbp + 8]
mov rax, qword [rbp + 8]
jmp 0x140064634
cmp rsi, 0x80
ja 0x14006453b
cmp rsi, 8
ja 0x140064510
mov ebx, 8
jmp 0x140064521
mov ebx, pe_nt_image_headers64
cmp rsi, 0x10
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmovbe ebx, eax
mov rcx, rbx
call fcn.1400a99c0
test rax, rax
je 0x140064bd2
mov byte [rdi + 0x20], r14b
jmp 0x140064634
cmp rsi, 0x20
jae 0x14006454b
mov ebx, SafeArrayAllocDescriptor
jmp 0x1400645fa
cmp rsi, 0x208
jae 0x14006455e
mov ebx, 0x208
jmp 0x1400645fa
cmp rsi, 0x50000
jae 0x1400645b6
pxor xmm0, xmm0
cvtsi2sd xmm0, rsi
test rsi, rsi
jns 0x14006457d
addsd xmm0, qword [0x140100df8]
mulsd xmm0, qword [0x140100e30]
movsd xmm1, qword [0x140100e28]
xor eax, eax
comisd xmm0, xmm1
jbe 0x1400645ac
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x1400645ac
movabs rdx, 0x8000000000000000
mov rax, rdx
cvttsd2si rbx, xmm0
add rbx, rax
jmp 0x1400645fa
cmp rsi, 0x320000
jae 0x1400645c8
lea rbx, [rsi + 0x8000]
jmp 0x1400645fa
cmp rsi, 0xc80000
jae 0x1400645f3
movabs rax, 0x47ae147ae147ae15
mov rbx, rsi
mul rsi
sub rbx, rdx
shr rbx, 1
add rbx, rdx
shr rbx, 6
add rbx, rsi
jmp 0x1400645fa
lea rbx, [rsi + 0x20000]
cmp rbx, rcx
cmova rbx, rcx
cmp r9b, 2
jne 0x14006461b
test r8, r8
je 0x14006461b
mov rcx, qword [rdi + 8]
movzx esi, r14b
call fcn.1400ca7a0
jmp 0x14006461e
xor sil, sil
test rbx, rbx
js 0x14006466c
mov rcx, rbx
call fcn.1400c9d04
test rax, rax
je 0x14006466c
mov byte [rdi + 0x20], 2
and byte [rdi + 0x21], 0x7f
mov qword [rdi + 8], rax
mov qword [rdi + 0x18], rbx
mov rcx, qword [rdi + 8]
cmp rcx, r13
je 0x140064655
lea r8, [r12 + r12]
mov rdx, r13
call fcn.1400ca960
mov rax, qword [rdi + 8]
lea rcx, [r12 + r12]
xor edx, edx
mov word [rcx + rax], dx
mov qword [rdi + 0x10], rcx
jmp 0x140064d1d
test sil, sil
je 0x14006468d
xor eax, eax
mov qword [rdi + 0x18], rax
lea rax, [0x140119128]
mov qword [rdi + 8], rax
xor eax, eax
mov qword [rdi + 0x10], rax
jmp 0x140064d61
mov rax, qword [rdi + 8]
xor ecx, ecx
mov word [rax], cx
xor eax, eax
mov qword [rdi + 0x10], rax
jmp 0x140064d61
mov rdi, qword [0x1401182a0]
movsd xmm6, qword [0x140100e28]
mov ebx, 8
movzx eax, byte [rdi + 0x23]
movabs rdx, 0x8000000000000000
movabs r9, 0x47ae147ae147ae15
lea r14d, [rbx - 7]
lea r12, [0x140119128]
test al, al
jne 0x1400646fd
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400e250c]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], r14b
call fcn.1400b0840
jmp 0x14006494b
lea rsi, [0x1400e250c]
cmp qword [rdi + 8], rsi
jne 0x140064713
mov r13, qword [rdi + 0x10]
shr r13, 1
jmp 0x140064716
mov r13, r14
lea rcx, [r13 + 1]
lea r12, [rcx + rcx]
cmp al, 2
jne 0x140064732
mov rdx, r13
mov rcx, rsi
call fcn.140006100
jmp 0x14006493f
cmp r12, qword [0x140112480]
jbe 0x140064760
cmp r12, qword [rdi + 0x18]
jbe 0x140064760
lea r8, [0x1400e246c]
lea rdx, str.Memory_limit_reached__see_MaxMem_in_the_help_file_.
lea rcx, [0x140119170]
call fcn.140040620
jmp 0x14006493f
cmp rcx, 2
jae 0x14006477a
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 4]
call fcn.1400b0ef0
jmp 0x14006493f
movzx eax, byte [rdi + 0x21]
test al, 2
je 0x1400647a4
mov rcx, qword [rdi]
and al, 0x3d
mov byte [rdi + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
movabs rdx, 0x8000000000000000
movabs r9, 0x47ae147ae147ae15
mov rcx, qword [rdi + 0x18]
and byte [rdi + 0x21], 0x82
cmp r12, rcx
jbe 0x140064916
movzx r8d, byte [rdi + 0x20]
movzx eax, r8b
cmp r8b, r14b
jbe 0x1400647d4
cmp al, 2
je 0x140064812
mov rsi, qword [rbp + 8]
mov rax, qword [rbp + 8]
jmp 0x140064903
cmp r12, 0x80
ja 0x140064812
cmp r12, rbx
ja 0x1400647e7
mov rsi, rbx
jmp 0x1400647f8
mov esi, pe_nt_image_headers64
cmp r12, 0x10
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmovbe esi, eax
mov rcx, rsi
call fcn.1400a99c0
test rax, rax
je 0x14006493f
mov byte [rdi + 0x20], r14b
jmp 0x140064903
cmp r12, 0x20
jae 0x140064822
mov esi, SafeArrayAllocDescriptor
jmp 0x1400648ba
cmp r12, 0x208
jae 0x140064835
mov esi, 0x208
jmp 0x1400648ba
cmp r12, 0x50000
jae 0x14006487b
pxor xmm0, xmm0
cvtsi2sd xmm0, r12
test r12, r12
jns 0x140064854
addsd xmm0, qword [0x140100df8]
mulsd xmm0, qword [0x140100e30]
xor eax, eax
comisd xmm0, xmm6
jbe 0x140064871
subsd xmm0, xmm6
comisd xmm0, xmm6
jae 0x140064871
mov rax, rdx
cvttsd2si rsi, xmm0
add rsi, rax
jmp 0x1400648ba
cmp r12, 0x320000
jae 0x14006488e
lea rsi, [r12 + 0x8000]
jmp 0x1400648ba
cmp r12, 0xc80000
jae 0x1400648b2
mov rax, r9
mov rsi, r12
mul r12
sub rsi, rdx
shr rsi, 1
add rsi, rdx
shr rsi, 6
add rsi, r12
jmp 0x1400648ba
lea rsi, [r12 + 0x20000]
mov rax, qword [0x140112480]
cmp rsi, rax
cmova rsi, rax
cmp r8b, 2
jne 0x1400648e2
test rcx, rcx
je 0x1400648e2
mov rcx, qword [rdi + 8]
movzx r12d, r14b
call fcn.1400ca7a0
jmp 0x1400648e5
xor r12b, r12b
test rsi, rsi
js 0x1400649fc
mov rcx, rsi
call fcn.1400c9d04
test rax, rax
je 0x1400649fc
mov byte [rdi + 0x20], 2
and byte [rdi + 0x21], 0x7f
mov qword [rdi + 0x18], rsi
mov qword [rdi + 8], rax
lea rsi, [0x1400e250c]
mov rcx, qword [rdi + 8]
cmp rcx, rsi
je 0x14006492c
lea r8, [r13 + r13]
mov rdx, rsi
call fcn.1400ca960
mov rax, qword [rdi + 8]
lea rcx, [r13 + r13]
xor edx, edx
mov word [rcx + rax], dx
mov qword [rdi + 0x10], rcx
lea r12, [0x140119128]
movzx r13d, byte [rbp]
test dword [rbp + 0x90], 0x200
je 0x140064a94
test r13b, r13b
je 0x140064a6c
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rbp + 0x18d0]
repne scasw ax, word [rdi]
not rcx
cmp word [rbp + rcx*2 + 0x18d0], ax
jne 0x140064a42
mov r13d, 0x5c
lea rcx, [rbp + 0x18d0]
mov edx, r13d
call fcn.1400cbe2c
mov rsi, rax
test rax, rax
je 0x140064a94
mov ecx, 0xa
mov word [rax], cx
lea rax, [rbp + 0x18d0]
mov rcx, rsi
sub rcx, rax
and rcx, 0xfffffffffffffffe
cmp rcx, 4
jne 0x140064a94
cmp word [rsi - 2], 0x3a
jne 0x140064a94
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
mov rdx, rsi
not rcx
lea r8, [rcx + rcx]
lea rcx, [rsi + 2]
call fcn.1400ca960
mov word [rsi], r13w
jmp 0x140064a94
test r12b, r12b
lea r12, [0x140119128]
je 0x140064a14
xor eax, eax
mov qword [rdi + 8], r12
mov qword [rdi + 0x18], rax
jmp 0x140064a1f
mov rax, qword [rdi + 8]
xor ecx, ecx
mov word [rax], cx
xor eax, eax
lea r8, [0x1400e246c]
lea rdx, str.Out_of_memory.
lea rcx, [0x140119170]
mov qword [rdi + 0x10], rax
call fcn.140040620
jmp 0x140064946
lea rax, [rbp + 0x18d0]
mov ecx, 0xa
nop
cmp word [rax], 0
je 0x140064a60
add rax, 2
cmp word [rax], 0
jne 0x140064a56
cmp word [rax + 2], 0
je 0x140064a94
mov word [rax], cx
jmp 0x140064a50
lea rax, [rbp + 0x18d0]
mov ecx, 0xa
cmp word [rax], 0
je 0x140064a8a
nop
add rax, 2
cmp word [rax], 0
jne 0x140064a80
cmp word [rax + 2], 0
mov word [rax], cx
jne 0x140064a78
movzx edx, byte [r15 + 0x23]
test dl, dl
jne 0x140064ac1
mov rcx, qword [r15 + 0x10]
lea rdx, [rbp + 0x18d0]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], r14b
call fcn.1400b0840
mov r14d, eax
jmp 0x140064d1d
lea rax, [rbp + 0x18d0]
cmp qword [r15 + 8], rax
jne 0x140064ad7
mov rsi, qword [r15 + 0x10]
shr rsi, 1
jmp 0x140064aee
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x18d0]
xor eax, eax
repne scasw ax, word [rdi]
not rcx
lea rsi, [rcx - 1]
lea rax, [rsi + 1]
lea rdi, [rax + rax]
cmp dl, 2
jne 0x140064b12
lea rcx, [rbp + 0x18d0]
mov rdx, rsi
call fcn.140006100
mov r14d, eax
jmp 0x140064d1d
cmp rdi, qword [0x140112480]
jbe 0x140064b43
cmp rdi, qword [r15 + 0x18]
jbe 0x140064b43
lea r8, [0x1400e246c]
lea rdx, str.Memory_limit_reached__see_MaxMem_in_the_help_file_.
lea rcx, [0x140119170]
call fcn.140040620
mov r14d, eax
jmp 0x140064d1d
cmp rax, 2
jae 0x140064b5d
xor r8d, r8d
mov rcx, r15
lea edx, [r8 + 4]
call fcn.1400b0ef0
jmp 0x140064d1d
movzx eax, byte [r15 + 0x21]
test al, 2
je 0x140064b75
mov rcx, qword [r15]
and al, 0x3d
mov byte [r15 + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [r15 + 0x18]
and byte [r15 + 0x21], 0x82
cmp rdi, rcx
jbe 0x140064ceb
movzx r8d, byte [r15 + 0x20]
movzx eax, r8b
cmp r8b, r14b
jbe 0x140064ba6
cmp al, 2
je 0x140064be5
mov rbx, qword [rbp + 8]
mov rax, qword [rbp + 8]
jmp 0x140064cde
cmp rdi, 0x80
ja 0x140064be5
cmp rdi, rbx
jbe 0x140064bc5
mov ebx, pe_nt_image_headers64
cmp rdi, 0x10
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmovbe ebx, eax
mov rcx, rbx
call fcn.1400a99c0
test rax, rax
jne 0x140064bdc
xor eax, eax
mov r14d, eax
jmp 0x140064d1d
mov byte [r15 + 0x20], r14b
jmp 0x140064cde
cmp rdi, 0x20
jae 0x140064bf5
mov ebx, SafeArrayAllocDescriptor
jmp 0x140064c9c
cmp rdi, 0x208
jae 0x140064c08
mov ebx, 0x208
jmp 0x140064c9c
cmp rdi, 0x50000
jae 0x140064c58
pxor xmm0, xmm0
cvtsi2sd xmm0, rdi
test rdi, rdi
jns 0x140064c27
addsd xmm0, qword [0x140100df8]
mulsd xmm0, qword [0x140100e30]
xor eax, eax
comisd xmm0, xmm6
jbe 0x140064c4e
subsd xmm0, xmm6
comisd xmm0, xmm6
jae 0x140064c4e
movabs rdx, 0x8000000000000000
mov rax, rdx
cvttsd2si rbx, xmm0
add rbx, rax
jmp 0x140064c9c
cmp rdi, 0x320000
jae 0x140064c6a
lea rbx, [rdi + 0x8000]
jmp 0x140064c9c
cmp rdi, 0xc80000
jae 0x140064c95
movabs rax, 0x47ae147ae147ae15
mov rbx, rdi
mul rdi
sub rbx, rdx
shr rbx, 1
add rbx, rdx
shr rbx, 6
add rbx, rdi
jmp 0x140064c9c
lea rbx, [rdi + 0x20000]
mov rax, qword [0x140112480]
cmp rbx, rax
cmova rbx, rax
cmp r8b, 2
jne 0x140064cc4
test rcx, rcx
je 0x140064cc4
mov rcx, qword [r15 + 8]
movzx edi, r14b
call fcn.1400ca7a0
jmp 0x140064cc7
xor dil, dil
test rbx, rbx
js 0x140064d41
mov rcx, rbx
call fcn.1400c9d04
test rax, rax
je 0x140064d41
mov byte [r15 + 0x20], 2
and byte [r15 + 0x21], 0x7f
mov qword [r15 + 8], rax
mov qword [r15 + 0x18], rbx
mov rcx, qword [r15 + 8]
lea rax, [rbp + 0x18d0]
cmp rcx, rax
je 0x140064d0b
lea r8, [rsi + rsi]
lea rdx, [rbp + 0x18d0]
call fcn.1400ca960
mov rax, qword [r15 + 8]
lea rcx, [rsi + rsi]
xor edx, edx
mov word [rcx + rax], dx
mov qword [r15 + 0x10], rcx
mov eax, r14d
mov rbx, qword [rbp + 0x21930]
movaps xmm6, xmmword [rbp + 0x218d0]
lea rsp, [rbp + 0x218e0]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test dil, dil
je 0x140064d52
xor eax, eax
mov qword [r15 + 8], r12
mov qword [r15 + 0x18], rax
jmp 0x140064d5d
mov rax, qword [r15 + 8]
xor ecx, ecx
mov word [rax], cx
xor eax, eax
mov qword [r15 + 0x10], rax
lea r8, [0x1400e246c]
lea rdx, str.Out_of_memory.
lea rcx, [0x140119170]
call fcn.140040620
mov r14d, eax
jmp 0x140064d1d