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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
or rdx, 0xffffffffffffffff
mov rcx, rax
mov r8, rdx
call qword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
mov rcx, qword [0x1400f1ca0]
xor r9d, r9d
mov r8, rbx
xor edx, edx
add rsp, 0x20
pop rbx
jmp 0x14003ae74
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x230
xor edx, edx
mov r12, r8
lea rcx, [rax + 0x18]
lea r8d, [rdx + 5]
call fcn.140020840
lea rcx, [rsp + 0x270]
mov qword [rsp + 0x270], rax
call fcn.140011910
xor eax, eax
lea r14d, [rax + 1]
mov rsi, rax
mov byte [0x1400f1f01], r14b
call fcn.140015564
xor edi, edi
movzx ecx, al
mov dword [rsp + 0x80], eax
movzx ebp, di
mov r13w, cx
shl r13w, 8
or r13w, cx
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x68], r13d
call fcn.14004be6c
lea rbx, [0x1400f1e30]
or r15, 0xffffffffffffffff
lea r8, str.PeExe
mov rcx, rbx
mov edx, r15d
call fcn.14004ed64
lea rcx, [rsp + 0xa8]
call fcn.14004be6c
mov rcx, qword [0x1400f1ca0]
lea r9, [rsp + 0xa8]
lea r8, str.SCRIPTINIT
lea edx, [rsi + 0x64]
mov dword [rsp + 0xb0], edi
mov dword [rsp + 0xb4], edi
mov qword [rsp + 0x20], rdi
call fcn.140017f3c
lea rcx, [rsp + 0xa8]
mov edx, r14d
call fcn.1400aa188
mov r11, qword [rsp + 0xa8]
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0xd0], r11
call fcn.140011910
cmp dword [rsp + 0xb0], 4
mov rcx, qword [rsp + 0xd0]
jg 0x14003afa7
mov word [r11], di
mov word [rcx], di
mov r11, qword [rsp + 0xa8]
cmp word [rcx], di
je 0x14003b0d0
lea rdx, [0x1400db370]
mov r8d, 0x40
mov rcx, rbx
call fcn.140020148
mov rbx, qword [rsp + 0xa8]
mov qword [rsp + 0xa8], rdi
mov dil, byte [0x1400ef210]
lea rcx, [rsp + 0xe8]
mov rdx, r12
mov qword [rsp + 0xd0], rbx
mov byte [0x1400ef210], r14b
call fcn.140058920
mov r8, qword [rsp + 0xe8]
mov rdx, rbx
lea rbx, [0x1400f1e30]
lea r9, [0x1400d63f4]
mov rcx, rbx
call fcn.1400a36d0
lea rdx, str.__Autoapp
mov r9d, r15d
xor r8d, r8d
mov rcx, rbx
mov byte [0x1400ef210], dil
movsxd rsi, eax
call fcn.140017d60
xor edi, edi
cmp rax, rdi
je 0x14003b05b
mov rdx, qword [rax]
cmp word [rdx], di
je 0x14003b051
mov bp, word [rdx]
add rdx, 2
lea rcx, [rsp + 0x50]
call fcn.140058a38
lea rdx, str.__bInitWin
mov r9d, r15d
xor r8d, r8d
mov rcx, rbx
call fcn.140017d60
cmp rax, rdi
je 0x14003b0bb
mov byte [0x1400f1dbc], r14b
mov rax, qword [rax]
lea rdx, [rsp + 0x9c]
lea rcx, [rsp + 0x100]
mov dword [rsp + 0x9c], edi
mov qword [rsp + 0x100], rax
call fcn.14004fc04
mov r11d, dword [rsp + 0x9c]
cmp r11d, edi
jle 0x14003b0bb
and r11b, 0x3f
or byte [0x1400f1dbc], r11b
lea rcx, [rsp + 0xe8]
call fcn.140044f24
mov r11, qword [rsp + 0xa8]
mov rcx, r11
call fcn.140044ed8
lea rcx, [rsp + 0xa8]
call fcn.140044f24
lea r8, str.PeExe
mov edx, r14d
mov rcx, rbx
call fcn.14004ed64
lea rcx, [rsp + 0x88]
call fcn.14004be6c
mov ecx, 0x2a
movzx r14d, r13w
shl r14d, 0x10
mov dword [rsp + 0x90], edi
mov dword [rsp + 0x94], edi
lea eax, [rcx - 6]
mov rbx, rdi
mov dword [rsp + 0x58], r14d
cmp cx, bp
je 0x14003b1a2
cmp ax, bp
je 0x14003b1a2
mov rax, qword [rsp + 0x50]
cmp word [rax], di
jne 0x14003b1a2
lea edx, [rcx + 0x3b]
mov rcx, qword [0x1400f1ca0]
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x88]
lea r8, [0x1400db260]
mov qword [rsp + 0x20], rax
call fcn.140017f3c
mov r14d, dword [rsp + 0x58]
lea rcx, [rsp + 0x88]
mov edx, r14d
or edx, 1
call fcn.1400aa188
cmp dword [rsp + 0x90], 4
mov rbx, qword [rsp + 0x88]
jg 0x14003b1a2
mov word [rsp + 0x80], di
mov dword [rsp + 0x68], edi
mov r14d, edi
mov rbx, rdi
mov qword [rsp + 0xf8], r12
cmp r12, rdi
je 0x14003b1d4
lea rdx, [rsp + 0xf8]
lea rcx, str.PECMDpecmd_cmd
mov r8d, 0x11
call fcn.140044f78
mov byte [0x1400f1b34], 1
cmp eax, edi
jne 0x14003b1db
mov byte [0x1400f1b34], dil
mov rdi, qword [rsp + 0x270]
lea rcx, str.MAIN
mov r8d, 4
mov rdx, rdi
call fcn.140045fc8
movzx ecx, byte [0x1400f190d]
mov r13b, byte [0x1400f1b34]
xor edx, edx
cmp al, dl
cmovne ecx, edx
mov byte [0x1400f190d], cl
cmp r13b, dl
jne 0x14003b31d
lea eax, [rdx + 0x2d]
cmp ax, bp
jne 0x14003b228
or r13b, 2
mov eax, 0x2a
cmp ax, bp
jne 0x14003b25c
lea rcx, [0x1400f1e70]
mov byte [0x1400ef210], 1
call fcn.1400a8260
mov rdx, qword [rsp + 0x50]
lea rcx, [0x1400f1e30]
add rdx, 8
call fcn.140035230
jmp 0x14003b2d2
mov eax, 0x24
cmp ax, bp
jne 0x14003b28b
mov qword [rsp + 0x20], rdx
mov rdx, qword [rsp + 0x50]
lea rcx, [0x1400f1e30]
xor r9d, r9d
xor r8d, r8d
mov byte [0x1400ef210], 1
call fcn.1400367d4
jmp 0x14003b2d2
mov rax, qword [rsp + 0x50]
xor ebp, ebp
cmp word [rax], bp
je 0x14003b2da
cmp rbx, rbp
jne 0x14003b2da
lea rdx, [0x1400d6d20]
lea rcx, [rsp + 0x50]
mov byte [0x1400ef210], 1
call fcn.14004bfa8
lea rcx, [rsp + 0x50]
mov rdx, rdi
call fcn.14004bfa8
mov rdx, qword [rsp + 0x50]
lea rcx, [0x1400f1e30]
call fcn.140039598
movsxd rsi, eax
jmp 0x14003b9cc
cmp word [rdi], bp
jne 0x14003b31f
cmp rbx, rbp
jne 0x14003b31f
mov rcx, qword [0x1400f1ca0]
mov edx, 0x12e
mov r8d, 5
call qword [sym.imp.KERNEL32.dll_FindResourceW]
cmp rax, rbp
je 0x14003b9cc
lea rdx, [0x1400d63f4]
lea rcx, [0x1400f1e30]
xor r8d, r8d
call fcn.140035a9c
jmp 0x14003b2d2
xor ebp, ebp
lea rcx, [rsp + 0x48]
call fcn.14004be6c
cmp r12, rbp
jne 0x14003b33d
lea rcx, [rsp + 0x48]
call fcn.140044f24
jmp 0x14003ba1f
lea rdx, [rsp + 0x48]
mov rcx, r12
call fcn.140024cdc
mov rax, qword [rsp + 0x48]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0xb8]
mov r8d, 1
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0x98], ebp
call fcn.140020840
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], rax
call fcn.140011910
mov rdi, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
mov rsi, rdi
sub rsi, rdx
sar rsi, 1
mov dword [rsp + 0x98], esi
cmp rbx, rbp
je 0x14003b3af
cmp r13b, bpl
mov r13b, 1
je 0x14003b3b2
mov r13b, bpl
mov r12b, 0x10
mov qword [rsp + 0x70], rbp
mov dword [rsp + 0x78], ebp
mov dword [rsp + 0x7c], ebp
mov byte [rsp + 0x40], 1
mov ebx, 0x20
cmp r13b, bpl
je 0x14003b3ec
xor edi, edi
lea rbp, [rsp + 0x88]
mov byte [0x1400ef210], 1
mov byte [rsp + 0x40], dil
jmp 0x14003b6b9
mov rcx, qword [rsp + 0x88]
call fcn.140044ed8
lea rcx, [rsp + 0x88]
call fcn.140044f24
mov ax, bp
mov word [rsp + 0x80], bp
mov dword [rsp + 0x68], eax
mov eax, 0x2f
mov r14d, ebp
cmp ax, word [rdi]
jne 0x14003b44d
movzx eax, word [rdi + 2]
mov ecx, 0x6c
or ax, bx
cmp cx, ax
jne 0x14003b44d
lea eax, [rcx - 0x63]
cmp ax, word [rdi + 4]
ja 0x14003b443
cmp word [rdi + 4], 0xd
jbe 0x14003b449
cmp bx, word [rdi + 4]
jne 0x14003b44d
mov bpl, byte [rdi + 2]
xor ecx, ecx
mov qword [rsp + 0xa0], rcx
cmp bpl, cl
je 0x14003b480
mov word [rdi + 2], bx
mov word [rdi], bx
add rdi, 4
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], rdi
call fcn.140011910
mov rdi, qword [rsp + 0x60]
jmp 0x14003b58a
mov eax, 0x22
mov dword [rsp + 0xc8], ecx
lea rdx, [rsp + 0xc8]
cmp ax, word [rdi]
lea rcx, [rsp + 0xf0]
mov qword [rsp + 0xf0], rdi
sete bl
xor r8d, r8d
call fcn.140020840
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0xe0]
sub rax, rdx
sar rax, 1
mov r8d, eax
call fcn.140058944
mov rcx, qword [rsp + 0xe0]
call fcn.1400b8b5c
mov r12d, eax
xor eax, eax
cmp bl, al
je 0x14003b518
cmp r12d, eax
je 0x14003b506
lea ecx, [rax + 9]
cmp cx, word [rdi + 2]
ja 0x14003b4fb
cmp word [rdi + 2], 0xd
jbe 0x14003b506
mov ecx, 0x20
cmp cx, word [rdi + 2]
jne 0x14003b518
mov rcx, rdi
call fcn.140015cb4
mov rdi, rax
mov qword [rsp + 0x60], rax
xor eax, eax
cmp r12d, eax
je 0x14003b57a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0xa0]
lea ebx, [rax + 1]
lea edx, [rbx + 0xc]
call fcn.14004bf70
mov rcx, qword [rsp + 0xa0]
lea rdx, str.LOAD
mov r8d, 0xc
call fcn.1400177f8
mov rcx, qword [rsp + 0xa0]
movsxd r8, ebx
add r8, r8
mov rdx, rdi
add rcx, 0xa
call fcn.1400177f8
mov rdi, qword [rsp + 0xa0]
mov qword [rsp + 0x60], rdi
lea rcx, [rsp + 0xe0]
call fcn.140044f24
mov r12b, 0x10
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x70]
movsxd rbx, eax
lea edx, [rbx + 3]
call fcn.14004bf70
mov rcx, qword [rsp + 0x70]
lea r11d, [rbx + 1]
movsxd r8, r11d
mov rdx, rdi
add r8, r8
call fcn.1400177f8
mov rax, qword [rsp + 0x70]
xor edi, edi
mov word [rax + rbx*2 + 2], di
cmp bpl, dil
je 0x14003b69e
mov rcx, qword [rsp + 0x70]
mov r12b, dil
call fcn.140047c00
mov r11, qword [rsp + 0x70]
movzx eax, word [r11]
mov rbx, r11
mov qword [rsp + 0xb8], rbx
cmp ax, di
je 0x14003b617
lea ecx, [rdi + 0xa]
cmp ax, 0xd
je 0x14003b60f
cmp ax, cx
je 0x14003b60f
add rbx, 2
mov ax, word [rbx]
cmp ax, di
jne 0x14003b5f8
mov qword [rsp + 0xb8], rbx
mov rdi, rbx
lea rcx, [rsp + 0x48]
sub rdi, r11
sar rdi, 1
lea edx, [rdi + rsi + 1]
call fcn.14004bf70
xor eax, eax
cmp edi, eax
jle 0x14003b69c
mov rax, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x70]
movsxd r11, edi
movsxd r10, esi
lea rdi, [r11 + r11]
lea rcx, [rax + r10*2]
mov r8, rdi
call fcn.1400177f8
mov rax, qword [rsp + 0x48]
xor edx, edx
lea rcx, [r10 + r11]
mov word [rax + rcx*2], dx
cmp bpl, 0x4c
jne 0x14003b69c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x70]
mov rdx, rbx
inc eax
cdqe
lea r11, [rax + rax]
mov r8, r11
call fcn.1400177b0
mov rcx, qword [rsp + 0x70]
mov r8, rdi
add rcx, r11
xor edx, edx
call fcn.1400b93b0
xor edi, edi
lea rcx, [rsp + 0xa0]
lea rbp, [rsp + 0x70]
or r12b, 1
call fcn.140044f24
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rbp]
lea rsi, [0x1400f1e30]
mov r8d, 1
mov rcx, rsi
mov qword [rsp + 0xc0], rbx
call fcn.14005c144
cmp r13b, dil
je 0x14003b6ee
mov r8d, 0x10040
lea rdx, str.101
jmp 0x14003b750
lea rcx, [rsp + 0xc0]
call fcn.140011910
mov rbx, qword [rsp + 0xc0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
lea rax, [rbx + rcx*2 - 2]
cmp rax, rbx
jb 0x14003b743
mov ecx, 9
lea r15d, [rcx + 0x17]
cmp cx, word [rax]
ja 0x14003b72d
cmp word [rax], 0xd
jbe 0x14003b733
cmp r15w, word [rax]
jne 0x14003b73f
mov word [rax], di
sub rax, 2
cmp rax, rbx
jae 0x14003b722
or r15, 0xffffffffffffffff
mov r8d, 0x40
lea rdx, str.cmdline
mov rcx, rsi
call fcn.140020148
mov rax, rbx
xor r13d, r13d
sub rax, qword [rbp]
sar rax, 1
cmp eax, r13d
jle 0x14003b787
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rbp]
mov rdx, rbx
inc eax
movsxd r8, eax
add r8, r8
call fcn.1400177b0
mov rbx, qword [rbp]
lea rdx, [0x1400db2e8]
lea rcx, [rsp + 0xd8]
call fcn.140058920
lea rcx, [rsp + 0x140]
mov rdx, rsi
call fcn.140012330
lea rcx, [rsp + 0x140]
mov rdx, rsi
call fcn.140012aa0
mov esi, dword [rsp + 0x68]
lea rcx, [rsp + 0x140]
movzx edi, si
mov qword [rsp + 0x180], r13
mov edx, edi
call fcn.14004a49c
lea rcx, [rsp + 0x140]
xor r8d, r8d
mov rdx, rbx
mov word [rsp + 0x188], si
call fcn.140020498
mov rcx, qword [rbp]
movzx edx, si
call fcn.14001554c
lea r9, [rsp + 0xd8]
xor edx, edx
mov ebx, eax
lea rax, [rsp + 0x140]
mov rcx, rbp
mov r8d, ebx
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
call fcn.14002e670
movzx esi, word [rsp + 0x80]
lea r8d, [rbx + 1]
movzx ecx, ax
mov edx, esi
or r14d, ecx
mov rcx, qword [rbp]
xor edx, edi
call fcn.140015600
shl esi, 0x10
and r14d, 2
lea rcx, [rsp + 0x140]
or esi, r14d
xor edx, edx
mov dword [rsp + 0x58], esi
call fcn.140038fd4
lea rcx, [rsp + 0x1b0]
call fcn.140044f24
lea rcx, [rsp + 0xd8]
call fcn.140044f24
movsx edx, byte [rsp + 0x40]
lea r8, str.PeExe
lea rcx, [0x1400f1e30]
call fcn.14004ed64
mov rdx, qword [rbp]
mov r8, qword [rsp + 0x48]
movsx eax, r12b
mov qword [rsp + 0x30], r13
lea rcx, [0x1400f1e30]
and eax, 1
xor r9d, r9d
mov qword [rsp + 0x28], r13
or eax, esi
mov qword [rsp + 0xc0], rdx
mov qword [rbp], r13
bts eax, 7
mov dword [rsp + 0x20], eax
call fcn.1400a3898
movsxd rsi, eax
mov qword [rsp + 0x80], rsi
call fcn.14004c95c
mov r11d, dword [0x1400f23d8]
cmp r11d, r13d
jle 0x14003b8fd
mov byte [0x1400ef217], r15b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea ebx, [rax - 0x14]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r11d, dword [0x1400f23d8]
cmp r11d, r13d
jle 0x14003b9b8
mov esi, 0xa
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov edi, eax
sub ecx, ebx
cmp ecx, 1
jb 0x14003b93c
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
mov ebx, edi
mov r9d, esi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0x4bf
call qword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
jmp 0x14003b995
lea rcx, [rsp + 0x108]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_PeekMessageW]
cmp eax, r13d
je 0x14003b9a1
lea rcx, [rsp + 0x108]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x108]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov r11d, dword [0x1400f23d8]
cmp r11d, r13d
jg 0x14003b956
mov eax, dword [0x1400f23d8]
cmp eax, r13d
jg 0x14003b921
mov rsi, qword [rsp + 0x80]
lea rcx, [rsp + 0x70]
call fcn.140044f24
lea rcx, [rsp + 0x48]
call fcn.140044f24
mov rcx, qword [rsp + 0x88]
call fcn.140044ed8
lea rcx, [0x1400f2430]
call fcn.14004525c
lea rcx, [0x1400f2830]
call fcn.14004529c
lea rcx, [0x1400f1e70]
call fcn.1400a8260
call fcn.140015b38
lea r8, [0x1400d63f4]
lea rdx, [0x1400d63f4]
lea rcx, [0x1400f1e30]
call fcn.14002406c
mov r15, rsi
lea rcx, [rsp + 0x88]
call fcn.140044f24
lea rcx, [rsp + 0x50]
call fcn.140044f24
lea r11, [rsp + 0x230]
mov rax, r15
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret