Function at 0x14004dfc0
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov r12, rcx
mov rcx, rdx
mov rsi, r9
mov rbp, r8
mov rdi, rdx
call fcn.140043100
movsxd rbx, eax
test eax, eax
jne 0x14004e005
lea rdx, [0x1400e69a8]
mov r9, rdi
xor r8d, r8d
mov rcx, r12
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.140040410
cmp ebx, 1
je 0x14004eb5b
mov qword [rsp + 0x70], r13
cmp ebx, 2
je 0x14004e846
cmp ebx, 3
je 0x14004e396
jle 0x14004e384
cmp ebx, 5
jg 0x14004e384
xor edi, edi
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], r15
cmp word [rsi], di
je 0x14004e06b
mov rcx, rsi
xor r12b, r12b
call fcn.14001bfd0
mulsd xmm0, qword [0x140101ec8]
cvttsd2si r13d, xmm0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
jmp 0x14004e076
mov r14d, dword [rsp + 0x30]
mov r12b, 1
mov r13d, edi
mov r15, rbx
mov esi, 1
nop
mov rcx, rbp
call fcn.140081f80
mov ebx, eax
cmp r15, 4
jne 0x14004e0ab
test eax, eax
je 0x14004e0af
mov rcx, qword [0x14011a308]
mov rdx, rbx
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.140001090
jmp 0x14004e160
test eax, eax
je 0x14004e0d3
test r12b, r12b
jne 0x14004e0c5
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [r14 + r13]
sub ecx, eax
cmp ecx, 5
jle 0x14004e094
mov edx, esi
mov ecx, 0x64
call fcn.140001a70
jmp 0x14004e080
mov rbp, qword [0x14011a308]
movzx eax, byte [rbp + 0x23]
test al, al
jne 0x14004e100
mov rcx, qword [rbp + 0x10]
lea rdx, [0x1400e350c]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], sil
call fcn.1400b1500
jmp 0x14004e15e
lea r12, [0x1400e350c]
cmp qword [rbp + 8], r12
jne 0x14004e116
mov r14, qword [rbp + 0x10]
shr r14, 1
jmp 0x14004e119
mov r14, rsi
lea rcx, [r14 + 1]
lea r13, [rcx + rcx]
cmp al, 2
jne 0x14004e132
mov rdx, r14
mov rcx, r12
call fcn.140006090
jmp 0x14004e15e
mov r8, qword [0x140114480]
cmp r13, r8
jbe 0x14004e17f
cmp r13, qword [rbp + 0x18]
jbe 0x14004e17f
lea r8, [0x1400e346c]
lea rdx, [0x1400fff00]
lea rcx, [0x14011b1d0]
call fcn.140040760
mov esi, eax
mov r14, qword [rsp + 0x78]
mov r15, qword [rsp + 0x80]
mov eax, esi
mov r13, qword [rsp + 0x70]
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp rcx, 2
jae 0x14004e196
xor r8d, r8d
mov rcx, rbp
lea edx, [r8 + 4]
call fcn.1400b1bb0
jmp 0x14004e160
movzx eax, byte [rbp + 0x21]
test al, 2
je 0x14004e1b4
mov rcx, qword [rbp]
and al, 0x3d
mov byte [rbp + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r8, qword [0x140114480]
mov r9, qword [rbp + 0x18]
and byte [rbp + 0x21], 0x82
cmp r13, r9
jbe 0x14004e326
movzx r10d, byte [rbp + 0x20]
movzx eax, r10b
cmp r10b, sil
jbe 0x14004e1e6
cmp al, 2
je 0x14004e226
mov rbx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
jmp 0x14004e31a
mov ebx, 0x80
cmp r13, rbx
ja 0x14004e226
cmp r13, 8
ja 0x14004e1fd
mov ebx, 8
jmp 0x14004e209
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmp r13, rax
cmovbe rbx, rax
mov rcx, rbx
call fcn.1400aa420
test rax, rax
jne 0x14004e21d
mov esi, edi
jmp 0x14004e160
mov byte [rbp + 0x20], sil
jmp 0x14004e31a
cmp r13, 0x20
jae 0x14004e236
mov ebx, SafeArrayAllocDescriptor
jmp 0x14004e2e0
mov ebx, 0x208
cmp r13, rbx
jb 0x14004e2e0
cmp r13, 0x50000
jae 0x14004e29c
pxor xmm0, xmm0
cvtsi2sd xmm0, r13
test r13, r13
jns 0x14004e263
addsd xmm0, qword [0x140101ea8]
mulsd xmm0, qword [0x140101ee0]
movsd xmm1, qword [0x140101ed8]
xor ecx, ecx
comisd xmm0, xmm1
jbe 0x14004e292
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x14004e292
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rbx, xmm0
add rbx, rcx
jmp 0x14004e2e0
cmp r13, 0x320000
jae 0x14004e2ae
lea rbx, [r13 + 0x8000]
jmp 0x14004e2e0
cmp r13, 0xc80000
jae 0x14004e2d9
movabs rax, 0x47ae147ae147ae15
mov rbx, r13
mul r13
sub rbx, rdx
shr rbx, 1
add rbx, rdx
shr rbx, 6
add rbx, r13
jmp 0x14004e2e0
lea rbx, [r13 + 0x20000]
cmp rbx, r8
cmova rbx, r8
cmp r10b, 2
jne 0x14004e301
test r9, r9
je 0x14004e301
mov rcx, qword [rbp + 8]
movzx r13d, sil
call fcn.1400cb13c
jmp 0x14004e304
xor r13b, r13b
test rbx, rbx
js 0x14004e350
mov rcx, rbx
call fcn.1400ca9c4
test rax, rax
je 0x14004e350
mov byte [rbp + 0x20], 2
and byte [rbp + 0x21], 0x7f
mov qword [rbp + 8], rax
mov qword [rbp + 0x18], rbx
mov rcx, qword [rbp + 8]
cmp rcx, r12
je 0x14004e33b
lea r8, [r14 + r14]
mov rdx, r12
call fcn.1400cb300
mov rax, qword [rbp + 8]
lea rcx, [r14 + r14]
mov word [rcx + rax], di
mov qword [rbp + 0x10], rcx
jmp 0x14004e160
test r13b, r13b
je 0x14004e366
lea rax, [0x14011b184]
mov qword [rbp + 0x18], rdi
mov qword [rbp + 8], rax
jmp 0x14004e36d
mov rax, qword [rbp + 8]
mov word [rax], di
mov qword [rbp + 0x10], rdi
lea r8, [0x1400e346c]
lea rdx, [0x1400e6570]
jmp 0x14004e152
xor eax, eax
mov r13, qword [rsp + 0x70]
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
movzx ecx, word [rsi]
call fcn.1400cca7c
movzx r11d, ax
add r11d, 0xffffffbf
cmp r11d, 0x11
ja case.0x14004e3c9.67
lea rdx, [0x140000000]
movsxd rax, r11d
mov ebx, 0x80
mov ecx, dword [rdx + rax*4 + 0x4eb94]
add rcx, rdx
jmp rcx
mov edi, 0x40
jmp 0x14004e3f0
mov edi, 0x4000
jmp 0x14004e3f0
mov edi, SafeArrayAllocDescriptor
jmp 0x14004e3f0
mov edi, 0x8000
jmp 0x14004e3f0
mov edi, ebx
jmp 0x14004e3f0
mov edi, 0x100
cmp word [rbp], 0
je 0x14004e401
mov rcx, rbp
call fcn.140081f80
jmp 0x14004e407
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
test eax, eax
je 0x14004e468
mov r8d, eax
xor edx, edx
mov ecx, 0x200
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, rax
test rax, rax
je 0x14004e468
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x14011a308]
xor edi, edi
test ebx, ebx
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
cmovne edi, esi
mov edx, edi
call fcn.140001090
mov r13, qword [rsp + 0x70]
mov eax, 1
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rbp, qword [0x14011a308]
movzx eax, byte [rbp + 0x23]
test al, al
je 0x14004e8be
lea r12, [0x1400e350c]
mov esi, 1
cmp qword [rbp + 8], r12
jne 0x14004e496
mov r13, qword [rbp + 0x10]
shr r13, 1
jmp 0x14004e499
mov r13, rsi
lea rcx, [r13 + 1]
lea rdi, [rcx + rcx]
cmp al, 2
je 0x14004e90b
mov r8, qword [0x140114480]
cmp rdi, r8
jbe 0x14004e4bf
cmp rdi, qword [rbp + 0x18]
ja 0x14004e92f
cmp rcx, 2
jb 0x14004e956
movzx eax, byte [rbp + 0x21]
test al, 2
je 0x14004e4e7
mov rcx, qword [rbp]
and al, 0x3d
mov byte [rbp + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r8, qword [0x140114480]
mov r9, qword [rbp + 0x18]
and byte [rbp + 0x21], 0x82
cmp rdi, r9
jbe 0x14004eaff
movzx r10d, byte [rbp + 0x20]
movzx eax, r10b
cmp r10b, sil
jbe 0x14004e519
cmp al, 2
je 0x14004e532
mov rbx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
jmp 0x14004eaf3
cmp rdi, rbx
ja 0x14004e532
cmp rdi, 8
ja 0x14004e70d
mov ebx, 8
jmp 0x14004e719
cmp rdi, 0x20
jae 0x14004e542
mov ebx, SafeArrayAllocDescriptor
jmp 0x14004e5ec
mov ebx, 0x208
cmp rdi, rbx
jb 0x14004e5ec
cmp rdi, 0x50000
jae 0x14004e5a8
pxor xmm0, xmm0
cvtsi2sd xmm0, rdi
test rdi, rdi
jns 0x14004e56f
addsd xmm0, qword [0x140101ea8]
mulsd xmm0, qword [0x140101ee0]
movsd xmm1, qword [0x140101ed8]
xor ecx, ecx
comisd xmm0, xmm1
jbe 0x14004e59e
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x14004e59e
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rbx, xmm0
add rbx, rcx
jmp 0x14004e5ec
cmp rdi, 0x320000
jae 0x14004e5ba
lea rbx, [rdi + 0x8000]
jmp 0x14004e5ec
cmp rdi, 0xc80000
jae 0x14004e5e5
movabs rax, 0x47ae147ae147ae15
mov rbx, rdi
mul rdi
sub rbx, rdx
shr rbx, 1
add rbx, rdx
shr rbx, 6
add rbx, rdi
jmp 0x14004e5ec
lea rbx, [rdi + 0x20000]
cmp rbx, r8
cmova rbx, r8
cmp r10b, 2
jne 0x14004e60d
test r9, r9
je 0x14004e60d
mov rcx, qword [rbp + 8]
movzx edi, sil
call fcn.1400cb13c
jmp 0x14004e610
xor dil, dil
test rbx, rbx
js 0x14004e626
mov rcx, rbx
call fcn.1400ca9c4
test rax, rax
jne 0x14004eaef
test dil, dil
je 0x14004eb2d
lea rax, [0x14011b184]
xor edi, edi
mov qword [rbp + 8], rax
mov qword [rbp + 0x18], rdi
jmp 0x14004eb36
mov rbp, qword [0x14011a308]
movzx eax, byte [rbp + 0x23]
test al, al
je 0x14004e8be
lea r12, [0x1400e350c]
mov esi, 1
cmp qword [rbp + 8], r12
jne 0x14004e673
mov r13, qword [rbp + 0x10]
shr r13, 1
jmp 0x14004e676
mov r13, rsi
lea rcx, [r13 + 1]
lea rdi, [rcx + rcx]
cmp al, 2
je 0x14004e90b
mov r8, qword [0x140114480]
cmp rdi, r8
jbe 0x14004e69c
cmp rdi, qword [rbp + 0x18]
ja 0x14004e92f
cmp rcx, 2
jb 0x14004e956
movzx eax, byte [rbp + 0x21]
test al, 2
je 0x14004e6c4
mov rcx, qword [rbp]
and al, 0x3d
mov byte [rbp + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r8, qword [0x140114480]
mov r9, qword [rbp + 0x18]
and byte [rbp + 0x21], 0x82
cmp rdi, r9
jbe 0x14004eaff
movzx r10d, byte [rbp + 0x20]
movzx eax, r10b
cmp r10b, sil
jbe 0x14004e6f6
cmp al, 2
je 0x14004e733
mov rbx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
jmp 0x14004eaf3
mov ebx, 0x80
cmp rdi, rbx
ja 0x14004e733
cmp rdi, 8
ja 0x14004e70d
mov ebx, 8
jmp 0x14004e719
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmp rdi, rax
cmovbe rbx, rax
mov rcx, rbx
call fcn.1400aa420
test rax, rax
je 0x14004e9ee
mov byte [rbp + 0x20], sil
jmp 0x14004eaf3
cmp rdi, 0x20
jae 0x14004e743
mov ebx, SafeArrayAllocDescriptor
jmp 0x14004e7ed
mov ebx, 0x208
cmp rdi, rbx
jb 0x14004e7ed
cmp rdi, 0x50000
jae 0x14004e7a9
pxor xmm0, xmm0
cvtsi2sd xmm0, rdi
test rdi, rdi
jns 0x14004e770
addsd xmm0, qword [0x140101ea8]
mulsd xmm0, qword [0x140101ee0]
movsd xmm1, qword [0x140101ed8]
xor ecx, ecx
comisd xmm0, xmm1
jbe 0x14004e79f
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x14004e79f
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rbx, xmm0
add rbx, rcx
jmp 0x14004e7ed
cmp rdi, 0x320000
jae 0x14004e7bb
lea rbx, [rdi + 0x8000]
jmp 0x14004e7ed
cmp rdi, 0xc80000
jae 0x14004e7e6
movabs rax, 0x47ae147ae147ae15
mov rbx, rdi
mul rdi
sub rbx, rdx
shr rbx, 1
add rbx, rdx
shr rbx, 6
add rbx, rdi
jmp 0x14004e7ed
lea rbx, [rdi + 0x20000]
cmp rbx, r8
cmova rbx, r8
cmp r10b, 2
jne 0x14004e80e
test r9, r9
je 0x14004e80e
mov rcx, qword [rbp + 8]
movzx edi, sil
call fcn.1400cb13c
jmp 0x14004e811
xor dil, dil
test rbx, rbx
js 0x14004e827
mov rcx, rbx
call fcn.1400ca9c4
test rax, rax
jne 0x14004eaef
test dil, dil
je 0x14004eb2d
lea rax, [0x14011b184]
xor edi, edi
mov qword [rbp + 0x18], rdi
mov qword [rbp + 8], rax
jmp 0x14004eb36
mov rcx, rbp
call fcn.140081f80
mov esi, eax
test eax, eax
je 0x14004e8af
mov r8d, eax
xor edx, edx
mov ecx, 0x1f0fff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14004e8af
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x14011a308]
xor edi, edi
test ebx, ebx
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
cmovne edi, esi
mov edx, edi
call fcn.140001090
mov r13, qword [rsp + 0x70]
mov eax, 1
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rbp, qword [0x14011a308]
movzx eax, byte [rbp + 0x23]
test al, al
jne 0x14004e8e1
mov rcx, qword [rbp + 0x10]
lea rdx, [0x1400e350c]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400b1500
mov esi, eax
jmp 0x14004e16d
lea r12, [0x1400e350c]
mov esi, 1
cmp qword [rbp + 8], r12
jne 0x14004e8fc
mov r13, qword [rbp + 0x10]
shr r13, 1
jmp 0x14004e8ff
mov r13, rsi
lea rcx, [r13 + 1]
lea rdi, [rcx + rcx]
cmp al, 2
jne 0x14004e91d
mov rdx, r13
mov rcx, r12
call fcn.140006090
mov esi, eax
jmp 0x14004e16d
mov r8, qword [0x140114480]
cmp rdi, r8
jbe 0x14004e950
cmp rdi, qword [rbp + 0x18]
jbe 0x14004e950
lea r8, [0x1400e346c]
lea rdx, [0x1400fff00]
lea rcx, [0x14011b1d0]
call fcn.140040760
mov esi, eax
jmp 0x14004e16d
cmp rcx, 2
jae 0x14004e96a
xor r8d, r8d
mov rcx, rbp
lea edx, [r8 + 4]
call fcn.1400b1bb0
jmp 0x14004e16d
movzx eax, byte [rbp + 0x21]
test al, 2
je 0x14004e988
mov rcx, qword [rbp]
and al, 0x3d
mov byte [rbp + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r8, qword [0x140114480]
mov r9, qword [rbp + 0x18]
and byte [rbp + 0x21], 0x82
cmp rdi, r9
jbe 0x14004eaff
movzx r10d, byte [rbp + 0x20]
movzx eax, r10b
cmp r10b, sil
jbe 0x14004e9ba
cmp al, 2
je 0x14004e9f7
mov rbx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
jmp 0x14004eaf3
mov ebx, 0x80
cmp rdi, rbx
ja 0x14004e9f7
cmp rdi, 8
ja 0x14004e9d1
mov ebx, 8
jmp 0x14004e9dd
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmp rdi, rax
cmovbe rbx, rax
mov rcx, rbx
call fcn.1400aa420
test rax, rax
jne 0x14004e72a
xor edi, edi
mov esi, edi
jmp 0x14004e16d
cmp rdi, 0x20
jae 0x14004ea07
mov ebx, SafeArrayAllocDescriptor
jmp 0x14004eab1
mov ebx, 0x208
cmp rdi, rbx
jb 0x14004eab1
cmp rdi, 0x50000
jae 0x14004ea6d
pxor xmm0, xmm0
cvtsi2sd xmm0, rdi
test rdi, rdi
jns 0x14004ea34
addsd xmm0, qword [0x140101ea8]
mulsd xmm0, qword [0x140101ee0]
movsd xmm1, qword [0x140101ed8]
xor ecx, ecx
comisd xmm0, xmm1
jbe 0x14004ea63
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x14004ea63
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rbx, xmm0
add rbx, rcx
jmp 0x14004eab1
cmp rdi, 0x320000
jae 0x14004ea7f
lea rbx, [rdi + 0x8000]
jmp 0x14004eab1
cmp rdi, 0xc80000
jae 0x14004eaaa
movabs rax, 0x47ae147ae147ae15
mov rbx, rdi
mul rdi
sub rbx, rdx
shr rbx, 1
add rbx, rdx
shr rbx, 6
add rbx, rdi
jmp 0x14004eab1
lea rbx, [rdi + 0x20000]
cmp rbx, r8
cmova rbx, r8
cmp r10b, 2
jne 0x14004ead2
test r9, r9
je 0x14004ead2
mov rcx, qword [rbp + 8]
movzx edi, sil
call fcn.1400cb13c
jmp 0x14004ead5
xor dil, dil
test rbx, rbx
js 0x14004e827
mov rcx, rbx
call fcn.1400ca9c4
test rax, rax
je 0x14004e827
mov byte [rbp + 0x20], 2
mov qword [rbp + 8], rax
mov qword [rbp + 0x18], rbx
and byte [rbp + 0x21], 0x7f
mov rcx, qword [rbp + 8]
cmp rcx, r12
je 0x14004eb15
lea r8, [r13 + r13]
mov rdx, r12
call fcn.1400cb300
mov rax, qword [rbp + 8]
lea rcx, [r13 + r13]
xor edi, edi
mov word [rcx + rax], di
mov qword [rbp + 0x10], rcx
jmp 0x14004e16d
mov rax, qword [rbp + 8]
xor edi, edi
mov word [rax], di
lea r8, [0x1400e346c]
lea rdx, [0x1400e6570]
lea rcx, [0x14011b1d0]
mov qword [rbp + 0x10], rdi
call fcn.140040760
mov esi, eax
jmp 0x14004e16d
cmp word [rbp], 0
je 0x14004eb6c
mov rcx, rbp
call fcn.140081f80
jmp 0x14004eb72
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [0x14011a308]
mov edx, eax
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.140001090
mov eax, 1
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret