Function at 0x140061fb0
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x78]
sub rsp, 0x178
mov rax, qword [0x14012a950]
xor esi, esi
cmp byte [rcx + 1], 1
mov ebx, esi
mov r15d, r9d
mov r14d, r8d
cmova rbx, qword [0x14012a958]
mov r13d, edx
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x18], rbx
test rax, rax
je 0x140062002
mov rcx, rax
call fcn.1400243d0
test rbx, rbx
je 0x14006200f
mov rcx, rbx
call fcn.1400243d0
mov rax, qword [0x1401255c8]
xor r12d, r12d
mov dword [rbp - 0x74], esi
movzx ebx, word [rax + 0x130]
mov qword [rbp - 0x50], r12
and ebx, 3
cmp ebx, 2
je 0x140062091
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
test rax, rax
je 0x140062091
mov rcx, rax
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x140062091
mov rcx, rdi
test ebx, ebx
jne 0x140062068
lea rdx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x140062091
add esi, dword [rbp - 0x28]
add r12d, dword [rbp - 0x24]
jmp 0x14006208a
xor eax, eax
lea rdx, [rsp + 0x78]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x7c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x140062091
add esi, dword [rsp + 0x78]
add r12d, dword [rsp + 0x7c]
mov qword [rbp - 0x50], r12
mov dword [rbp - 0x74], esi
mov rdi, qword [rbp + 0xe8]
xor ecx, ecx
add r14d, r12d
add r13d, esi
mov dword [rbp + 0xd0], r14d
mov r14d, dword [rbp + 0xe0]
lea edx, [rcx + 0x2e]
mov dword [rsp + 0x6c], ecx
mov dword [rbp + 0xc8], r13d
mov r13d, ecx
add r14d, r12d
mov r12d, ecx
add r15d, esi
mov esi, ecx
mov rcx, rdi
mov dword [rsp + 0x50], 0xffffffff
call fcn.1400d77bc
mov rbx, rax
test rax, rax
je 0x14006213a
add rbx, 2
lea rdx, [0x1400fe3b0]
mov rcx, rbx
call fcn.1400d6a7c
test eax, eax
je 0x14006211f
lea rdx, [0x1400fe3b8]
mov rcx, rbx
call fcn.1400d6a7c
test eax, eax
je 0x14006211f
lea rdx, [0x1400fe3c0]
mov rcx, rbx
call fcn.1400d6a7c
test eax, eax
jne 0x14006213a
mov ecx, gethostbyname
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, gethostbyname
mov esi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r12d, eax
mov rbx, rdi
nop dword [rax]
movzx ecx, word [rbx]
cmp cx, 0x20
je 0x14006214f
cmp cx, 9
jne 0x140062155
add rbx, 2
jmp 0x140062140
cmp word [rbx], 0x2a
movaps xmmword [rsp + 0x160], xmm6
jne 0x1400624c4
nop word [rax + rax]
movzx ecx, word [rbx + 2]
add rbx, 2
call fcn.1400d9924
movzx r11d, ax
cmp r11d, 0x48
je 0x1400623ba
cmp r11d, 0x57
je 0x140062343
lea rdx, str.Icon
mov r8d, 4
mov rcx, rbx
call fcn.1400d7250
test eax, eax
jne 0x14006222b
add rbx, 8
mov rax, rbx
movzx ecx, word [rax]
cmp cx, 0x20
je 0x1400621c4
cmp cx, 9
jne 0x1400621ca
add rax, 2
jmp 0x1400621b5
movzx ecx, word [rax]
test cx, cx
je 0x14006221b
cmp cx, 0x2d
je 0x1400621de
cmp cx, 0x2b
jne 0x1400621e2
add rax, 2
cmp word [rax], 0x30
jne 0x14006221b
movzx ecx, word [rax + 2]
cmp cx, 0x78
je 0x1400621f8
cmp cx, 0x58
jne 0x14006221b
movzx ecx, word [rax + 4]
call fcn.1400d6b84
test eax, eax
je 0x14006221b
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 0x10]
call fcn.1400d91d0
mov r13d, eax
jmp 0x14006242d
mov rcx, rbx
call fcn.1400d6ef0
mov r13d, eax
jmp 0x14006242d
lea rdx, str.Trans
mov r8d, 5
mov rcx, rbx
call fcn.1400d7250
test eax, eax
jne 0x1400622f6
add rbx, 0xa
lea r8d, [rax + 0x1f]
lea rcx, [rbp + 0x20]
mov rdx, rbx
call fcn.1400da5b4
movzx edx, word [rbp + 0x20]
xor r9d, r9d
mov word [rbp + 0x5e], r9w
lea r8, [rbp + 0x20]
test dx, dx
je 0x1400622a6
lea rcx, [0x1400f5b90]
mov eax, SafeArrayAllocDescriptor
nop dword [rax]
cmp dx, ax
je 0x1400622a2
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x140062280
movzx edx, word [r8 + 2]
add r8, 2
test dx, dx
jne 0x140062271
jmp 0x1400622a6
mov word [r8], r9w
lea rcx, [rbp + 0x20]
call fcn.1400ba770
mov r11d, eax
cmp eax, 0xffffffff
jne 0x1400622cf
xor edx, edx
lea rcx, [rbp + 0x20]
lea r8d, [rdx + 0x10]
call fcn.1400d91d0
mov dword [rsp + 0x50], eax
jmp 0x14006242d
shr ax, 8
movzx edx, al
mov eax, r11d
shr eax, 0x10
shl edx, 8
movzx ecx, al
movzx eax, r11b
shl eax, 0x10
or edx, ecx
or edx, eax
mov dword [rsp + 0x50], edx
jmp 0x14006242d
mov rcx, rbx
call fcn.1400057c0
mov rcx, rbx
test al, al
je 0x140062312
xor edx, edx
lea r8d, [rdx + 0x10]
call fcn.1400d91d0
jmp 0x140062317
call fcn.1400d6ef0
mov dword [rsp + 0x6c], eax
test eax, eax
jns 0x14006232a
xor eax, eax
mov dword [rsp + 0x6c], eax
jmp 0x14006242d
cmp eax, 0xff
jle 0x14006242d
mov eax, 0xff
mov dword [rsp + 0x6c], eax
jmp 0x14006242d
lea rax, [rbx + 2]
movzx ecx, word [rax]
cmp cx, 0x20
je 0x140062356
cmp cx, 9
jne 0x14006235c
add rax, 2
jmp 0x140062347
movzx ecx, word [rax]
test cx, cx
je 0x1400623ad
cmp cx, 0x2d
je 0x140062370
cmp cx, 0x2b
jne 0x140062374
add rax, 2
cmp word [rax], 0x30
jne 0x1400623ad
movzx edx, word [rax + 2]
cmp dx, 0x78
je 0x14006238a
cmp dx, 0x58
jne 0x1400623ad
movzx ecx, word [rax + 4]
call fcn.1400d6b84
test eax, eax
je 0x1400623ad
xor edx, edx
lea rcx, [rbx + 2]
lea r8d, [rdx + 0x10]
call fcn.1400d91d0
mov esi, eax
jmp 0x14006242d
lea rcx, [rbx + 2]
call fcn.1400d6ef0
mov esi, eax
jmp 0x14006242d
lea rax, [rbx + 2]
nop
movzx ecx, word [rax]
cmp cx, 0x20
je 0x1400623cf
cmp cx, 9
jne 0x1400623d5
add rax, 2
jmp 0x1400623c0
movzx ecx, word [rax]
test cx, cx
je 0x140062421
cmp cx, 0x2d
je 0x1400623e9
cmp cx, 0x2b
jne 0x1400623ed
add rax, 2
cmp word [rax], 0x30
jne 0x140062421
movzx edx, word [rax + 2]
cmp dx, 0x78
je 0x140062403
cmp dx, 0x58
jne 0x140062421
movzx ecx, word [rax + 4]
call fcn.1400d6b84
test eax, eax
je 0x140062421
xor edx, edx
lea rcx, [rbx + 2]
lea r8d, [rdx + 0x10]
call fcn.1400d91d0
jmp 0x14006242a
lea rcx, [rbx + 2]
call fcn.1400d6ef0
mov r12d, eax
test rbx, rbx
je 0x14006246f
movzx edx, word [rbx]
test dx, dx
je 0x14006246f
nop word [rax + rax]
lea rcx, [0x1400f5b90]
mov eax, SafeArrayAllocDescriptor
nop dword [rax]
cmp dx, ax
je 0x14006249e
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x140062450
movzx edx, word [rbx + 2]
add rbx, 2
test dx, dx
jne 0x140062440
mov rcx, qword [rbp + 0xc0]
lea rdx, [0x1400f5bf4]
call fcn.14004d440
movaps xmm6, xmmword [rsp + 0x160]
add rsp, 0x178
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rdi, [rbx + 2]
mov rbx, rdi
movzx eax, word [rbx]
cmp ax, 0x20
je 0x1400624b4
cmp ax, 9
jne 0x1400624ba
add rbx, 2
jmp 0x1400624a5
cmp word [rbx], 0x2a
je 0x140062170
lea rax, [rbp + 0xe8]
xor ebx, ebx
lea r9, [rbp + 0xd8]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rax
mov r8d, r12d
mov edx, esi
mov rcx, rdi
mov byte [rsp + 0x28], bl
mov dword [rsp + 0x20], r13d
call fcn.1400bac60
mov r12, rax
mov qword [rbp - 0x48], rax
test rax, rax
je 0x14006246f
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r13, rax
mov qword [rbp - 0x38], rax
test rax, rax
jne 0x140062546
cmp byte [rbp + 0xe8], bl
jne 0x14006246f
cmp dword [rbp + 0xd8], 1
mov rcx, r12
jne 0x14006253b
call qword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x14006246f
call qword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x14006246f
xor sil, sil
cmp dword [rbp + 0xd8], 1
mov qword [rbp - 0x70], rbx
mov byte [rbp + 0xe0], sil
mov qword [rbp - 0x60], rbx
mov qword [rsp + 0x58], rbx
mov rdi, rbx
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x30], rbx
jne 0x1400625fc
lea rdx, [rbp - 8]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x1400625e4
mov rbx, qword [rbp + 8]
mov rcx, r13
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
test rax, rax
jne 0x1400625a2
xor ebx, ebx
mov qword [rsp + 0x78], rbx
jmp 0x1400625d0
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0xd8]
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x7c]
mov rcx, rbx
mov dword [rsp + 0x20], 1
call fcn.1400607b0
xor ebx, ebx
mov rdi, rax
mov qword [rsp + 0x78], rax
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rbp + 8]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r12
call fcn.1400bb6f0
mov r12, rax
mov qword [rbp - 0x48], rax
test rax, rax
je 0x14006246f
mov rcx, r13
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r13d, 8
movsd xmm6, qword [0x140112048]
test rax, rax
jne 0x140062626
mov r12, rbx
mov ebx, dword [rbp + 0xc8]
jmp 0x140062e22
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0xd8]
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x7c]
mov rcx, r12
mov dword [rsp + 0x20], r13d
call fcn.1400607b0
mov rbx, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140062df5
mov r12, qword [rbp - 0x38]
sub r14d, dword [rbp + 0xd0]
sub r15d, dword [rbp + 0xc8]
mov rcx, r12
inc r14d
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rbp - 0x70], rax
test rax, rax
je 0x140062df5
lea edx, [r15 + 1]
mov r8d, r14d
mov rcx, r12
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rbp - 0x60], rax
test rax, rax
je 0x140062df5
mov rcx, qword [rbp - 0x70]
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rbp - 0x30], rax
test rax, rax
je 0x140062df5
mov eax, dword [rbp + 0xd0]
mov dword [rsp + 0x40], 0xcc0020
lea r9d, [r15 + 1]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0xc8]
xor r8d, r8d
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r12
mov r12, qword [rbp - 0x70]
xor edx, edx
mov rcx, r12
mov dword [rsp + 0x20], r14d
call qword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x140062df5
mov rcx, r12
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
test rax, rax
jne 0x14006271f
mov ebx, dword [rbp + 0xc8]
mov r12, qword [rsp + 0x60]
mov rdi, rax
jmp 0x140062e27
mov rcx, qword [rbp - 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x68]
mov dword [rsp + 0x20], r13d
call fcn.1400607b0
mov r8, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140062df5
mov r14d, dword [rbp - 0x7c]
mov r11d, dword [rbp - 0x80]
mov r10d, dword [rsp + 0x68]
mov esi, dword [rbp - 0x78]
mov ecx, r14d
mov edx, r10d
imul ecx, r11d
movsxd r15, ecx
imul edx, esi
cmp byte [rbp + 0xd8], 0
mov qword [rbp - 0x68], r15
mov dword [rbp - 0x58], edx
movsxd r12, edx
jne 0x14006278b
cmp byte [rsp + 0x70], 0
je 0x1400627df
mov eax, dword [rsp + 0x50]
cmp eax, 0xffffffff
je 0x14006279d
and eax, 0xf8f8f8
mov dword [rsp + 0x50], eax
xor ecx, ecx
mov eax, ecx
test edx, edx
jle 0x1400627c0
nop word [rax + rax]
and dword [r8 + rax*4], 0xf8f8f8
inc rax
cmp rax, r12
jl 0x1400627b0
mov rax, rcx
test r15, r15
jle 0x1400627fc
nop dword [rax + rax]
and dword [rbx + rax*4], 0xf8f8f8
inc rax
cmp rax, r15
jl 0x1400627d0
test r15, r15
jle 0x1400627fc
lea rax, [rbx + 3]
mov rcx, r15
nop dword [rax + rax]
mov byte [rax], 0
add rax, 4
dec rcx
jne 0x1400627f0
mov r9d, dword [rsp + 0x6c]
cmp r9d, 1
jge 0x14006295b
test edx, edx
jle 0x14006282c
lea rax, [r8 + 3]
mov rcx, r12
nop word [rax + rax]
mov byte [rax], 0
add rax, 4
dec rcx
jne 0x140062820
xor eax, eax
mov ebx, eax
mov dword [rbp + 0xd8], eax
mov edi, eax
test edx, edx
jle 0x140062b15
mov rax, qword [rsp + 0x60]
mov r9d, dword [rsp + 0x50]
mov esi, dword [rax]
nop dword [rax]
cmp dword [r8 + rdi*4], esi
mov r8, qword [rsp + 0x78]
je 0x14006286f
test r8, r8
je 0x140062866
cmp dword [r8], 0
jne 0x14006286f
cmp esi, r9d
jne 0x14006293d
mov ecx, dword [rbp - 0x78]
mov eax, ebx
cdq
idiv r10d
sub ecx, eax
cmp r11d, ecx
jg 0x14006293d
mov eax, r10d
sub eax, edx
cmp r14d, eax
jg 0x14006293d
xor eax, eax
mov edx, ebx
mov r9d, eax
mov r11d, eax
test r15, r15
jle 0x140062e1a
mov r10d, ebx
mov rbx, qword [rsp + 0x60]
mov byte [rbp + 0xe0], 1
sub rbx, qword [rsp + 0x78]
nop dword [rax + rax]
mov r15, qword [rsp + 0x58]
mov ecx, dword [rbx + r8]
movsxd rax, edx
cmp dword [r15 + rax*4], ecx
mov r15, qword [rbp - 0x68]
je 0x1400628ea
cmp qword [rsp + 0x78], 0
je 0x1400628e4
cmp dword [r8], 0
jne 0x1400628ea
cmp ecx, dword [rsp + 0x50]
jne 0x140062921
inc r9d
cmp r9d, r14d
jge 0x1400628f6
inc edx
jmp 0x140062903
xor eax, eax
add r10d, dword [rsp + 0x68]
mov edx, r10d
mov r9d, eax
inc r11
add r8, 4
cmp r11, r15
jl 0x1400628c0
mov ebx, dword [rbp + 0xd8]
movzx esi, byte [rbp + 0xe0]
jmp 0x140062e1d
mov ebx, dword [rbp + 0xd8]
mov r10d, dword [rsp + 0x68]
mov r11d, dword [rbp - 0x80]
mov r9d, dword [rsp + 0x50]
xor al, al
mov byte [rbp + 0xe0], al
inc ebx
inc rdi
mov dword [rbp + 0xd8], ebx
cmp rdi, r12
jge 0x140062b15
mov r8, qword [rsp + 0x58]
jmp 0x140062850
xor r8d, r8d
mov ebx, r8d
mov dword [rbp + 0xd8], ebx
test edx, edx
jle 0x140062b15
nop
mov eax, ebx
mov ecx, esi
cdq
idiv r10d
sub ecx, eax
cmp r11d, ecx
jg 0x140062b04
mov eax, r10d
sub eax, edx
cmp r14d, eax
jg 0x140062b04
mov sil, 1
mov r13d, r8d
mov qword [rbp - 0x40], r8
mov r14d, ebx
test r15, r15
jle 0x140062e12
mov rcx, qword [rsp + 0x60]
mov rax, rdi
mov byte [rbp + 0xe0], sil
sub rax, rcx
mov r15d, ebx
mov r12, rcx
mov qword [rbp - 0x28], rax
movzx ecx, byte [r12 + 2]
cmp r9d, ecx
jle 0x1400629d3
xor sil, sil
jmp 0x1400629d9
movzx esi, cl
sub sil, r9b
movzx edx, byte [r12 + 1]
cmp r9d, edx
jle 0x1400629e9
xor dil, dil
jmp 0x1400629ef
movzx edi, dl
sub dil, r9b
movzx r8d, byte [r12]
cmp r9d, r8d
jle 0x1400629fd
xor bl, bl
jmp 0x140062a04
movzx ebx, r8b
sub bl, r9b
mov eax, 0xff
sub eax, ecx
cmp r9d, eax
jle 0x140062a15
mov r11b, 0xff
jmp 0x140062a19
lea r11d, [rcx + r9]
mov eax, 0xff
sub eax, edx
cmp r9d, eax
jle 0x140062a2a
mov r10b, 0xff
jmp 0x140062a2e
lea r10d, [rdx + r9]
mov eax, 0xff
sub eax, r8d
cmp r9d, eax
jle 0x140062a40
mov r9b, 0xff
jmp 0x140062a43
add r9b, r8b
mov r8, qword [rsp + 0x58]
movsxd rax, r14d
movzx edx, byte [r8 + rax*4 + 2]
movzx ecx, byte [r8 + rax*4 + 1]
movzx r8d, byte [r8 + rax*4]
cmp dl, sil
jb 0x140062a7a
cmp dl, r11b
ja 0x140062a7a
cmp cl, dil
jb 0x140062a7a
cmp cl, r10b
ja 0x140062a7a
cmp r8b, bl
jb 0x140062a7a
cmp r8b, r9b
jbe 0x140062a99
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x140062a8f
mov rax, qword [rbp - 0x28]
cmp dword [rax + r12], 0
jne 0x140062a99
mov eax, dword [rsp + 0x50]
cmp dword [r12], eax
jne 0x140062ada
inc r13d
cmp r13d, dword [rbp - 0x7c]
jge 0x140062aa7
inc r14d
jmp 0x140062ab7
mov r10d, dword [rsp + 0x68]
xor eax, eax
add r15d, r10d
mov r13d, eax
mov r14d, r15d
mov rax, qword [rbp - 0x40]
add r12, 4
inc rax
mov qword [rbp - 0x40], rax
cmp rax, qword [rbp - 0x68]
jge 0x140062dfd
mov r9d, dword [rsp + 0x6c]
jmp 0x1400629c3
mov r9d, dword [rsp + 0x6c]
mov r15, qword [rbp - 0x68]
mov ebx, dword [rbp + 0xd8]
mov r14d, dword [rbp - 0x7c]
mov r10d, dword [rsp + 0x68]
mov r11d, dword [rbp - 0x80]
mov esi, dword [rbp - 0x78]
xor al, al
xor r8d, r8d
mov byte [rbp + 0xe0], al
inc ebx
mov dword [rbp + 0xd8], ebx
cmp ebx, dword [rbp - 0x58]
jl 0x140062970
mov rdi, qword [0x14012b628]
movzx eax, byte [rdi + 0x23]
test al, al
jne 0x140062b52
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400f566c]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400bd640
movzx esi, byte [rbp + 0xe0]
mov r13d, 8
jmp 0x140062e1d
lea r13, [0x1400f566c]
mov r14d, 1
cmp qword [rdi + 8], r13
jne 0x140062b6e
mov r12, qword [rdi + 0x10]
shr r12, 1
jmp 0x140062b71
mov r12, r14
lea rcx, [r12 + 1]
lea rsi, [rcx + rcx]
cmp al, 2
jne 0x140062ba5
mov rdx, r12
mov rcx, r13
call fcn.140006da0
mov rdi, qword [rsp + 0x58]
movzx esi, byte [rbp + 0xe0]
mov r12, qword [rsp + 0x60]
mov r13d, 8
jmp 0x140062e2d
mov r8, qword [0x1401255a0]
cmp rsi, r8
jbe 0x140062bd3
cmp rsi, qword [rdi + 0x18]
jbe 0x140062bd3
lea r8, [0x1400f1524]
lea rdx, str.Memory_limit_reached__see_MaxMem_in_the_help_file_.
lea rcx, [0x14012c5c0]
call fcn.14004e590
jmp 0x140062b89
cmp rcx, 2
jae 0x140062bea
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 4]
call fcn.1400bdcf0
jmp 0x140062b89
movzx eax, byte [rdi + 0x21]
test al, 2
je 0x140062c07
mov rcx, qword [rdi]
and al, 0x3d
mov byte [rdi + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r8, qword [0x1401255a0]
mov r9, qword [rdi + 0x18]
and byte [rdi + 0x21], 0x82
cmp rsi, r9
jbe 0x140062d77
movzx ecx, byte [rdi + 0x20]
movzx eax, cl
cmp cl, 1
jbe 0x140062c3b
cmp al, 2
je 0x140062c7c
mov rbx, qword [rbp + 0xc0]
mov rax, qword [rbp + 0xc0]
jmp 0x140062d6b
cmp rsi, 0x80
ja 0x140062c7c
cmp rsi, 8
ja 0x140062c51
mov ebx, 8
jmp 0x140062c62
mov ebx, 0x80
cmp rsi, 0x10
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmovbe ebx, eax
mov rcx, rbx
call fcn.1400b60a0
test rax, rax
je 0x140062dea
mov byte [rdi + 0x20], 1
jmp 0x140062d6b
cmp rsi, 0x20
jae 0x140062c8c
mov ebx, SafeArrayAllocDescriptor
jmp 0x140062d33
cmp rsi, 0x208
jae 0x140062c9f
mov ebx, 0x208
jmp 0x140062d33
cmp rsi, 0x50000
jae 0x140062cef
pxor xmm0, xmm0
cvtsi2sd xmm0, rsi
test rsi, rsi
jns 0x140062cbe
addsd xmm0, qword [0x140112018]
mulsd xmm0, qword [0x140112050]
xor eax, eax
comisd xmm0, xmm6
jbe 0x140062ce5
subsd xmm0, xmm6
comisd xmm0, xmm6
jae 0x140062ce5
movabs rdx, 0x8000000000000000
mov rax, rdx
cvttsd2si rbx, xmm0
add rbx, rax
jmp 0x140062d33
cmp rsi, 0x320000
jae 0x140062d01
lea rbx, [rsi + 0x8000]
jmp 0x140062d33
cmp rsi, 0xc80000
jae 0x140062d2c
movabs rax, 0x47ae147ae147ae15
mov rbx, rsi
mul rsi
sub rbx, rdx
shr rbx, 1
add rbx, rdx
shr rbx, 6
add rbx, rsi
jmp 0x140062d33
lea rbx, [rsi + 0x20000]
cmp rbx, r8
cmova rbx, r8
cmp cl, 2
jne 0x140062d52
test r9, r9
je 0x140062d52
mov rcx, qword [rdi + 8]
mov sil, 1
call fcn.1400d6fc8
jmp 0x140062d55
xor sil, sil
test rbx, rbx
js 0x140062da9
mov rcx, rbx
call fcn.1400d6f08
test rax, rax
je 0x140062da9
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 0x140062d8c
lea r8, [r12 + r12]
mov rdx, r13
call fcn.1400d7a30
mov rax, qword [rdi + 8]
mov ebx, dword [rbp + 0xd8]
lea rcx, [r12 + r12]
xor edx, edx
mov word [rcx + rax], dx
mov qword [rdi + 0x10], rcx
jmp 0x140062b89
test sil, sil
je 0x140062dc1
xor eax, eax
mov qword [rdi + 0x18], rax
lea rax, [0x14012c4b8]
mov qword [rdi + 8], rax
jmp 0x140062dca
mov rax, qword [rdi + 8]
xor ecx, ecx
mov word [rax], cx
xor eax, eax
lea r8, [0x1400f1524]
lea rdx, str.Out_of_memory.
lea rcx, [0x14012c5c0]
mov qword [rdi + 0x10], rax
call fcn.14004e590
mov ebx, dword [rbp + 0xd8]
jmp 0x140062b89
mov ebx, dword [rbp + 0xc8]
jmp 0x140062e1d
mov ebx, dword [rbp + 0xd8]
movzx esi, byte [rbp + 0xe0]
mov r13d, 8
jmp 0x140062e1d
mov r13d, 8
jmp 0x140062e1d
mov sil, 1
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
mov r14d, 1
mov rdx, qword [rbp - 0x38]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [rbp + 0xe8], 0
jne 0x140062e4c
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov r15, qword [rbp - 0x70]
test r15, r15
je 0x140062e73
mov rax, qword [rbp - 0x30]
test rax, rax
je 0x140062e6a
mov rdx, rax
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rax, qword [rbp - 0x60]
test rax, rax
je 0x140062e85
mov rcx, rax
call qword [sym.imp.GDI32.dll_DeleteObject]
test r12, r12
je 0x140062e92
mov rcx, r12
call fcn.1400d6fc8
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x140062ea4
mov rcx, rax
call fcn.1400d6fc8
test rdi, rdi
je 0x14006246f
mov rcx, rdi
call fcn.1400d6fc8
test sil, sil
je 0x14006317b
mov rcx, qword [rbp - 0x10]
mov edi, dword [rsp + 0x68]
test rcx, rcx
je 0x140062ee4
mov eax, ebx
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
cdq
idiv edi
sub edx, dword [rbp - 0x74]
add edx, dword [rbp + 0xc8]
movsxd rdx, edx
call fcn.140001090
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140062f06
mov eax, ebx
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
cdq
idiv edi
sub eax, dword [rbp - 0x50]
add eax, dword [rbp + 0xd0]
movsxd rdx, eax
call fcn.140001090
mov rbx, qword [0x14012b628]
movzx eax, byte [rbx + 0x23]
test al, al
jne 0x140062f39
mov rcx, qword [rbx + 0x10]
lea rdx, [0x1400f1614]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400bd640
mov r14d, eax
jmp 0x140062482
lea r12, [0x1400f1614]
cmp qword [rbx + 8], r12
jne 0x140062f4f
mov rsi, qword [rbx + 0x10]
shr rsi, 1
jmp 0x140062f52
mov rsi, r14
lea rcx, [rsi + 1]
lea rdi, [rcx + rcx]
cmp al, 2
jne 0x140062f71
mov rdx, rsi
mov rcx, r12
call fcn.140006da0
mov r14d, eax
jmp 0x140062482
mov r9, qword [0x1401255a0]
cmp rdi, r9
jbe 0x140062fa5
cmp rdi, qword [rbx + 0x18]
jbe 0x140062fa5
lea r8, [0x1400f1524]
lea rdx, str.Memory_limit_reached__see_MaxMem_in_the_help_file_.
lea rcx, [0x14012c5c0]
call fcn.14004e590
mov r14d, eax
jmp 0x140062482
cmp rcx, 2
jae 0x140062fc2
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 4]
call fcn.1400bdcf0
mov eax, r14d
jmp 0x140062482
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x140062fdf
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 [0x1401255a0]
mov rcx, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp rdi, rcx
jbe 0x140063154
movzx r8d, byte [rbx + 0x20]
movzx eax, r8b
cmp r8b, 1
jbe 0x140063016
cmp al, 2
je 0x140063056
mov r13, qword [rbp + 0xc0]
mov rax, qword [rbp + 0xc0]
jmp 0x140063148
cmp rdi, 0x80
ja 0x140063056
cmp rdi, 8
jbe 0x140063038
mov r13d, 0x80
cmp rdi, 0x10
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmovbe r13d, eax
mov rcx, r13
call fcn.1400b60a0
test rax, rax
jne 0x14006304d
mov r14d, eax
jmp 0x140062482
mov byte [rbx + 0x20], 1
jmp 0x140063148
cmp rdi, 0x20
jae 0x140063067
mov r13d, SafeArrayAllocDescriptor
jmp 0x14006310f
cmp rdi, 0x208
jae 0x14006307b
mov r13d, 0x208
jmp 0x14006310f
cmp rdi, 0x50000
jae 0x1400630cb
pxor xmm0, xmm0
cvtsi2sd xmm0, rdi
test rdi, rdi
jns 0x14006309a
addsd xmm0, qword [0x140112018]
mulsd xmm0, qword [0x140112050]
xor eax, eax
comisd xmm0, xmm6
jbe 0x1400630c1
subsd xmm0, xmm6
comisd xmm0, xmm6
jae 0x1400630c1
movabs rdx, 0x8000000000000000
mov rax, rdx
cvttsd2si r13, xmm0
add r13, rax
jmp 0x14006310f
cmp rdi, 0x320000
jae 0x1400630dd
lea r13, [rdi + 0x8000]
jmp 0x14006310f
cmp rdi, 0xc80000
jae 0x140063108
movabs rax, 0x47ae147ae147ae15
mov r13, rdi
mul rdi
sub r13, rdx
shr r13, 1
add r13, rdx
shr r13, 6
add r13, rdi
jmp 0x14006310f
lea r13, [rdi + 0x20000]
cmp r13, r9
cmova r13, r9
cmp r8b, 2
jne 0x14006312f
test rcx, rcx
je 0x14006312f
mov rcx, qword [rbx + 8]
mov dil, 1
call fcn.1400d6fc8
jmp 0x140063132
xor dil, dil
test r13, r13
js 0x140063183
mov rcx, r13
call fcn.1400d6f08
test rax, rax
je 0x140063183
mov byte [rbx + 0x20], 2
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], r13
mov rcx, qword [rbx + 8]
cmp rcx, r12
je 0x140063169
lea r8, [rsi + rsi]
mov rdx, r12
call fcn.1400d7a30
mov rax, qword [rbx + 8]
lea rcx, [rsi + rsi]
xor edx, edx
mov word [rcx + rax], dx
mov qword [rbx + 0x10], rcx
mov eax, r14d
jmp 0x140062482
test dil, dil
je 0x14006319b
xor eax, eax
mov qword [rbx + 0x18], rax
lea rax, [0x14012c4b8]
mov qword [rbx + 8], rax
jmp 0x1400631a4
mov rax, qword [rbx + 8]
xor ecx, ecx
mov word [rax], cx
xor eax, eax
lea r8, [0x1400f1524]
lea rdx, str.Out_of_memory.
lea rcx, [0x14012c5c0]
mov qword [rbx + 0x10], rax
call fcn.14004e590
mov r14d, eax
jmp 0x140062482