Function at 0x1400bf090
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x10058
call fcn.1400e0960
sub rsp, rax
mov edi, r8d
mov r12, rdx
mov rsi, rcx
test rcx, rcx
je 0x1400bf0be
call fcn.140024290
mov ebp, dword [rsp + 0x100b0]
mov r13d, dword [rsp + 0x100b8]
mov eax, 0x1f4
test ebp, ebp
mov r14d, 1
mov qword [rsp + 0x100a0], rbx
cmove ebp, eax
cmp r13d, 1
mov eax, gethostbyname
cmovl r13d, eax
cmp edi, r14d
cmovl edi, r14d
test r12, r12
je 0x1400bf1a5
lea rax, [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x30], rax
mov edx, 0x406
mov rcx, r12
mov dword [rsp + 0x28], 0x7d0
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
je 0x1400bf1a5
movsxd rax, edi
cmp rax, qword [rsp + 0x48]
jg 0x1400bf1a5
lea rdx, [rsp + 0x100b0]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x100b0]
xor edx, edx
lea ecx, [rdx + 0x38]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400bf1a5
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x10000
mov rcx, rax
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x10098], rax
test rax, rax
jne 0x1400bf1da
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rsi, rsi
lea rbp, [0x1400f566c]
lea rcx, [0x1400f5bf4]
cmovne rcx, rbp
xor edx, edx
call fcn.14004daa0
mov rbx, qword [rsp + 0x100a0]
add rsp, 0x10058
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor eax, eax
mov qword [rsp + 0x10050], r15
dec edi
mov word [rsp + 0x50], ax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movsxd rdi, edi
mov r15d, eax
nop word [rax + rax]
lea rax, [rsp + 0x10090]
xor r9d, r9d
mov r8, rdi
mov qword [rsp + 0x30], rax
mov edx, 0x40c
mov rcx, r12
mov dword [rsp + 0x28], 0x7d0
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov ebx, 8
test rax, rax
je 0x1400bf2da
mov eax, 0x7fff
cmp word [rsp + 0x10090], ax
ja 0x1400bf610
mov r9, qword [rsp + 0x10098]
lea rax, [rsp + 0x10090]
mov r8, rdi
mov qword [rsp + 0x30], rax
mov edx, 0x40d
mov rcx, r12
mov dword [rsp + 0x28], 0x7d0
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
je 0x1400bf2da
movzx eax, word [rsp + 0x10090]
mov rdx, qword [rsp + 0x10098]
mov rcx, qword [rsp + 0x40]
inc eax
lea r8, [rsp + 0x50]
movsxd r9, eax
xor eax, eax
add r9, r9
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400bf609
mov rdx, qword [rsp + 0x100a8]
lea rcx, [rsp + 0x50]
call fcn.1400be3b0
test al, al
jne 0x1400bf31d
test rsi, rsi
jne 0x1400bf8e7
mov rcx, r12
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400bfb81
test ebp, ebp
js 0x1400bf30d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [r15 + rbp]
sub ecx, eax
cmp ecx, 5
jle 0x1400bf62e
mov edx, r14d
mov ecx, r13d
call fcn.140001b60
jmp 0x1400bf200
mov rdi, qword [0x14012b620]
movzx eax, byte [rdi + 0x23]
test al, al
jne 0x1400bf34d
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400f1614]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], r14b
call fcn.1400bd4c0
jmp 0x1400bf610
lea r15, [0x1400f1614]
cmp qword [rdi + 8], r15
jne 0x1400bf363
mov r13, qword [rdi + 0x10]
shr r13, 1
jmp 0x1400bf366
mov r13, r14
lea rcx, [r13 + 1]
lea r12, [rcx + rcx]
cmp al, 2
jne 0x1400bf382
mov rdx, r13
mov rcx, r15
call fcn.140006d40
jmp 0x1400bf610
cmp r12, qword [0x1401255a0]
jbe 0x1400bf3b0
cmp r12, qword [rdi + 0x18]
jbe 0x1400bf3b0
lea r8, [0x1400f1524]
lea rdx, str.Memory_limit_reached__see_MaxMem_in_the_help_file_.
lea rcx, [0x14012c5c0]
call fcn.14004e450
jmp 0x1400bf610
cmp rcx, 2
jae 0x1400bf3ca
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 4]
call fcn.1400bdb70
jmp 0x1400bf610
movzx eax, byte [rdi + 0x21]
test al, 2
je 0x1400bf3e0
mov rcx, qword [rdi]
and al, 0x3d
mov byte [rdi + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, qword [rdi + 0x18]
and byte [rdi + 0x21], 0x82
cmp r12, rcx
jbe 0x1400bf5cf
movzx r8d, byte [rdi + 0x20]
movzx eax, r8b
cmp r8b, r14b
jbe 0x1400bf418
cmp al, 2
je 0x1400bf46a
mov rbp, qword [rsp + 0x10090]
mov rax, qword [rsp + 0x10090]
jmp 0x1400bf570
cmp r12, 0x80
ja 0x1400bf46a
cmp r12, rbx
ja 0x1400bf431
mov rbp, rbx
mov r12d, reloc.WSOCK32.dll_recv
jmp 0x1400bf444
cmp r12, 0x10
mov ebp, 0x80
mov r12d, reloc.WSOCK32.dll_recv
cmovbe ebp, r12d
mov rcx, rbp
call fcn.1400b5f20
test rax, rax
je 0x1400bf616
and byte [rdi + 0x21], 0x7f
mov byte [rdi + 0x20], r14b
mov qword [rdi + 8], rax
mov qword [rdi + 0x18], rbp
jmp 0x1400bf5d5
cmp r12, 0x20
jae 0x1400bf47a
mov ebp, SafeArrayAllocDescriptor
jmp 0x1400bf52f
cmp r12, 0x208
jae 0x1400bf48d
mov ebp, 0x208
jmp 0x1400bf52f
cmp r12, 0x50000
jae 0x1400bf4e9
pxor xmm0, xmm0
cvtsi2sd xmm0, r12
test r12, r12
jns 0x1400bf4ac
addsd xmm0, qword [0x140112018]
mulsd xmm0, qword [0x140112050]
xor eax, eax
comisd xmm0, xmmword [0x140112048]
jbe 0x1400bf4df
subsd xmm0, qword [0x140112048]
comisd xmm0, xmmword [0x140112048]
jae 0x1400bf4df
movabs rdx, 0x8000000000000000
mov rax, rdx
cvttsd2si rbp, xmm0
add rbp, rax
jmp 0x1400bf52f
cmp r12, 0x320000
jae 0x1400bf4fc
lea rbp, [r12 + 0x8000]
jmp 0x1400bf52f
cmp r12, 0xc80000
jae 0x1400bf527
movabs rax, 0x47ae147ae147ae15
mov rbp, r12
mul r12
sub rbp, rdx
shr rbp, 1
add rbp, rdx
shr rbp, 6
add rbp, r12
jmp 0x1400bf52f
lea rbp, [r12 + 0x20000]
mov rax, qword [0x1401255a0]
cmp rbp, rax
cmova rbp, rax
cmp r8b, 2
jne 0x1400bf557
test rcx, rcx
je 0x1400bf557
mov rcx, qword [rdi + 8]
movzx r12d, r14b
call fcn.1400d6e48
jmp 0x1400bf55a
xor r12b, r12b
test rbp, rbp
js 0x1400bf584
mov rcx, rbp
call fcn.1400d6d88
test rax, rax
je 0x1400bf584
mov byte [rdi + 0x20], 2
and byte [rdi + 0x21], 0x7f
mov r12d, reloc.WSOCK32.dll_recv
mov qword [rdi + 8], rax
mov qword [rdi + 0x18], rbp
jmp 0x1400bf5d5
lea r13, [0x14012c4b8]
test r12b, r12b
je 0x1400bf59c
xor eax, eax
mov qword [rdi + 8], r13
mov qword [rdi + 0x18], rax
jmp 0x1400bf5a9
mov rax, qword [rdi + 8]
xor r15d, r15d
mov word [rax], r15w
xor eax, eax
lea r8, [0x1400f1524]
lea rdx, str.Out_of_memory.
lea rcx, [0x14012c5c0]
mov qword [rdi + 0x10], rax
call fcn.14004e450
mov r12d, reloc.WSOCK32.dll_recv
jmp 0x1400bf61d
mov r12d, reloc.WSOCK32.dll_recv
mov rcx, qword [rdi + 8]
cmp rcx, r15
je 0x1400bf5eb
lea r8, [r13 + r13]
mov rdx, r15
call fcn.1400d78b0
mov rax, qword [rdi + 8]
lea rcx, [r13 + r13]
xor r15d, r15d
mov word [rcx + rax], r15w
mov qword [rdi + 0x10], rcx
lea r13, [0x14012c4b8]
jmp 0x1400bf620
xor eax, eax
mov word [rsp + 0x50], ax
mov r12d, reloc.WSOCK32.dll_recv
lea r13, [0x14012c4b8]
xor r15d, r15d
test rsi, rsi
je 0x1400bfb81
jmp 0x1400bf8f7
mov rdi, qword [0x14012b620]
movzx eax, byte [rdi + 0x23]
test al, al
jne 0x1400bf65e
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400f566c]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], r14b
call fcn.1400bd4c0
jmp 0x1400bfb81
lea rbp, [0x1400f566c]
cmp qword [rdi + 8], rbp
jne 0x1400bf674
mov r12, qword [rdi + 0x10]
shr r12, 1
jmp 0x1400bf677
mov r12, r14
lea rdx, [r12 + 1]
lea rsi, [rdx + rdx]
cmp al, 2
jne 0x1400bf694
mov rdx, r12
mov rcx, rbp
call fcn.140006d40
jmp 0x1400bfb81
mov rcx, qword [0x1401255a0]
cmp rsi, rcx
jbe 0x1400bf6c5
cmp rsi, qword [rdi + 0x18]
jbe 0x1400bf6c5
lea r8, [0x1400f1524]
lea rdx, str.Memory_limit_reached__see_MaxMem_in_the_help_file_.
lea rcx, [0x14012c5c0]
call fcn.14004e450
jmp 0x1400bfb81
cmp rdx, 2
jae 0x1400bf6df
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 4]
call fcn.1400bdb70
jmp 0x1400bfb81
movzx eax, byte [rdi + 0x21]
test al, 2
je 0x1400bf6fc
mov rcx, qword [rdi]
and al, 0x3d
mov byte [rdi + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, qword [0x1401255a0]
mov r8, qword [rdi + 0x18]
and byte [rdi + 0x21], 0x82
cmp rsi, r8
jbe 0x1400bf871
movzx r9d, byte [rdi + 0x20]
movzx eax, r9b
cmp r9b, r14b
jbe 0x1400bf734
cmp al, 2
je 0x1400bf76c
mov rbx, qword [rsp + 0x10090]
mov rax, qword [rsp + 0x10090]
jmp 0x1400bf865
cmp rsi, 0x80
ja 0x1400bf76c
cmp rsi, rbx
jbe 0x1400bf752
mov eax, reloc.WSOCK32.dll_recv
mov ebx, 0x80
cmp rsi, rax
cmovbe ebx, eax
mov rcx, rbx
call fcn.1400b5f20
test rax, rax
je 0x1400bfb81
mov byte [rdi + 0x20], r14b
jmp 0x1400bf865
cmp rsi, 0x20
jae 0x1400bf77c
mov ebx, SafeArrayAllocDescriptor
jmp 0x1400bf82b
cmp rsi, 0x208
jae 0x1400bf78f
mov ebx, 0x208
jmp 0x1400bf82b
cmp rsi, 0x50000
jae 0x1400bf7e7
pxor xmm0, xmm0
cvtsi2sd xmm0, rsi
test rsi, rsi
jns 0x1400bf7ae
addsd xmm0, qword [0x140112018]
mulsd xmm0, qword [0x140112050]
movsd xmm1, qword [0x140112048]
xor eax, eax
comisd xmm0, xmm1
jbe 0x1400bf7dd
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x1400bf7dd
movabs rdx, 0x8000000000000000
mov rax, rdx
cvttsd2si rbx, xmm0
add rbx, rax
jmp 0x1400bf82b
cmp rsi, 0x320000
jae 0x1400bf7f9
lea rbx, [rsi + 0x8000]
jmp 0x1400bf82b
cmp rsi, 0xc80000
jae 0x1400bf824
movabs rax, 0x47ae147ae147ae15
mov rbx, rsi
mul rsi
sub rbx, rdx
shr rbx, 1
add rbx, rdx
shr rbx, 6
add rbx, rsi
jmp 0x1400bf82b
lea rbx, [rsi + 0x20000]
cmp rbx, rcx
cmova rbx, rcx
cmp r9b, 2
jne 0x1400bf84c
test r8, r8
je 0x1400bf84c
mov rcx, qword [rdi + 8]
movzx esi, r14b
call fcn.1400d6e48
jmp 0x1400bf84f
xor sil, sil
test rbx, rbx
js 0x1400bf89f
mov rcx, rbx
call fcn.1400d6d88
test rax, rax
je 0x1400bf89f
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, rbp
je 0x1400bf886
lea r8, [r12 + r12]
mov rdx, rbp
call fcn.1400d78b0
mov rax, qword [rdi + 8]
lea rcx, [r12 + r12]
xor r15d, r15d
mov word [rcx + rax], r15w
mov qword [rdi + 0x10], rcx
jmp 0x1400bfb81
test sil, sil
je 0x1400bf8b7
lea r13, [0x14012c4b8]
xor eax, eax
mov qword [rdi + 8], r13
mov qword [rdi + 0x18], rax
jmp 0x1400bf8c4
mov rax, qword [rdi + 8]
xor r15d, r15d
mov word [rax], r15w
xor eax, eax
lea r8, [0x1400f1524]
lea rdx, str.Out_of_memory.
lea rcx, [0x14012c5c0]
mov qword [rdi + 0x10], rax
call fcn.14004e450
jmp 0x1400bfb81
mov r12d, reloc.WSOCK32.dll_recv
lea r13, [0x14012c4b8]
xor r15d, r15d
movzx edx, byte [rsi + 0x23]
test dl, dl
jne 0x1400bf921
mov rcx, qword [rsi + 0x10]
lea rdx, [rsp + 0x50]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], r14b
call fcn.1400bd4c0
mov r14d, eax
jmp 0x1400bfb81
lea rax, [rsp + 0x50]
cmp qword [rsi + 8], rax
jne 0x1400bf935
mov rbp, qword [rsi + 0x10]
shr rbp, 1
jmp 0x1400bf94a
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
xor eax, eax
repne scasw ax, word [rdi]
not rcx
lea rbp, [rcx - 1]
lea rax, [rbp + 1]
lea rdi, [rax + rax]
cmp dl, 2
jne 0x1400bf96c
lea rcx, [rsp + 0x50]
mov rdx, rbp
call fcn.140006d40
mov r14d, eax
jmp 0x1400bfb81
cmp rdi, qword [0x1401255a0]
jbe 0x1400bf99d
cmp rdi, qword [rsi + 0x18]
jbe 0x1400bf99d
lea r8, [0x1400f1524]
lea rdx, str.Memory_limit_reached__see_MaxMem_in_the_help_file_.
lea rcx, [0x14012c5c0]
call fcn.14004e450
mov r14d, eax
jmp 0x1400bfb81
cmp rax, 2
jae 0x1400bf9b7
xor r8d, r8d
mov rcx, rsi
lea edx, [r8 + 4]
call fcn.1400bdb70
jmp 0x1400bfb81
movzx eax, byte [rsi + 0x21]
test al, 2
je 0x1400bf9cd
mov rcx, qword [rsi]
and al, 0x3d
mov byte [rsi + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, qword [rsi + 0x18]
and byte [rsi + 0x21], 0x82
cmp rdi, rcx
jbe 0x1400bfb52
movzx r8d, byte [rsi + 0x20]
movzx eax, r8b
cmp r8b, r14b
jbe 0x1400bfa05
cmp al, 2
je 0x1400bfa3e
mov rbx, qword [rsp + 0x10090]
mov rax, qword [rsp + 0x10090]
jmp 0x1400bfb46
cmp rdi, 0x80
ja 0x1400bfa3e
cmp rdi, rbx
jbe 0x1400bfa20
mov ebx, 0x80
cmp rdi, 0x10
cmovbe rbx, r12
mov rcx, rbx
call fcn.1400b5f20
test rax, rax
jne 0x1400bfa35
mov r14d, eax
jmp 0x1400bfb81
mov byte [rsi + 0x20], r14b
jmp 0x1400bfb46
cmp rdi, 0x20
jae 0x1400bfa4e
mov ebx, SafeArrayAllocDescriptor
jmp 0x1400bfb01
cmp rdi, 0x208
jae 0x1400bfa61
mov ebx, 0x208
jmp 0x1400bfb01
cmp rdi, 0x50000
jae 0x1400bfabd
pxor xmm0, xmm0
cvtsi2sd xmm0, rdi
test rdi, rdi
jns 0x1400bfa80
addsd xmm0, qword [0x140112018]
mulsd xmm0, qword [0x140112050]
xor eax, eax
comisd xmm0, xmmword [0x140112048]
jbe 0x1400bfab3
subsd xmm0, qword [0x140112048]
comisd xmm0, xmmword [0x140112048]
jae 0x1400bfab3
movabs rdx, 0x8000000000000000
mov rax, rdx
cvttsd2si rbx, xmm0
add rbx, rax
jmp 0x1400bfb01
cmp rdi, 0x320000
jae 0x1400bfacf
lea rbx, [rdi + 0x8000]
jmp 0x1400bfb01
cmp rdi, 0xc80000
jae 0x1400bfafa
movabs rax, 0x47ae147ae147ae15
mov rbx, rdi
mul rdi
sub rbx, rdx
shr rbx, 1
add rbx, rdx
shr rbx, 6
add rbx, rdi
jmp 0x1400bfb01
lea rbx, [rdi + 0x20000]
mov rax, qword [0x1401255a0]
cmp rbx, rax
cmova rbx, rax
cmp r8b, 2
jne 0x1400bfb29
test rcx, rcx
je 0x1400bfb29
mov rcx, qword [rsi + 8]
movzx edi, r14b
call fcn.1400d6e48
jmp 0x1400bfb2c
xor dil, dil
test rbx, rbx
js 0x1400bfbb9
mov rcx, rbx
call fcn.1400d6d88
test rax, rax
je 0x1400bfbb9
mov byte [rsi + 0x20], 2
and byte [rsi + 0x21], 0x7f
mov qword [rsi + 8], rax
mov qword [rsi + 0x18], rbx
mov rcx, qword [rsi + 8]
lea rax, [rsp + 0x50]
cmp rcx, rax
je 0x1400bfb6f
lea r8, [rbp + rbp]
lea rdx, [rsp + 0x50]
call fcn.1400d78b0
mov rax, qword [rsi + 8]
lea rcx, [rbp + rbp]
mov word [rcx + rax], r15w
mov qword [rsi + 0x10], rcx
mov rdi, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x10098]
mov r9d, 0x8000
mov rcx, rdi
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15, qword [rsp + 0x10050]
mov eax, r14d
jmp 0x1400bf1c1
test dil, dil
je 0x1400bfbca
xor eax, eax
mov qword [rsi + 8], r13
mov qword [rsi + 0x18], rax
jmp 0x1400bfbd4
mov rax, qword [rsi + 8]
mov word [rax], r15w
xor eax, eax
lea r8, [0x1400f1524]
lea rdx, str.Out_of_memory.
lea rcx, [0x14012c5c0]
mov qword [rsi + 0x10], rax
call fcn.14004e450
mov r14d, eax
jmp 0x1400bfb81