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

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
sub rsp, 0x590
mov rax, qword [0x140209b48]
xor rax, rsp
mov qword [rsp + 0x570], rax
mov rdi, r8
mov r14, rdx
mov r15, rcx
call fcn.1400b3770
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 0x1400489c8
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.1400b35e0
mov esi, r13d
cmp byte [0x14020b0f0], sil
je 0x1400482af
mov edx, 1
mov rcx, rdi
call fcn.1400d5cf0
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x1400482c2
lea rdx, [rsp + 0x88]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x1400482a4
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 0x1400482be
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.1400d8ee0
mov esi, eax
test esi, esi
jne 0x1400482e5
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebp
cmp eax, 0xea60
jbe 0x1400481f0
jmp 0x1400489b0
cmp byte [rdi], r13b
mov rbx, rdi
je 0x1400482f9
nop
add rbx, 1
cmp byte [rbx], r13b
jne 0x1400482f0
sub ebx, edi
mov rcx, rdi
mov edx, ebx
call fcn.14016c3f0
test eax, eax
je 0x14004830c
sub ebx, 1
lea edx, [rbx + 0x48]
cmp edx, 0x100
jle 0x140048325
lea rcx, [r14 + 8]
call fcn.1400e3040
mov rsi, rax
jmp 0x140048354
mov rax, qword [r14 + 0x18]
movsxd rsi, edx
lea rcx, [rsi + rax]
cmp rcx, qword [r14 + 0x20]
jb 0x14004833f
lea rcx, [r14 + 8]
call fcn.1400e2f70
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.1400bf010
cmp qword [r14 + 0x38], rbp
je 0x14004837e
mov rax, qword [r14 + 0x40]
mov qword [rax + 0x38], rsi
jmp 0x140048382
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.1401a6b10
lea rcx, [rsp + 0x450]
call fcn.1400012c0
lea rcx, [rsp + 0xf0]
call fcn.1400012c0
mov eax, dword [r14]
mov qword [rsp + 0x48], rbp
test eax, eax
mov qword [rsp + 0x30], 0
jne 0x14004898e
nop
test rsi, rsi
je 0x140048989
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 0x14004840f
nop
nop
mov eax, dword [rcx + 0x40]
mov rcx, qword [rcx]
test rcx, rcx
lea ebx, [rbx + rax + 1]
jne 0x140048400
add ebx, 2
lea edx, [rbx + 1]
cmp edx, dword [rsp + 0x454]
jle 0x14004842b
lea rcx, [rsp + 0x450]
call fcn.140175030
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.1401a6b10
mov rdi, qword [r12]
test rdi, rdi
je 0x140048493
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.1401a6b10
mov rdi, qword [rdi]
test rdi, rdi
jne 0x140048470
mov byte [rsi], 0x5c
cmp dword [0x14020b008], r13d
je 0x1400484b8
mov r8, qword [rsp + 0x458]
lea rdx, str.scan__s_n
mov ecx, 0xff00ff00
call fcn.1400b3610
mov rcx, qword [rsp + 0x458]
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0xf0]
call fcn.1400d6470
cmp rax, 0xffffffffffffffff
mov rsi, rax
mov qword [rsp + 0x58], rax
je 0x140048966
nop
nop
nop
cmp dword [r15 + 0x588], r13d
mov ecx, dword [rsp + 0xe0]
je 0x140048509
test cl, 2
jne 0x14004891e
cmp dword [r15 + 0x58c], r13d
je 0x14004851b
test cl, 4
jne 0x140048925
test cl, 0x10
je 0x140048736
mov rax, qword [rsp + 0xf8]
cmp byte [rax], 0x2e
jne 0x14004854c
movzx ecx, byte [rax + 1]
test cl, cl
je 0x140048910
cmp cl, 0x2e
jne 0x14004854c
cmp byte [rax + 2], r13b
je 0x140048909
cmp qword [r15 + 0x568], r13
je 0x14004866d
lea rcx, [rsp + 0x330]
call fcn.1400012c0
lea rcx, [rsp + 0x330]
call fcn.140175fb0
cmp dword [r15 + 0x584], r13d
je 0x140048627
mov esi, dword [rsp + 0xf0]
mov rbp, qword [rsp + 0xf8]
mov edx, esi
mov rcx, rbp
call fcn.14016a210
mov rbx, qword [rsp + 0x40]
mov edi, eax
mov edx, dword [rbx + 0x40]
lea rcx, [rbx + 0x48]
call fcn.14016a210
mov rbx, qword [rbx]
test rbx, rbx
lea edi, [rdi + rax + 1]
jne 0x1400485a0
cmp edi, dword [rsp + 0x334]
jle 0x1400485d0
lea rcx, [rsp + 0x330]
mov edx, edi
call fcn.140175030
movsxd rcx, edi
mov r8d, esi
mov rdx, rbp
add rcx, qword [rsp + 0x338]
mov dword [rsp + 0x330], edi
call fcn.14016b270
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.14016b270
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140048600
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.140027780
lea rcx, [rsp + 0x330]
mov ebx, eax
call fcn.140175010
test ebx, ebx
je 0x1400488fd
mov edx, dword [rsp + 0xf0]
add edx, 0x48
cmp edx, 0x100
jle 0x14004868d
lea rcx, [r14 + 8]
call fcn.1400e3040
mov rbx, rax
jmp 0x1400486b3
mov rax, qword [r14 + 0x18]
movsxd rdi, edx
lea rcx, [rdi + rax]
cmp rcx, qword [r14 + 0x20]
jb 0x1400486a7
lea rcx, [r14 + 8]
call fcn.1400e2f70
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.1400bf010
cmp qword [r14 + 0x38], r13
je 0x1400486e6
mov rax, qword [r14 + 0x40]
mov qword [rax + 0x38], rbx
jmp 0x1400486ea
mov qword [r14 + 0x38], rbx
xor ecx, ecx
test rbp, rbp
mov qword [rbx + 0x38], rcx
mov qword [r14 + 0x40], rbx
je 0x140048704
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x30], rbx
jmp 0x14004870c
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.1401a6b10
jmp 0x14004892a
cmp qword [r15 + 0x578], r13
jne 0x14004874c
cmp qword [r15 + 0x570], r13
je 0x14004885d
lea rcx, [rsp + 0x210]
call fcn.1400012c0
lea rcx, [rsp + 0x210]
call fcn.140175fb0
cmp dword [r15 + 0x580], r13d
je 0x140048817
mov esi, dword [rsp + 0xf0]
mov rbp, qword [rsp + 0xf8]
mov edx, esi
mov rcx, rbp
call fcn.14016a210
mov rbx, r12
mov edi, eax
mov edx, dword [rbx + 0x40]
lea rcx, [rbx + 0x48]
call fcn.14016a210
mov rbx, qword [rbx]
test rbx, rbx
lea edi, [rdi + rax + 1]
jne 0x140048791
cmp edi, dword [rsp + 0x214]
jle 0x1400487c1
lea rcx, [rsp + 0x210]
mov edx, edi
call fcn.140175030
movsxd rcx, edi
mov r8d, esi
mov rdx, rbp
add rcx, qword [rsp + 0x218]
mov dword [rsp + 0x210], edi
call fcn.14016b270
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.14016b270
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400487f0
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.140027800
lea rcx, [rsp + 0x210]
mov ebx, eax
call fcn.140175010
test ebx, ebx
je 0x140048917
mov edx, dword [rsp + 0xf0]
add edx, 0x48
cmp edx, 0x100
jle 0x14004887d
lea rcx, [r14 + 8]
call fcn.1400e3040
mov rbx, rax
jmp 0x1400488a3
mov rax, qword [r14 + 0x18]
movsxd rdi, edx
lea rcx, [rdi + rax]
cmp rcx, qword [r14 + 0x20]
jb 0x140048897
lea rcx, [r14 + 8]
call fcn.1400e2f70
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.1400bf010
cmp qword [r14 + 0x48], r13
je 0x1400488d1
mov rax, qword [r14 + 0x50]
mov qword [rax + 0x38], rbx
jmp 0x1400488d5
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.1401a6b10
mov rdi, qword [rsp + 0x30]
jmp 0x14004892a
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x30]
jmp 0x14004892a
mov rdi, qword [rsp + 0x30]
jmp 0x14004892a
mov rdi, qword [rsp + 0x30]
jmp 0x14004892a
mov rdi, qword [rsp + 0x30]
jmp 0x14004892a
mov rdi, qword [rsp + 0x30]
jmp 0x14004892a
mov rdi, qword [rsp + 0x30]
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0xf0]
mov rcx, rsi
call fcn.1400d6560
test eax, eax
jne 0x1400484f0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
test rbp, rbp
je 0x14004896d
mov rax, qword [rsp + 0x38]
mov rsi, rbp
mov qword [rdi + 0x30], rax
jmp 0x140048972
mov rsi, qword [rsp + 0x38]
jmp 0x140048972
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 0x1400483d0
mov r12d, dword [rsp + 0x50]
lea rcx, [rsp + 0xf0]
call fcn.140175010
lea rcx, [rsp + 0x450]
call fcn.140175010
mov dword [r14 + 0x58], 1
mov rbx, qword [rsp + 0x5d8]
mov rsi, qword [rsp + 0x588]
mov r13, qword [rsp + 0x580]
call fcn.1400b3770
lea rcx, str.scan_completed_in__f_seconds_n
sub eax, r12d
mov edx, eax
call fcn.1400b35e0
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.1401a6ae0
add rsp, 0x590
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret