Function at 0x1400afc70
Capabilities:
Check for time delay via gettickcount
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov rax, qword [rbp + 0x420]
test r8, r8
mov r14d, 0x6400000
cmovne r14, r8
mov r15d, r9d
mov rbx, rdx
mov rdi, rcx
test rax, rax
je 0x1400afcb3
mov dword [rax], 1
lea rcx, str._3434_.
call fcn.1400dd2e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400b0231
test rdi, rdi
je 0x1400b0231
cmp word [rdi], 0
je 0x1400b0231
lea rcx, [0x14014fdf8]
mov qword [rsp + 0x500], r12
mov qword [rsp + 0x508], r13
call fcn.1400dd480
mov rcx, rsi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x14014fe10]
mov r13, rax
call fcn.1400dd480
mov rcx, rsi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x14014fe30]
mov r12, rax
call fcn.1400dd480
mov rcx, rsi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x14014fe50]
mov qword [rsp + 0x48], rax
call fcn.1400dd480
mov rcx, rsi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x14014fe70]
mov rsi, rax
mov qword [rbp + 0x410], rax
call fcn.1400dd480
mov rcx, qword [rsp + 0x30]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x70], rax
test r13, r13
je 0x1400afe6f
test r12, r12
je 0x1400afe6f
cmp qword [rsp + 0x48], 0
je 0x1400afe6f
test rsi, rsi
je 0x1400afe6f
test rax, rax
je 0x1400afe6f
mov esi, 0x84000000
movzx eax, word [rdi]
cmp ax, 0x20
je 0x1400afdd3
cmp ax, 9
jne 0x1400afdd9
add rdi, 2
jmp 0x1400afdc4
cmp word [rdi], 0x2a
jne 0x1400afe1a
add rdi, 2
mov rcx, rdi
call fcn.140023090
lea rdx, [0x14012ed90]
mov rcx, rdi
mov rsi, rax
call fcn.14000b9d0
test rax, rax
je 0x1400afe1a
mov rdi, rax
movzx ecx, word [rdi]
cmp cx, 0x20
je 0x1400afe14
cmp cx, 9
jne 0x1400afe1a
add rdi, 2
jmp 0x1400afe05
mov rcx, qword [0x140174cf8]
xor eax, eax
xor r9d, r9d
lea edx, [rax + 4]
xor r8d, r8d
mov dword [rsp + 0x20], eax
call r13
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400afe6f
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], esi
call r12
mov r13, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x1400afea3
mov rcx, qword [rsp + 0x50]
call qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov r12, qword [rsp + 0x500]
mov r13, qword [rsp + 0x508]
mov rbx, qword [rsp + 0x518]
add rsp, 0x4d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rbx + 8]
xor eax, eax
xor esi, esi
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x30]
mov dword [rsp + 0x58], gethostname
mov dword [rbp - 0x80], 0x400
mov r12d, esi
mov qword [rsp + 0x78], rax
test rcx, rcx
je 0x1400afef1
mov r8, qword [rbx]
xor edx, edx
call fcn.14010ec60
mov rcx, qword [rbx + 8]
mov edx, 0x200000
mov qword [rbx], 0x100000
call fcn.1401099a4
test rax, rax
jne 0x1400aff1d
mov rcx, qword [rbx + 8]
call fcn.140108f48
mov qword [rbx + 8], rsi
mov qword [rbx], rsi
jmp 0x1400aff27
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], esi
mov word [rax], si
mov rsi, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movzx ecx, word [rdi]
mov dword [rsp + 0x38], eax
cmp cx, 0x68
je 0x1400b00cc
cmp cx, 0x48
je 0x1400b00cc
mov rcx, r13
mov r13, qword [rbp - 0x70]
lea r9, [rbp + 0x410]
lea rdx, [rbp - 0x30]
mov r8d, 0x400
call r13
test eax, eax
je 0x1400b0073
mov edi, 0x100000
nop word [rax + rax]
cmp dword [rbp + 0x410], 0
je 0x1400b0073
test r15d, r15d
je 0x1400affa5
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x38]
cmp eax, r15d
ja 0x1400b01de
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140169c00]
sub eax, dword [0x140171eac]
cmp eax, dword [rcx + 0x118]
jbe 0x1400afff5
xor eax, eax
lea rcx, [rbp - 0x68]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400affe9
mov edx, 1
or ecx, 0xffffffff
call fcn.140001760
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140171eac], eax
mov eax, dword [rbp - 0x80]
lea ecx, [r12 + rax + 3]
test r14, r14
je 0x1400b000d
mov eax, ecx
cmp r14, rax
jbe 0x1400b01fb
cmp edi, ecx
ja 0x1400b0035
add edi, 0x100000
mov edx, edi
jne 0x1400b0021
mov rsi, qword [rbx + 8]
jmp 0x1400b002c
mov rcx, rbx
call fcn.14001aef0
mov rsi, rax
test rsi, rsi
je 0x1400b01fb
mov r8d, dword [rbp + 0x410]
mov ecx, r12d
lea rdx, [rbp - 0x30]
add rcx, rsi
call fcn.140109100
mov rcx, qword [rsp + 0x40]
add r12d, dword [rbp + 0x410]
lea r9, [rbp + 0x410]
lea rdx, [rbp - 0x30]
mov r8d, 0x400
call r13
test eax, eax
jne 0x1400aff80
xor r13d, r13d
mov rcx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
lea eax, [r12 + 1]
mov byte [rax + rsi], 0
lea eax, [r12 + 2]
mov ebx, r12d
mov byte [rax + rsi], 0
mov byte [rbx + rsi], 0
call rdi
mov rcx, qword [rsp + 0x50]
call rdi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [rbp + 0x420]
test rax, rax
je 0x1400b00c4
mov ecx, dword [rax]
cmp ecx, 2
cmovb ecx, r13d
mov dword [rax], ecx
mov rax, rbx
jmp 0x1400afe7c
xor r9d, r9d
mov rcx, r13
mov r13, qword [rbp + 0x410]
lea r8d, [r9 + 8]
lea rdx, [rsp + 0x58]
call r13
test eax, eax
je 0x1400b0073
mov edi, 0x100000
nop
cmp dword [rbp - 0x80], 0
je 0x1400b0073
test r15d, r15d
je 0x1400b0112
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x38]
cmp eax, r15d
ja 0x1400b01de
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140169c00]
sub eax, dword [0x140171eac]
cmp eax, dword [rcx + 0x118]
jbe 0x1400b0162
xor eax, eax
lea rcx, [rbp - 0x68]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400b0156
mov edx, 1
or ecx, 0xffffffff
call fcn.140001760
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140171eac], eax
mov r8d, dword [rbp - 0x80]
lea ecx, [r12 + r8 + 3]
test r14, r14
je 0x1400b017b
mov eax, ecx
cmp r14, rax
jbe 0x1400b01fb
cmp edi, ecx
ja 0x1400b01a3
add edi, 0x100000
mov edx, edi
jne 0x1400b018f
mov rsi, qword [rbx + 8]
jmp 0x1400b019e
mov rcx, rbx
call fcn.14001aef0
mov r8d, dword [rbp - 0x80]
mov rsi, rax
test rsi, rsi
je 0x1400b01fb
mov ecx, r12d
lea rdx, [rbp - 0x30]
add rcx, rsi
call fcn.140109100
add r12d, dword [rbp - 0x80]
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
lea rdx, [rsp + 0x58]
mov dword [rbp - 0x80], 0x400
lea r8d, [r9 + 8]
call r13
test eax, eax
jne 0x1400b00f0
jmp 0x1400b0073
mov rax, qword [rbp + 0x420]
test rax, rax
je 0x1400b01f0
mov dword [rax], 2
xor r13d, r13d
mov r12d, r13d
jmp 0x1400b0076
mov rcx, qword [rbx + 8]
xor r13d, r13d
mov r12d, r13d
test rcx, rcx
je 0x1400b0221
mov r8, qword [rbx]
xor edx, edx
call fcn.14010ec60
mov rcx, qword [rbx + 8]
call fcn.140108f48
mov qword [rbx + 8], r13
mov qword [rbx + 8], r13
mov qword [rbx], r13
mov dword [rbx + 0x10], r13d
jmp 0x1400b0076
xor eax, eax
jmp 0x1400afe8c