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

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
sub rsp, 0x590
mov rax, qword [0x1401f22c8]
xor rax, rsp
mov qword [rsp + 0x570], rax
mov rdi, r8
mov r14, rdx
mov r15, rcx
call fcn.1400b1e00
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 0x1400475a8
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.1400b1c70
mov esi, r13d
cmp byte [0x1401f37d0], sil
je 0x140046e8f
mov edx, 1
mov rcx, rdi
call fcn.1400c5eb0
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x140046ea2
lea rdx, [rsp + 0x88]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x140046e84
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 0x140046e9e
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.1400c9010
mov esi, eax
test esi, esi
jne 0x140046ec5
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebp
cmp eax, 0xea60
jbe 0x140046dd0
jmp 0x140047590
cmp byte [rdi], r13b
mov rbx, rdi
je 0x140046ed9
nop
add rbx, 1
cmp byte [rbx], r13b
jne 0x140046ed0
sub ebx, edi
mov rcx, rdi
mov edx, ebx
call fcn.140158e50
test eax, eax
je 0x140046eec
sub ebx, 1
lea edx, [rbx + 0x48]
cmp edx, 0x100
jle 0x140046f05
lea rcx, [r14 + 8]
call fcn.1400d35c0
mov rsi, rax
jmp 0x140046f34
mov rax, qword [r14 + 0x18]
movsxd rsi, edx
lea rcx, [rsi + rax]
cmp rcx, qword [r14 + 0x20]
jb 0x140046f1f
lea rcx, [r14 + 8]
call fcn.1400d34f0
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.1400b7f40
cmp qword [r14 + 0x38], rbp
je 0x140046f5e
mov rax, qword [r14 + 0x40]
mov qword [rax + 0x38], rsi
jmp 0x140046f62
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.140193220
lea rcx, [rsp + 0x450]
call fcn.1401617b0
lea rcx, [rsp + 0xf0]
call fcn.1401617b0
mov eax, dword [r14]
mov qword [rsp + 0x48], rbp
test eax, eax
mov qword [rsp + 0x30], 0
jne 0x14004756e
nop
test rsi, rsi
je 0x140047569
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 0x140046fef
nop
nop
mov eax, dword [rcx + 0x40]
mov rcx, qword [rcx]
test rcx, rcx
lea ebx, [rbx + rax + 1]
jne 0x140046fe0
add ebx, 2
lea edx, [rbx + 1]
cmp edx, dword [rsp + 0x454]
jle 0x14004700b
lea rcx, [rsp + 0x450]
call fcn.1401617c0
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.140193220
mov rdi, qword [r12]
test rdi, rdi
je 0x140047073
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.140193220
mov rdi, qword [rdi]
test rdi, rdi
jne 0x140047050
mov byte [rsi], 0x5c
cmp dword [0x1401f3720], r13d
je 0x140047098
mov r8, qword [rsp + 0x458]
lea rdx, str.scan__s_n
mov ecx, 0xff00ff00
call fcn.1400b1ca0
mov rcx, qword [rsp + 0x458]
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0xf0]
call fcn.1400c6650
cmp rax, 0xffffffffffffffff
mov rsi, rax
mov qword [rsp + 0x58], rax
je 0x140047546
nop
nop
nop
cmp dword [r15 + 0x588], r13d
mov ecx, dword [rsp + 0xe0]
je 0x1400470e9
test cl, 2
jne 0x1400474fe
cmp dword [r15 + 0x58c], r13d
je 0x1400470fb
test cl, 4
jne 0x140047505
test cl, 0x10
je 0x140047316
mov rax, qword [rsp + 0xf8]
cmp byte [rax], 0x2e
jne 0x14004712c
movzx ecx, byte [rax + 1]
test cl, cl
je 0x1400474f0
cmp cl, 0x2e
jne 0x14004712c
cmp byte [rax + 2], r13b
je 0x1400474e9
cmp qword [r15 + 0x568], r13
je 0x14004724d
lea rcx, [rsp + 0x330]
call fcn.1401617b0
lea rcx, [rsp + 0x330]
call fcn.140162780
cmp dword [r15 + 0x584], r13d
je 0x140047207
mov esi, dword [rsp + 0xf0]
mov rbp, qword [rsp + 0xf8]
mov edx, esi
mov rcx, rbp
call fcn.140156ee0
mov rbx, qword [rsp + 0x40]
mov edi, eax
mov edx, dword [rbx + 0x40]
lea rcx, [rbx + 0x48]
call fcn.140156ee0
mov rbx, qword [rbx]
test rbx, rbx
lea edi, [rdi + rax + 1]
jne 0x140047180
cmp edi, dword [rsp + 0x334]
jle 0x1400471b0
lea rcx, [rsp + 0x330]
mov edx, edi
call fcn.1401617c0
movsxd rcx, edi
mov r8d, esi
mov rdx, rbp
add rcx, qword [rsp + 0x338]
mov dword [rsp + 0x330], edi
call fcn.140157cd0
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.140157cd0
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400471e0
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.140027140
lea rcx, [rsp + 0x330]
mov ebx, eax
call fcn.140001150
test ebx, ebx
je 0x1400474dd
mov edx, dword [rsp + 0xf0]
add edx, 0x48
cmp edx, 0x100
jle 0x14004726d
lea rcx, [r14 + 8]
call fcn.1400d35c0
mov rbx, rax
jmp 0x140047293
mov rax, qword [r14 + 0x18]
movsxd rdi, edx
lea rcx, [rdi + rax]
cmp rcx, qword [r14 + 0x20]
jb 0x140047287
lea rcx, [r14 + 8]
call fcn.1400d34f0
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.1400b7f40
cmp qword [r14 + 0x38], r13
je 0x1400472c6
mov rax, qword [r14 + 0x40]
mov qword [rax + 0x38], rbx
jmp 0x1400472ca
mov qword [r14 + 0x38], rbx
xor ecx, ecx
test rbp, rbp
mov qword [rbx + 0x38], rcx
mov qword [r14 + 0x40], rbx
je 0x1400472e4
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x30], rbx
jmp 0x1400472ec
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.140193220
jmp 0x14004750a
cmp qword [r15 + 0x578], r13
jne 0x14004732c
cmp qword [r15 + 0x570], r13
je 0x14004743d
lea rcx, [rsp + 0x210]
call fcn.1401617b0
lea rcx, [rsp + 0x210]
call fcn.140162780
cmp dword [r15 + 0x580], r13d
je 0x1400473f7
mov esi, dword [rsp + 0xf0]
mov rbp, qword [rsp + 0xf8]
mov edx, esi
mov rcx, rbp
call fcn.140156ee0
mov rbx, r12
mov edi, eax
mov edx, dword [rbx + 0x40]
lea rcx, [rbx + 0x48]
call fcn.140156ee0
mov rbx, qword [rbx]
test rbx, rbx
lea edi, [rdi + rax + 1]
jne 0x140047371
cmp edi, dword [rsp + 0x214]
jle 0x1400473a1
lea rcx, [rsp + 0x210]
mov edx, edi
call fcn.1401617c0
movsxd rcx, edi
mov r8d, esi
mov rdx, rbp
add rcx, qword [rsp + 0x218]
mov dword [rsp + 0x210], edi
call fcn.140157cd0
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.140157cd0
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400473d0
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.1400271c0
lea rcx, [rsp + 0x210]
mov ebx, eax
call fcn.140001150
test ebx, ebx
je 0x1400474f7
mov edx, dword [rsp + 0xf0]
add edx, 0x48
cmp edx, 0x100
jle 0x14004745d
lea rcx, [r14 + 8]
call fcn.1400d35c0
mov rbx, rax
jmp 0x140047483
mov rax, qword [r14 + 0x18]
movsxd rdi, edx
lea rcx, [rdi + rax]
cmp rcx, qword [r14 + 0x20]
jb 0x140047477
lea rcx, [r14 + 8]
call fcn.1400d34f0
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.1400b7f40
cmp qword [r14 + 0x48], r13
je 0x1400474b1
mov rax, qword [r14 + 0x50]
mov qword [rax + 0x38], rbx
jmp 0x1400474b5
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.140193220
mov rdi, qword [rsp + 0x30]
jmp 0x14004750a
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x30]
jmp 0x14004750a
mov rdi, qword [rsp + 0x30]
jmp 0x14004750a
mov rdi, qword [rsp + 0x30]
jmp 0x14004750a
mov rdi, qword [rsp + 0x30]
jmp 0x14004750a
mov rdi, qword [rsp + 0x30]
jmp 0x14004750a
mov rdi, qword [rsp + 0x30]
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0xf0]
mov rcx, rsi
call fcn.1400c6740
test eax, eax
jne 0x1400470d0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
test rbp, rbp
je 0x14004754d
mov rax, qword [rsp + 0x38]
mov rsi, rbp
mov qword [rdi + 0x30], rax
jmp 0x140047552
mov rsi, qword [rsp + 0x38]
jmp 0x140047552
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 0x140046fb0
mov r12d, dword [rsp + 0x50]
lea rcx, [rsp + 0xf0]
call fcn.140001150
lea rcx, [rsp + 0x450]
call fcn.140001150
mov dword [r14 + 0x58], 1
mov rbx, qword [rsp + 0x5d8]
mov rsi, qword [rsp + 0x588]
mov r13, qword [rsp + 0x580]
call fcn.1400b1e00
lea rcx, str.scan_completed_in__f_seconds_n
sub eax, r12d
mov edx, eax
call fcn.1400b1c70
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.1401931f0
add rsp, 0x590
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret