Function at 0x140048a80
Capabilities:
Check for time delay via gettickcount
Get keyboard layout

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x8070]
mov eax, 0x8170
call fcn.1400d1fb0
sub rsp, rax
xor r12d, r12d
cmp byte [rcx], 0x3e
mov rbx, rcx
jne 0x140048e0a
mov rcx, qword [0x140117680]
lea rdx, str.UseErrorLevel
call fcn.1400acc00
mov r9, qword [0x140117678]
mov rdx, qword [0x140117670]
test rax, rax
mov eax, r12d
setne dil
cmp byte [rbx + 1], 3
cmova rax, qword [0x1401175d8]
test dil, dil
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x40], 1
sete cl
mov byte [rsp + 0x38], dil
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x30], rax
mov rax, qword [0x140117680]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], cl
lea rcx, [0x140119170]
call fcn.140041ab0
test eax, eax
jne 0x140048e0a
test dil, dil
je 0x140048e02
mov rdi, qword [0x1401182a0]
movzx eax, byte [rdi + 0x23]
test al, al
jne 0x140048b6b
mov rcx, qword [rdi + 0x10]
lea rdx, str.ERROR
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400b0840
mov esi, eax
jmp 0x140049c9d
lea r14, str.ERROR
cmp qword [rdi + 8], r14
jne 0x140048b81
mov r13, qword [rdi + 0x10]
shr r13, 1
jmp 0x140048b87
mov r13d, 5
lea rcx, [r13 + 1]
lea rsi, [rcx + rcx]
cmp al, 2
jne 0x140048ba5
mov rdx, r13
mov rcx, r14
call fcn.140006100
mov esi, eax
jmp 0x140049c9d
mov r8, qword [0x140112480]
cmp rsi, r8
jbe 0x140048bd8
cmp rsi, qword [rdi + 0x18]
jbe 0x140048bd8
lea r8, [0x1400e246c]
lea rdx, str.Memory_limit_reached__see_MaxMem_in_the_help_file_.
lea rcx, [0x140119170]
call fcn.140040620
mov esi, eax
jmp 0x140049c9d
cmp rcx, 2
jae 0x140048bf7
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 4]
call fcn.1400b0ef0
mov esi, 1
jmp 0x140049c9d
movzx eax, byte [rdi + 0x21]
test al, 2
je 0x140048c14
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 [0x140112480]
mov rcx, qword [rdi + 0x18]
and byte [rdi + 0x21], 0x82
cmp rsi, rcx
jbe 0x140048d8d
movzx r9d, byte [rdi + 0x20]
movzx eax, r9b
cmp r9b, 1
jbe 0x140048c49
cmp al, 2
je 0x140048c89
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbp + 0x80b0]
jmp 0x140048d81
cmp rsi, 0x80
ja 0x140048c89
cmp rsi, 8
ja 0x140048c5f
mov ebx, 8
jmp 0x140048c6f
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
mov ebx, pe_nt_image_headers64
cmp rsi, rax
cmovbe ebx, eax
mov rcx, rbx
call fcn.1400a99c0
test rax, rax
je 0x140048e02
mov byte [rdi + 0x20], 1
jmp 0x140048d81
cmp rsi, 0x20
jae 0x140048c99
mov ebx, SafeArrayAllocDescriptor
jmp 0x140048d48
cmp rsi, 0x208
jae 0x140048cac
mov ebx, 0x208
jmp 0x140048d48
cmp rsi, 0x50000
jae 0x140048d04
pxor xmm0, xmm0
cvtsi2sd xmm0, rsi
test rsi, rsi
jns 0x140048ccb
addsd xmm0, qword [0x140100df8]
mulsd xmm0, qword [0x140100e30]
movsd xmm1, qword [0x140100e28]
xor eax, eax
comisd xmm0, xmm1
jbe 0x140048cfa
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x140048cfa
movabs rdx, 0x8000000000000000
mov rax, rdx
cvttsd2si rbx, xmm0
add rbx, rax
jmp 0x140048d48
cmp rsi, 0x320000
jae 0x140048d16
lea rbx, [rsi + 0x8000]
jmp 0x140048d48
cmp rsi, 0xc80000
jae 0x140048d41
movabs rax, 0x47ae147ae147ae15
mov rbx, rsi
mul rsi
sub rbx, rdx
shr rbx, 1
add rbx, rdx
shr rbx, 6
add rbx, rsi
jmp 0x140048d48
lea rbx, [rsi + 0x20000]
cmp rbx, r8
cmova rbx, r8
cmp r9b, 2
jne 0x140048d68
test rcx, rcx
je 0x140048d68
mov rcx, qword [rdi + 8]
mov sil, 1
call fcn.1400ca7a0
jmp 0x140048d6b
xor sil, sil
test rbx, rbx
js 0x140048dbf
mov rcx, rbx
call fcn.1400c9d04
test rax, rax
je 0x140048dbf
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, r14
je 0x140048da3
lea r8, [r13 + r13]
mov rdx, r14
call fcn.1400ca960
mov rax, qword [rdi + 8]
lea rcx, [r13 + r13]
mov esi, 1
mov word [rcx + rax], r12w
mov qword [rdi + 0x10], rcx
jmp 0x140049c9d
test sil, sil
je 0x140048dd5
lea rax, [0x140119128]
mov qword [rdi + 0x18], r12
mov qword [rdi + 8], rax
jmp 0x140048ddd
mov rax, qword [rdi + 8]
mov word [rax], r12w
lea r8, [0x1400e246c]
lea rdx, str.Out_of_memory.
lea rcx, [0x140119170]
mov qword [rdi + 0x10], r12
call fcn.140040620
mov esi, eax
jmp 0x140049c9d
mov esi, r12d
jmp 0x140049c9d
movzx eax, byte [rbx]
mov esi, 1
mov qword [rsp + 0x8168], r15
movaps xmmword [rsp + 0x8150], xmm6
lea r14d, [rsi + 0xf]
cmp al, 0x5d
jne 0x1400491ef
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov rcx, qword [0x140117670]
cmp word [rcx], r12w
jne 0x140048e4d
xor al, al
mov byte [rbp + 0x80c0], al
jmp 0x140048e6f
mov r9, rax
xor r8d, r8d
xor edx, edx
call fcn.14001abb0
mov byte [rbp + 0x80c0], al
test al, al
jne 0x1400490f8
mov rcx, qword [0x140117670]
lea rdx, [rsp + 0x64]
xor r8d, r8d
call fcn.140078bd0
mov dword [rsp + 0x54], eax
test eax, eax
jne 0x140049093
mov rdi, qword [0x1401182a0]
movzx eax, byte [rdi + 0x23]
test al, al
jne 0x140048ea1
mov byte [rsp + 0x20], sil
jmp 0x140049a37
lea r14, [0x1400e51bc]
cmp qword [rdi + 8], r14
jne 0x140048eb7
mov r15, qword [rdi + 0x10]
shr r15, 1
jmp 0x140048eba
mov r15, rsi
lea rdx, [r15 + 1]
lea r13, [rdx + rdx]
cmp al, 2
jne 0x140048ed8
mov rdx, r15
mov rcx, r14
call fcn.140006100
mov esi, eax
jmp 0x140049c8d
mov rcx, qword [0x140112480]
cmp r13, rcx
jbe 0x140048f0b
cmp r13, qword [rdi + 0x18]
jbe 0x140048f0b
lea r8, [0x1400e246c]
lea rdx, str.Memory_limit_reached__see_MaxMem_in_the_help_file_.
lea rcx, [0x140119170]
call fcn.140040620
mov esi, eax
jmp 0x140049c8d
cmp rdx, 2
jb 0x140049ac5
movzx eax, byte [rdi + 0x21]
test al, 2
je 0x140048f32
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 r13, r8
jbe 0x140049c67
movzx r9d, byte [rdi + 0x20]
movzx eax, r9b
cmp r9b, sil
jbe 0x140048f68
cmp al, 2
je 0x140048fa8
mov rbx, qword [rbp + 0x80b0]
mov rax, qword [rbp + 0x80b0]
jmp 0x140049c5b
cmp r13, 0x80
ja 0x140048fa8
cmp r13, 8
ja 0x140048f7e
mov ebx, 8
jmp 0x140048f8e
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
mov ebx, pe_nt_image_headers64
cmp r13, rax
cmovbe ebx, eax
mov rcx, rbx
call fcn.1400a99c0
test rax, rax
je 0x140049b5a
mov byte [rdi + 0x20], sil
jmp 0x140049c5b
cmp r13, 0x20
jae 0x140048fb8
mov ebx, SafeArrayAllocDescriptor
jmp 0x140049067
cmp r13, 0x208
jae 0x140048fcb
mov ebx, 0x208
jmp 0x140049067
cmp r13, 0x50000
jae 0x140049023
pxor xmm0, xmm0
cvtsi2sd xmm0, r13
test r13, r13
jns 0x140048fea
addsd xmm0, qword [0x140100df8]
mulsd xmm0, qword [0x140100e30]
movsd xmm1, qword [0x140100e28]
xor eax, eax
comisd xmm0, xmm1
jbe 0x140049019
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x140049019
movabs rdx, 0x8000000000000000
mov rax, rdx
cvttsd2si rbx, xmm0
add rbx, rax
jmp 0x140049067
cmp r13, 0x320000
jae 0x140049035
lea rbx, [r13 + 0x8000]
jmp 0x140049067
cmp r13, 0xc80000
jae 0x140049060
movabs rax, 0x47ae147ae147ae15
mov rbx, r13
mul r13
sub rbx, rdx
shr rbx, 1
add rbx, rdx
shr rbx, 6
add rbx, r13
jmp 0x140049067
lea rbx, [r13 + 0x20000]
cmp rbx, rcx
cmova rbx, rcx
cmp r9b, 2
jne 0x140049c42
test r8, r8
je 0x140049c42
mov rcx, qword [rdi + 8]
movzx r13d, sil
call fcn.1400ca7a0
jmp 0x140049c45
cmp eax, 0xc
jl 0x14004909d
cmp eax, 0x2b
jle 0x140049102
mov rdi, qword [0x1401182a0]
movzx eax, byte [rdi + 0x23]
test al, al
je 0x140048e97
lea r14, [0x1400e51bc]
cmp qword [rdi + 8], r14
jne 0x1400490c6
mov r15, qword [rdi + 0x10]
shr r15, 1
jmp 0x1400490c9
mov r15, rsi
lea rdx, [r15 + 1]
lea r13, [rdx + rdx]
cmp al, 2
je 0x140048ec6
mov rcx, qword [0x140112480]
cmp r13, rcx
jbe 0x140048f0b
cmp r13, qword [rdi + 0x18]
ja 0x140048eea
jmp 0x140048f0b
mov eax, dword [rbp + 0x80b0]
mov dword [rsp + 0x54], eax
mov r13, qword [0x140117678]
mov byte [rbp + 0x80b8], r12b
mov dword [rsp + 0x5c], esi
movzx eax, word [r13]
mov byte [rbp + 0x80c8], sil
mov dword [rsp + 0x58], r12d
test ax, ax
je 0x1400491de
movsd xmm6, qword [0x140100e18]
lea rbx, [r13 + 2]
nop word [rax + rax]
movzx edi, ax
test edi, 0xffffff80
jne 0x14004915e
mov edx, 2
mov ecx, edi
call fcn.1400cb1c8
test eax, eax
je 0x14004915e
and edi, 0xffffffdf
movzx eax, di
cmp eax, 0x44
je 0x1400491c1
cmp eax, 0x4c
je 0x1400491ba
cmp eax, 0x54
jne 0x1400491c8
mov rcx, rbx
mov byte [rbp + 0x80c8], r12b
call fcn.140014930
mov rcx, rbx
test al, al
je 0x1400491a7
mov r8d, r14d
xor edx, edx
call fcn.1400cbcf0
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, xmm6
cvttsd2si ecx, xmm0
mov dword [rsp + 0x58], ecx
jmp 0x1400491c8
call fcn.1400cbdf8
mulsd xmm0, xmm6
cvttsd2si ecx, xmm0
mov dword [rsp + 0x58], ecx
jmp 0x1400491c8
mov dword [rsp + 0x5c], r12d
jmp 0x1400491c8
mov byte [rbp + 0x80b8], sil
movzx eax, word [r13 + 2]
add r13, 2
add rbx, 2
test ax, ax
jne 0x140049140
lea rax, [rbp + 0x40]
mov dword [rbp + 0x30], r12d
mov qword [rbp + 0x20], rax
jmp 0x1400492d9
mov rcx, qword [0x140117670]
mov rdi, qword [0x140117680]
cmp al, 0x3e
je 0x14004920b
cmp al, 0x5c
je 0x140049213
cmp word [rdi], r12w
jne 0x14004921d
cmp al, 0x5c
jne 0x14004929f
cmp word [rcx], r12w
je 0x14004929f
cmp al, 0x5c
mov byte [rbp + 0x80c8], r12b
cmove rdi, rcx
mov rcx, rdi
call fcn.140014930
mov rcx, rdi
test al, al
je 0x14004924e
mov r8d, r14d
xor edx, edx
call fcn.1400cbcf0
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
jmp 0x140049253
call fcn.1400cbdf8
mulsd xmm0, qword [0x140100e18]
movzx ecx, byte [rbp + 0x80b0]
mov byte [rbp + 0x80c0], cl
cvttsd2si eax, xmm0
mov dword [rsp + 0x58], eax
cmp eax, esi
mov eax, dword [rbp + 0x80b0]
mov dword [rsp + 0x54], eax
movzx eax, byte [rbp + 0x80b0]
mov byte [rbp + 0x80b8], al
mov eax, dword [rbp + 0x80b0]
mov dword [rsp + 0x5c], eax
jge 0x1400492d9
mov dword [rsp + 0x58], 0x1f4
jmp 0x1400492d9
movzx eax, byte [rbp + 0x80b0]
mov byte [rbp + 0x80c8], sil
mov dword [rsp + 0x58], r12d
mov byte [rbp + 0x80c0], al
mov eax, dword [rbp + 0x80b0]
mov dword [rsp + 0x54], eax
movzx eax, byte [rbp + 0x80b0]
mov byte [rbp + 0x80b8], al
mov eax, dword [rbp + 0x80b0]
mov dword [rsp + 0x5c], eax
mov r13, qword [rbp + 0x80b0]
movsd xmm6, qword [0x140100e28]
mov ebx, 8
cmp byte [r13], 0x3e
lea rdi, [0x1400e246c]
movabs rdx, 0x8000000000000000
mov qword [rsp + 0x68], rbx
movabs r10, 0x47ae147ae147ae15
je 0x1400495aa
mov rdi, qword [0x1401182a0]
movzx eax, byte [rdi + 0x23]
test al, al
jne 0x140049348
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400e250c]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], sil
call fcn.1400b0840
jmp 0x1400495a3
lea r13, [0x1400e250c]
cmp qword [rdi + 8], r13
jne 0x14004935e
mov r15, qword [rdi + 0x10]
shr r15, 1
jmp 0x140049361
mov r15, rsi
lea rcx, [r15 + 1]
lea r14, [rcx + rcx]
cmp al, 2
jne 0x14004937d
mov rdx, r15
mov rcx, r13
call fcn.140006100
jmp 0x14004959c
mov r8, qword [0x140112480]
cmp r14, r8
jbe 0x1400493b8
cmp r14, qword [rdi + 0x18]
jbe 0x1400493b8
lea rdx, str.Memory_limit_reached__see_MaxMem_in_the_help_file_.
lea rdi, [0x1400e246c]
lea rcx, [0x140119170]
mov r8, rdi
call fcn.140040620
mov r13, qword [rbp + 0x80b0]
jmp 0x1400495aa
cmp rcx, 2
jae 0x1400493d2
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 4]
call fcn.1400b0ef0
jmp 0x14004959c
movzx eax, byte [rdi + 0x21]
test al, 2
je 0x140049403
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 [0x140112480]
movabs rdx, 0x8000000000000000
movabs r10, 0x47ae147ae147ae15
mov rcx, qword [rdi + 0x18]
and byte [rdi + 0x21], 0x82
cmp r14, rcx
jbe 0x140049576
movzx r9d, byte [rdi + 0x20]
movzx eax, r9b
cmp r9b, sil
jbe 0x140049439
cmp al, 2
je 0x140049479
mov r13, qword [rbp + 0x80b0]
mov rax, qword [rbp + 0x80b0]
jmp 0x140049563
cmp r14, 0x80
ja 0x140049479
cmp r14, rbx
ja 0x14004944c
mov r13, rbx
jmp 0x14004945f
mov r13d, pe_nt_image_headers64
cmp r14, 0x10
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmovbe r13d, eax
mov rcx, r13
call fcn.1400a99c0
test rax, rax
je 0x14004959c
mov byte [rdi + 0x20], sil
jmp 0x140049563
cmp r14, 0x20
jae 0x14004948a
mov r13d, SafeArrayAllocDescriptor
jmp 0x140049521
cmp r14, 0x208
jae 0x14004949e
mov r13d, 0x208
jmp 0x140049521
cmp r14, 0x50000
jae 0x1400494e4
pxor xmm0, xmm0
cvtsi2sd xmm0, r14
test r14, r14
jns 0x1400494bd
addsd xmm0, qword [0x140100df8]
mulsd xmm0, qword [0x140100e30]
xor eax, eax
comisd xmm0, xmm6
jbe 0x1400494da
subsd xmm0, xmm6
comisd xmm0, xmm6
jae 0x1400494da
mov rax, rdx
cvttsd2si r13, xmm0
add r13, rax
jmp 0x140049521
cmp r14, 0x320000
jae 0x1400494f6
lea r13, [r14 + 0x8000]
jmp 0x140049521
cmp r14, 0xc80000
jae 0x14004951a
mov rax, r10
mov r13, r14
mul r14
sub r13, rdx
shr r13, 1
add r13, rdx
shr r13, 6
add r13, r14
jmp 0x140049521
lea r13, [r14 + 0x20000]
cmp r13, r8
cmova r13, r8
cmp r9b, 2
jne 0x140049542
test rcx, rcx
je 0x140049542
mov rcx, qword [rdi + 8]
movzx r14d, sil
call fcn.1400ca7a0
jmp 0x140049545
xor r14b, r14b
test r13, r13
js 0x140049601
mov rcx, r13
call fcn.1400c9d04
test rax, rax
je 0x140049601
mov byte [rdi + 0x20], 2
and byte [rdi + 0x21], 0x7f
mov qword [rdi + 0x18], r13
mov qword [rdi + 8], rax
lea r13, [0x1400e250c]
mov rcx, qword [rdi + 8]
cmp rcx, r13
je 0x14004958b
lea r8, [r15 + r15]
mov rdx, r13
call fcn.1400ca960
mov rax, qword [rdi + 8]
lea rcx, [r15 + r15]
mov word [rcx + rax], r12w
mov qword [rdi + 0x10], rcx
mov r13, qword [rbp + 0x80b0]
lea rdi, [0x1400e246c]
cmp byte [r13], 0x5c
jne 0x1400495c4
mov edx, esi
mov rcx, r13
call fcn.14002dbb0
mov byte [rsp + 0x50], sil
cmp eax, esi
je 0x1400495c9
mov byte [rsp + 0x50], r12b
mov rax, qword [rbp + 0x80b0]
mov r15d, r12d
mov ecx, 0x4001
lea r14, [rbp + 0x40]
cmp byte [rax + 1], r12b
jbe 0x1400496ab
mov r13, r12
mov rbx, rax
lea rsi, sym.MZ_mQi__2AXcFXq_ppj624W7rH_FhFt_bkZW__Vxfp1Vv
test ecx, ecx
jne 0x14004963d
mov qword [rbp + r13 - 0x80], rdi
jmp 0x14004968d
test r14b, r14b
je 0x140049625
lea rax, [0x140119128]
mov qword [rdi + 0x18], r12
mov qword [rdi + 0x10], r12
mov qword [rdi + 8], rax
lea rdx, str.Out_of_memory.
jmp 0x140049396
mov rax, qword [rdi + 8]
lea rdx, str.Out_of_memory.
mov word [rax], r12w
mov qword [rdi + 0x10], r12
jmp 0x140049396
mov rdx, qword [r13 + rsi + 0x117670]
movsxd rdi, ecx
mov rcx, r14
lea r8, [rdi - 1]
mov qword [rbp + r13 - 0x80], r14
call fcn.1400cce74
xor eax, eax
or rcx, 0xffffffffffffffff
mov word [r14 + rdi*2 - 2], r12w
mov rdi, r14
repne scasw ax, word [rdi]
lea rdi, [0x1400e246c]
not rcx
lea r14, [r14 + rcx*2]
lea rcx, [rbp + 0x40]
mov rax, r14
sub rax, rcx
mov ecx, 0x4001
sar rax, 1
sub ecx, eax
movzx eax, byte [rbx + 1]
inc r15d
add r13, 8
cmp r15d, eax
jl 0x1400495f3
mov rbx, qword [rsp + 0x68]
mov esi, 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r15, qword [rsp + 0x70]
mov r10, qword [0x1401124a8]
mov r14, qword [rbp + 0x80b0]
mov r13d, eax
lea r9, sym.MZ_mQi__2AXcFXq_ppj624W7rH_FhFt_bkZW__Vxfp1Vv
mov r11, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x60]
nop word [rax + rax]
movzx eax, byte [r14]
add eax, 0xffffffc2
cmp eax, 0x3e
ja case.0x140049706.69
cdqe
movzx eax, byte [r9 + rax + 0x49d14]
mov ecx, dword [r9 + rax*4 + 0x49cf4]
add rcx, r9
jmp rcx
movzx eax, byte [r14 + 1]
mov byte [rsp + 0x30], 1
mov rcx, rdi
cmp al, 4
mov r9, rdi
mov byte [rsp + 0x28], r12b
cmova rcx, rdx
cmp al, 3
mov rdx, rdi
cmova r9, r8
cmp al, 1
mov qword [rsp + 0x20], rcx
mov r8, rdi
mov rcx, r10
cmova r8, r11
test al, al
cmovne rdx, qword [rbp - 0x80]
call fcn.1400b1fa0
test rax, rax
je case.0x140049706.69
mov rcx, qword [0x1401124a8]
mov ecx, dword [rcx + 0x74]
cmp ecx, 0xffffffff
jle 0x140049c8d
mov edx, esi
call fcn.140001a70
jmp 0x140049c8d
movzx eax, byte [r14 + 1]
mov byte [rsp + 0x30], r12b
mov rcx, rdi
cmp al, 4
mov r9, rdi
mov byte [rsp + 0x28], r12b
cmova rcx, rdx
cmp al, 3
mov rdx, rdi
cmova r9, r8
cmp al, 1
mov qword [rsp + 0x20], rcx
mov r8, rdi
mov rcx, r10
cmova r8, r11
test al, al
cmovne rdx, qword [rbp - 0x80]
call fcn.1400b1fa0
test rax, rax
jne case.0x140049706.69
mov rax, qword [0x1401124a8]
mov ecx, dword [rax + 0x74]
jmp 0x14004975c
movzx eax, byte [r14 + 1]
mov rcx, rdi
mov r9, rdi
cmp al, 4
mov byte [rsp + 0x28], 1
cmova rcx, rdx
cmp al, 3
mov rdx, rdi
cmova r9, r8
cmp al, 1
mov qword [rsp + 0x20], rcx
mov r8, rdi
mov rcx, r10
cmova r8, r11
test al, al
cmovne rdx, qword [rbp - 0x80]
call fcn.1400b1da0
test rax, rax
jne 0x1400497bb
jmp case.0x140049706.69
movzx eax, byte [r14 + 1]
mov rcx, rdi
mov r9, rdi
cmp al, 4
mov byte [rsp + 0x28], 1
cmova rcx, rdx
cmp al, 3
mov rdx, rdi
cmova r9, r8
cmp al, 1
mov qword [rsp + 0x20], rcx
mov r8, rdi
mov rcx, r10
cmova r8, r11
test al, al
cmovne rdx, qword [rbp - 0x80]
call fcn.1400b1da0
test rax, rax
je 0x1400497bb
jmp case.0x140049706.69
cmp byte [rsp + 0x50], r12b
je 0x140049871
call qword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
jne 0x140049c8d
jmp case.0x140049706.69
mov ecx, SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x140049c8d
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x140049c8d
jmp case.0x140049706.69
movzx eax, byte [rbp + 0x80c0]
test al, al
je 0x1400498bf
mov edx, dword [rsp + 0x5c]
movzx ecx, al
call fcn.140078f30
cmp al, byte [rbp + 0x80b8]
je 0x140049c8d
jmp case.0x140049706.69
mov rax, qword [rbp + 0x20]
mov word [rax], r12w
mov eax, dword [rsp + 0x54]
test eax, eax
je 0x1400498f1
mov edx, dword [rsp + 0x64]
lea r8, [rbp + 0x20]
xor r9d, r9d
mov ecx, eax
call fcn.140078ff0
ucomisd xmm0, qword [0x140100ef8]
jp 0x1400498ed
je 0x1400498f1
mov al, 1
jmp 0x1400498f3
xor eax, eax
cmp al, byte [rbp + 0x80b8]
je 0x140049c8d
jmp case.0x140049706.69
test r15, r15
je 0x140049a07
lea rdx, [rsp + 0x60]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [rsp + 0x60], 0x103
jne 0x1400499f7
cmp byte [rbp + 0x80c8], r12b
jne 0x140049947
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [rsp + 0x58]
add ecx, r13d
sub ecx, eax
cmp ecx, 5
jle 0x140049a23
mov edx, esi
mov ecx, 0x8000012f
call fcn.140001a70
mov r10, qword [0x1401124a8]
mov rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x68]
mov r11, qword [rbp - 0x78]
lea r9, sym.MZ_mQi__2AXcFXq_ppj624W7rH_FhFt_bkZW__Vxfp1Vv
test al, al
je 0x1400496e0
cmp byte [r10 + 0x139], r12b
je 0x1400496e0
movsxd rcx, dword [0x140118404]
mov eax, 0x190
lea r9, sym.MZ_mQi__2AXcFXq_ppj624W7rH_FhFt_bkZW__Vxfp1Vv
test ecx, ecx
cmovne eax, ecx
dec eax
movsxd rdx, eax
cmp qword [r9 + rdx*8 + 0x118410], r14
jne 0x1400499bb
cmp dword [r9 + rdx*4 + 0x116f80], r13d
mov rdx, qword [rbp - 0x60]
je 0x1400496e0
mov rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x68]
mov r11, qword [rbp - 0x78]
mov qword [r9 + rcx*8 + 0x118410], r14
mov dword [r9 + rcx*4 + 0x116f80], r13d
inc ecx
mov dword [0x140118404], ecx
cmp ecx, 0x190
jl 0x1400496e0
mov dword [0x140118404], r12d
jmp 0x1400496ce
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12d, dword [rsp + 0x60]
jmp 0x140049a0c
mov dword [rsp + 0x60], r12d
mov rcx, qword [0x1401182a0]
movsxd rdx, r12d
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.140001090
jmp 0x140049c8d
mov rdi, qword [0x1401182a0]
movzx eax, byte [rdi + 0x23]
test al, al
jne 0x140049a55
mov byte [rsp + 0x20], 1
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400e51bc]
xor r9d, r9d
or r8, 0xffffffffffffffff
call fcn.1400b0840
mov esi, eax
jmp 0x140049c8d
lea r14, [0x1400e51bc]
cmp qword [rdi + 8], r14
jne 0x140049a6b
mov r15, qword [rdi + 0x10]
shr r15, 1
jmp 0x140049a6e
mov r15, rsi
lea rdx, [r15 + 1]
lea r13, [rdx + rdx]
cmp al, 2
jne 0x140049a8c
mov rdx, r15
mov rcx, r14
call fcn.140006100
mov esi, eax
jmp 0x140049c8d
mov rcx, qword [0x140112480]
cmp r13, rcx
jbe 0x140049abf
cmp r13, qword [rdi + 0x18]
jbe 0x140049abf
lea r8, [0x1400e246c]
lea rdx, str.Memory_limit_reached__see_MaxMem_in_the_help_file_.
lea rcx, [0x140119170]
call fcn.140040620
mov esi, eax
jmp 0x140049c8d
cmp rdx, 2
jae 0x140049ad9
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 4]
call fcn.1400b0ef0
jmp 0x140049c8d
movzx eax, byte [rdi + 0x21]
test al, 2
je 0x140049af6
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 r13, r8
jbe 0x140049c67
movzx r9d, byte [rdi + 0x20]
movzx eax, r9b
cmp r9b, 1
jbe 0x140049b2d
cmp al, 2
je 0x140049b6b
mov rbx, qword [rbp + 0x80b0]
mov rax, qword [rbp + 0x80b0]
jmp 0x140049c5b
cmp r13, 0x80
ja 0x140049b6b
cmp r13, 8
jbe 0x140049b4d
mov ebx, pe_nt_image_headers64
cmp r13, 0x10
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmovbe ebx, eax
mov rcx, rbx
call fcn.1400a99c0
test rax, rax
jne 0x140049b62
mov esi, r12d
jmp 0x140049c8d
mov byte [rdi + 0x20], 1
jmp 0x140049c5b
cmp r13, 0x20
jae 0x140049b7b
mov ebx, SafeArrayAllocDescriptor
jmp 0x140049c22
cmp r13, 0x208
jae 0x140049b8e
mov ebx, 0x208
jmp 0x140049c22
cmp r13, 0x50000
jae 0x140049bde
pxor xmm0, xmm0
cvtsi2sd xmm0, r13
test r13, r13
jns 0x140049bad
addsd xmm0, qword [0x140100df8]
mulsd xmm0, qword [0x140100e30]
xor eax, eax
comisd xmm0, xmm6
jbe 0x140049bd4
subsd xmm0, xmm6
comisd xmm0, xmm6
jae 0x140049bd4
movabs rdx, 0x8000000000000000
mov rax, rdx
cvttsd2si rbx, xmm0
add rbx, rax
jmp 0x140049c22
cmp r13, 0x320000
jae 0x140049bf0
lea rbx, [r13 + 0x8000]
jmp 0x140049c22
cmp r13, 0xc80000
jae 0x140049c1b
movabs rax, 0x47ae147ae147ae15
mov rbx, r13
mul r13
sub rbx, rdx
shr rbx, 1
add rbx, rdx
shr rbx, 6
add rbx, r13
jmp 0x140049c22
lea rbx, [r13 + 0x20000]
cmp rbx, rcx
cmova rbx, rcx
cmp r9b, 2
jne 0x140049c42
test r8, r8
je 0x140049c42
mov rcx, qword [rdi + 8]
mov r13b, 1
call fcn.1400ca7a0
jmp 0x140049c45
xor r13b, r13b
test rbx, rbx
js 0x140049cb1
mov rcx, rbx
call fcn.1400c9d04
test rax, rax
je 0x140049cb1
mov byte [rdi + 0x20], 2
mov qword [rdi + 8], rax
mov qword [rdi + 0x18], rbx
and byte [rdi + 0x21], 0x7f
mov rcx, qword [rdi + 8]
cmp rcx, r14
je 0x140049c7c
lea r8, [r15 + r15]
mov rdx, r14
call fcn.1400ca960
mov rax, qword [rdi + 8]
lea rcx, [r15 + r15]
mov word [rcx + rax], r12w
mov qword [rdi + 0x10], rcx
mov r15, qword [rsp + 0x8168]
movaps xmm6, xmmword [rsp + 0x8150]
mov eax, esi
add rsp, 0x8170
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
test r13b, r13b
je 0x140049cc7
lea rax, [0x140119128]
mov qword [rdi + 0x18], r12
mov qword [rdi + 8], rax
jmp 0x140049ccf
mov rax, qword [rdi + 8]
mov word [rax], r12w
lea r8, [0x1400e246c]
lea rdx, str.Out_of_memory.
lea rcx, [0x140119170]
mov qword [rdi + 0x10], r12
call fcn.140040620
mov esi, eax
jmp 0x140049c8d