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

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
sub rsp, 0x590
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x570], rax
mov rdi, r8
mov r14, rdx
mov r15, rcx
call fcn.1400b4170
mov r12d, eax
mov dword [rsp + 0x50], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebp
cmp eax, 0xea60
ja 0x140049238
mov qword [rsp + 0x588], rsi
mov qword [rsp + 0x580], r13
xor r13d, r13d
mov qword [rsp + 0x5d8], rbx
nop
lea rcx, str.scanning__s..._n
mov rdx, rdi
call fcn.1400b3fe0
mov esi, r13d
cmp byte [0x14020e200], sil
je 0x140048b1f
mov edx, 1
mov rcx, rdi
call fcn.1400d6f60
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x140048b32
lea rdx, [rsp + 0x88]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x140048b14
mov eax, dword [rsp + 0x8c]
mov ecx, dword [rsp + 0x90]
mov qword [rsp + 0x60], r13
shl rcx, 0x20
mov esi, 1
or rcx, rax
mov eax, dword [rsp + 0x9c]
mov qword [rsp + 0x70], rcx
mov ecx, dword [rsp + 0xa0]
shl rcx, 0x20
or rcx, rax
mov eax, dword [rsp + 0x94]
mov qword [rsp + 0x68], rcx
mov ecx, dword [rsp + 0x98]
shl rcx, 0x20
or rcx, rax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x80], eax
mov qword [rsp + 0x78], rcx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140048b2e
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.1400da090
mov esi, eax
test esi, esi
jne 0x140048b55
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebp
cmp eax, 0xea60
jbe 0x140048a60
jmp 0x140049220
cmp byte [rdi], r13b
mov rbx, rdi
je 0x140048b69
nop
add rbx, 1
cmp byte [rbx], r13b
jne 0x140048b60
sub ebx, edi
mov rcx, rdi
mov edx, ebx
call fcn.14016e590
test eax, eax
je 0x140048b7c
sub ebx, 1
lea edx, [rbx + 0x48]
cmp edx, 0x100
jle 0x140048b95
lea rcx, [r14 + 8]
call fcn.1400e47f0
mov rsi, rax
jmp 0x140048bc4
mov rax, qword [r14 + 0x18]
movsxd rsi, edx
lea rcx, [rsi + rax]
cmp rcx, qword [r14 + 0x20]
jb 0x140048baf
lea rcx, [r14 + 8]
call fcn.1400e4720
mov rax, qword [r14 + 0x18]
mov qword [rsp + 0x38], rax
add rax, rsi
mov rsi, qword [rsp + 0x38]
mov qword [r14 + 0x18], rax
xor ebp, ebp
lea rcx, [rsi + 8]
lea rdx, [rsp + 0x60]
mov qword [rsi + 0x30], rbp
mov qword [rsi], rbp
mov dword [rsi + 0x40], ebx
call fcn.1400bfa10
cmp qword [r14 + 0x38], rbp
je 0x140048bee
mov rax, qword [r14 + 0x40]
mov qword [rax + 0x38], rsi
jmp 0x140048bf2
mov qword [r14 + 0x38], rsi
mov qword [rsi + 0x38], rbp
lea rcx, [rsi + 0x48]
movsxd r8, ebx
mov rdx, rdi
mov qword [r14 + 0x40], rsi
call fcn.1401a8ef0
lea rcx, [rsp + 0x450]
call fcn.14017d460
lea rcx, [rsp + 0xf0]
call fcn.14017d460
mov eax, dword [r14]
mov qword [rsp + 0x48], rbp
test eax, eax
mov qword [rsp + 0x30], 0
jne 0x1400491fe
nop
test rsi, rsi
je 0x1400491f9
mov r12, rsi
mov qword [rsp + 0x40], rsi
mov rsi, qword [rsi + 0x30]
mov rcx, qword [r12]
mov ebx, dword [r12 + 0x40]
mov qword [rsp + 0x38], rsi
test rcx, rcx
je 0x140048c7f
nop
nop
mov eax, dword [rcx + 0x40]
mov rcx, qword [rcx]
test rcx, rcx
lea ebx, [rbx + rax + 1]
jne 0x140048c70
add ebx, 2
lea edx, [rbx + 1]
cmp edx, dword [rsp + 0x454]
jle 0x140048c9b
lea rcx, [rsp + 0x450]
call fcn.1401771f0
mov dword [rsp + 0x450], ebx
movsxd rbx, ebx
lea rdx, [r12 + 0x48]
add rbx, qword [rsp + 0x458]
sub rbx, 2
mov byte [rbx + 2], r13b
mov byte [rbx + 1], 0x2a
mov rsi, rbx
mov byte [rbx], r13b
movsxd r8, dword [r12 + 0x40]
sub rbx, r8
mov rcx, rbx
call fcn.1401a8ef0
mov rdi, qword [r12]
test rdi, rdi
je 0x140048d03
nop
mov byte [rbx - 1], 0x5c
movsxd r8, dword [rdi + 0x40]
sub rbx, 1
sub rbx, r8
lea rdx, [rdi + 0x48]
mov rcx, rbx
call fcn.1401a8ef0
mov rdi, qword [rdi]
test rdi, rdi
jne 0x140048ce0
mov byte [rsi], 0x5c
cmp dword [0x14020e118], r13d
je 0x140048d28
mov r8, qword [rsp + 0x458]
lea rdx, str.scan__s_n
mov ecx, 0xff00ff00
call fcn.1400b4010
mov rcx, qword [rsp + 0x458]
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0xf0]
call fcn.1400d76e0
cmp rax, 0xffffffffffffffff
mov rsi, rax
mov qword [rsp + 0x58], rax
je 0x1400491d6
nop
nop
nop
cmp dword [r15 + 0x588], r13d
mov ecx, dword [rsp + 0xe0]
je 0x140048d79
test cl, 2
jne 0x14004918e
cmp dword [r15 + 0x58c], r13d
je 0x140048d8b
test cl, 4
jne 0x140049195
test cl, 0x10
je 0x140048fa6
mov rax, qword [rsp + 0xf8]
cmp byte [rax], 0x2e
jne 0x140048dbc
movzx ecx, byte [rax + 1]
test cl, cl
je 0x140049180
cmp cl, 0x2e
jne 0x140048dbc
cmp byte [rax + 2], r13b
je 0x140049179
cmp qword [r15 + 0x568], r13
je 0x140048edd
lea rcx, [rsp + 0x330]
call fcn.14017d460
lea rcx, [rsp + 0x330]
call fcn.140178170
cmp dword [r15 + 0x584], r13d
je 0x140048e97
mov esi, dword [rsp + 0xf0]
mov rbp, qword [rsp + 0xf8]
mov edx, esi
mov rcx, rbp
call fcn.14016c3b0
mov rbx, qword [rsp + 0x40]
mov edi, eax
mov edx, dword [rbx + 0x40]
lea rcx, [rbx + 0x48]
call fcn.14016c3b0
mov rbx, qword [rbx]
test rbx, rbx
lea edi, [rdi + rax + 1]
jne 0x140048e10
cmp edi, dword [rsp + 0x334]
jle 0x140048e40
lea rcx, [rsp + 0x330]
mov edx, edi
call fcn.1401771f0
movsxd rcx, edi
mov r8d, esi
mov rdx, rbp
add rcx, qword [rsp + 0x338]
mov dword [rsp + 0x330], edi
call fcn.14016d410
mov rbx, qword [rsp + 0x40]
nop
nop
nop
nop
mov byte [rax - 1], 0x5c
mov r8d, dword [rbx + 0x40]
lea rdx, [rbx + 0x48]
lea rcx, [rax - 1]
call fcn.14016d410
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140048e70
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov eax, dword [rsp + 0xf0]
mov r9, qword [rsp + 0xf8]
mov r8d, dword [rsp + 0x330]
mov rdx, qword [rsp + 0x338]
lea rcx, [r15 + 0x568]
mov dword [rsp + 0x20], eax
call fcn.140028060
lea rcx, [rsp + 0x330]
mov ebx, eax
call fcn.1400012c0
test ebx, ebx
je 0x14004916d
mov edx, dword [rsp + 0xf0]
add edx, 0x48
cmp edx, 0x100
jle 0x140048efd
lea rcx, [r14 + 8]
call fcn.1400e47f0
mov rbx, rax
jmp 0x140048f23
mov rax, qword [r14 + 0x18]
movsxd rdi, edx
lea rcx, [rdi + rax]
cmp rcx, qword [r14 + 0x20]
jb 0x140048f17
lea rcx, [r14 + 8]
call fcn.1400e4720
mov rbx, qword [r14 + 0x18]
lea rax, [rbx + rdi]
mov qword [r14 + 0x18], rax
mov r12, qword [rsp + 0x40]
lea rcx, [rbx + 8]
lea rdx, [rsp + 0xc0]
mov qword [rbx], r12
mov eax, dword [rsp + 0xf0]
mov dword [rbx + 0x40], eax
call fcn.1400bfa10
cmp qword [r14 + 0x38], r13
je 0x140048f56
mov rax, qword [r14 + 0x40]
mov qword [rax + 0x38], rbx
jmp 0x140048f5a
mov qword [r14 + 0x38], rbx
xor ecx, ecx
test rbp, rbp
mov qword [rbx + 0x38], rcx
mov qword [r14 + 0x40], rbx
je 0x140048f74
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x30], rbx
jmp 0x140048f7c
mov rbp, rbx
mov qword [rsp + 0x48], rbx
mov qword [rbx + 0x30], rcx
movsxd r8, dword [rsp + 0xf0]
mov rdx, qword [rsp + 0xf8]
lea rcx, [rbx + 0x48]
mov rdi, rbx
mov qword [rsp + 0x30], rbx
call fcn.1401a8ef0
jmp 0x14004919a
cmp qword [r15 + 0x578], r13
jne 0x140048fbc
cmp qword [r15 + 0x570], r13
je 0x1400490cd
lea rcx, [rsp + 0x210]
call fcn.14017d460
lea rcx, [rsp + 0x210]
call fcn.140178170
cmp dword [r15 + 0x580], r13d
je 0x140049087
mov esi, dword [rsp + 0xf0]
mov rbp, qword [rsp + 0xf8]
mov edx, esi
mov rcx, rbp
call fcn.14016c3b0
mov rbx, r12
mov edi, eax
mov edx, dword [rbx + 0x40]
lea rcx, [rbx + 0x48]
call fcn.14016c3b0
mov rbx, qword [rbx]
test rbx, rbx
lea edi, [rdi + rax + 1]
jne 0x140049001
cmp edi, dword [rsp + 0x214]
jle 0x140049031
lea rcx, [rsp + 0x210]
mov edx, edi
call fcn.1401771f0
movsxd rcx, edi
mov r8d, esi
mov rdx, rbp
add rcx, qword [rsp + 0x218]
mov dword [rsp + 0x210], edi
call fcn.14016d410
mov rbx, r12
nop
nop
nop
nop
mov byte [rax - 1], 0x5c
mov r8d, dword [rbx + 0x40]
lea rdx, [rbx + 0x48]
lea rcx, [rax - 1]
call fcn.14016d410
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140049060
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov eax, dword [rsp + 0xf0]
mov r9, qword [rsp + 0xf8]
mov r8d, dword [rsp + 0x210]
mov rdx, qword [rsp + 0x218]
lea rcx, [r15 + 0x568]
mov dword [rsp + 0x20], eax
call fcn.1400280e0
lea rcx, [rsp + 0x210]
mov ebx, eax
call fcn.1400012c0
test ebx, ebx
je 0x140049187
mov edx, dword [rsp + 0xf0]
add edx, 0x48
cmp edx, 0x100
jle 0x1400490ed
lea rcx, [r14 + 8]
call fcn.1400e47f0
mov rbx, rax
jmp 0x140049113
mov rax, qword [r14 + 0x18]
movsxd rdi, edx
lea rcx, [rdi + rax]
cmp rcx, qword [r14 + 0x20]
jb 0x140049107
lea rcx, [r14 + 8]
call fcn.1400e4720
mov rbx, qword [r14 + 0x18]
lea rax, [rbx + rdi]
mov qword [r14 + 0x18], rax
mov qword [rbx], r12
mov eax, dword [rsp + 0xf0]
lea rcx, [rbx + 8]
lea rdx, [rsp + 0xc0]
mov dword [rbx + 0x40], eax
call fcn.1400bfa10
cmp qword [r14 + 0x48], r13
je 0x140049141
mov rax, qword [r14 + 0x50]
mov qword [rax + 0x38], rbx
jmp 0x140049145
mov qword [r14 + 0x48], rbx
mov qword [rbx + 0x38], r13
movsxd r8, dword [rsp + 0xf0]
mov rdx, qword [rsp + 0xf8]
lea rcx, [rbx + 0x48]
mov qword [r14 + 0x50], rbx
call fcn.1401a8ef0
mov rdi, qword [rsp + 0x30]
jmp 0x14004919a
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x30]
jmp 0x14004919a
mov rdi, qword [rsp + 0x30]
jmp 0x14004919a
mov rdi, qword [rsp + 0x30]
jmp 0x14004919a
mov rdi, qword [rsp + 0x30]
jmp 0x14004919a
mov rdi, qword [rsp + 0x30]
jmp 0x14004919a
mov rdi, qword [rsp + 0x30]
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0xf0]
mov rcx, rsi
call fcn.1400d77d0
test eax, eax
jne 0x140048d60
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
test rbp, rbp
je 0x1400491dd
mov rax, qword [rsp + 0x38]
mov rsi, rbp
mov qword [rdi + 0x30], rax
jmp 0x1400491e2
mov rsi, qword [rsp + 0x38]
jmp 0x1400491e2
mov rsi, qword [rsp + 0x38]
mov eax, dword [r14]
xor ebp, ebp
test eax, eax
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x30], rbp
je 0x140048c40
mov r12d, dword [rsp + 0x50]
lea rcx, [rsp + 0xf0]
call fcn.1400012c0
lea rcx, [rsp + 0x450]
call fcn.1400012c0
mov dword [r14 + 0x58], 1
mov rbx, qword [rsp + 0x5d8]
mov rsi, qword [rsp + 0x588]
mov r13, qword [rsp + 0x580]
call fcn.1400b4170
lea rcx, str.scan_completed_in__f_seconds_n
sub eax, r12d
mov edx, eax
call fcn.1400b3fe0
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.1401a8ec0
add rsp, 0x590
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret