Function at 0x140048bf0
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.1400b4140
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 0x140049438
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.1400b3fb0
mov esi, r13d
cmp byte [0x14020e200], sil
je 0x140048d1f
mov edx, 1
mov rcx, rdi
call fcn.1400d6f70
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x140048d32
lea rdx, [rsp + 0x88]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x140048d14
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 0x140048d2e
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.1400da0c0
mov esi, eax
test esi, esi
jne 0x140048d55
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebp
cmp eax, 0xea60
jbe 0x140048c60
jmp 0x140049420
cmp byte [rdi], r13b
mov rbx, rdi
je 0x140048d69
nop
add rbx, 1
cmp byte [rbx], r13b
jne 0x140048d60
sub ebx, edi
mov rcx, rdi
mov edx, ebx
call fcn.14016e5c0
test eax, eax
je 0x140048d7c
sub ebx, 1
lea edx, [rbx + 0x48]
cmp edx, 0x100
jle 0x140048d95
lea rcx, [r14 + 8]
call fcn.1400e4820
mov rsi, rax
jmp 0x140048dc4
mov rax, qword [r14 + 0x18]
movsxd rsi, edx
lea rcx, [rsi + rax]
cmp rcx, qword [r14 + 0x20]
jb 0x140048daf
lea rcx, [r14 + 8]
call fcn.1400e4750
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.1400bf9e0
cmp qword [r14 + 0x38], rbp
je 0x140048dee
mov rax, qword [r14 + 0x40]
mov qword [rax + 0x38], rsi
jmp 0x140048df2
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.1401a8fe0
lea rcx, [rsp + 0x450]
call fcn.140177280
lea rcx, [rsp + 0xf0]
call fcn.140177280
mov eax, dword [r14]
mov qword [rsp + 0x48], rbp
test eax, eax
mov qword [rsp + 0x30], 0
jne 0x1400493fe
nop
test rsi, rsi
je 0x1400493f9
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 0x140048e7f
nop
nop
mov eax, dword [rcx + 0x40]
mov rcx, qword [rcx]
test rcx, rcx
lea ebx, [rbx + rax + 1]
jne 0x140048e70
add ebx, 2
lea edx, [rbx + 1]
cmp edx, dword [rsp + 0x454]
jle 0x140048e9b
lea rcx, [rsp + 0x450]
call fcn.140177290
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.1401a8fe0
mov rdi, qword [r12]
test rdi, rdi
je 0x140048f03
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.1401a8fe0
mov rdi, qword [rdi]
test rdi, rdi
jne 0x140048ee0
mov byte [rsi], 0x5c
cmp dword [0x14020e118], r13d
je 0x140048f28
mov r8, qword [rsp + 0x458]
lea rdx, str.scan__s_n
mov ecx, 0xff00ff00
call fcn.1400b3fe0
mov rcx, qword [rsp + 0x458]
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0xf0]
call fcn.1400d7710
cmp rax, 0xffffffffffffffff
mov rsi, rax
mov qword [rsp + 0x58], rax
je 0x1400493d6
nop
nop
nop
cmp dword [r15 + 0x588], r13d
mov ecx, dword [rsp + 0xe0]
je 0x140048f79
test cl, 2
jne 0x14004938e
cmp dword [r15 + 0x58c], r13d
je 0x140048f8b
test cl, 4
jne 0x140049395
test cl, 0x10
je 0x1400491a6
mov rax, qword [rsp + 0xf8]
cmp byte [rax], 0x2e
jne 0x140048fbc
movzx ecx, byte [rax + 1]
test cl, cl
je 0x140049380
cmp cl, 0x2e
jne 0x140048fbc
cmp byte [rax + 2], r13b
je 0x140049379
cmp qword [r15 + 0x568], r13
je 0x1400490dd
lea rcx, [rsp + 0x330]
call fcn.140177280
lea rcx, [rsp + 0x330]
call fcn.140178250
cmp dword [r15 + 0x584], r13d
je 0x140049097
mov esi, dword [rsp + 0xf0]
mov rbp, qword [rsp + 0xf8]
mov edx, esi
mov rcx, rbp
call fcn.14016c3e0
mov rbx, qword [rsp + 0x40]
mov edi, eax
mov edx, dword [rbx + 0x40]
lea rcx, [rbx + 0x48]
call fcn.14016c3e0
mov rbx, qword [rbx]
test rbx, rbx
lea edi, [rdi + rax + 1]
jne 0x140049010
cmp edi, dword [rsp + 0x334]
jle 0x140049040
lea rcx, [rsp + 0x330]
mov edx, edi
call fcn.140177290
movsxd rcx, edi
mov r8d, esi
mov rdx, rbp
add rcx, qword [rsp + 0x338]
mov dword [rsp + 0x330], edi
call fcn.14016d440
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.14016d440
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140049070
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.140028020
lea rcx, [rsp + 0x330]
mov ebx, eax
call fcn.14017d580
test ebx, ebx
je 0x14004936d
mov edx, dword [rsp + 0xf0]
add edx, 0x48
cmp edx, 0x100
jle 0x1400490fd
lea rcx, [r14 + 8]
call fcn.1400e4820
mov rbx, rax
jmp 0x140049123
mov rax, qword [r14 + 0x18]
movsxd rdi, edx
lea rcx, [rdi + rax]
cmp rcx, qword [r14 + 0x20]
jb 0x140049117
lea rcx, [r14 + 8]
call fcn.1400e4750
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.1400bf9e0
cmp qword [r14 + 0x38], r13
je 0x140049156
mov rax, qword [r14 + 0x40]
mov qword [rax + 0x38], rbx
jmp 0x14004915a
mov qword [r14 + 0x38], rbx
xor ecx, ecx
test rbp, rbp
mov qword [rbx + 0x38], rcx
mov qword [r14 + 0x40], rbx
je 0x140049174
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x30], rbx
jmp 0x14004917c
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.1401a8fe0
jmp 0x14004939a
cmp qword [r15 + 0x578], r13
jne 0x1400491bc
cmp qword [r15 + 0x570], r13
je 0x1400492cd
lea rcx, [rsp + 0x210]
call fcn.140177280
lea rcx, [rsp + 0x210]
call fcn.140178250
cmp dword [r15 + 0x580], r13d
je 0x140049287
mov esi, dword [rsp + 0xf0]
mov rbp, qword [rsp + 0xf8]
mov edx, esi
mov rcx, rbp
call fcn.14016c3e0
mov rbx, r12
mov edi, eax
mov edx, dword [rbx + 0x40]
lea rcx, [rbx + 0x48]
call fcn.14016c3e0
mov rbx, qword [rbx]
test rbx, rbx
lea edi, [rdi + rax + 1]
jne 0x140049201
cmp edi, dword [rsp + 0x214]
jle 0x140049231
lea rcx, [rsp + 0x210]
mov edx, edi
call fcn.140177290
movsxd rcx, edi
mov r8d, esi
mov rdx, rbp
add rcx, qword [rsp + 0x218]
mov dword [rsp + 0x210], edi
call fcn.14016d440
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.14016d440
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140049260
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.1400280a0
lea rcx, [rsp + 0x210]
mov ebx, eax
call fcn.14017d580
test ebx, ebx
je 0x140049387
mov edx, dword [rsp + 0xf0]
add edx, 0x48
cmp edx, 0x100
jle 0x1400492ed
lea rcx, [r14 + 8]
call fcn.1400e4820
mov rbx, rax
jmp 0x140049313
mov rax, qword [r14 + 0x18]
movsxd rdi, edx
lea rcx, [rdi + rax]
cmp rcx, qword [r14 + 0x20]
jb 0x140049307
lea rcx, [r14 + 8]
call fcn.1400e4750
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.1400bf9e0
cmp qword [r14 + 0x48], r13
je 0x140049341
mov rax, qword [r14 + 0x50]
mov qword [rax + 0x38], rbx
jmp 0x140049345
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.1401a8fe0
mov rdi, qword [rsp + 0x30]
jmp 0x14004939a
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x30]
jmp 0x14004939a
mov rdi, qword [rsp + 0x30]
jmp 0x14004939a
mov rdi, qword [rsp + 0x30]
jmp 0x14004939a
mov rdi, qword [rsp + 0x30]
jmp 0x14004939a
mov rdi, qword [rsp + 0x30]
jmp 0x14004939a
mov rdi, qword [rsp + 0x30]
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0xf0]
mov rcx, rsi
call fcn.1400d7800
test eax, eax
jne 0x140048f60
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
test rbp, rbp
je 0x1400493dd
mov rax, qword [rsp + 0x38]
mov rsi, rbp
mov qword [rdi + 0x30], rax
jmp 0x1400493e2
mov rsi, qword [rsp + 0x38]
jmp 0x1400493e2
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 0x140048e40
mov r12d, dword [rsp + 0x50]
lea rcx, [rsp + 0xf0]
call fcn.14017d580
lea rcx, [rsp + 0x450]
call fcn.14017d580
mov dword [r14 + 0x58], 1
mov rbx, qword [rsp + 0x5d8]
mov rsi, qword [rsp + 0x588]
mov r13, qword [rsp + 0x580]
call fcn.1400b4140
lea rcx, str.scan_completed_in__f_seconds_n
sub eax, r12d
mov edx, eax
call fcn.1400b3fb0
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.1401a8fb0
add rsp, 0x590
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret