Function at 0x140085920
Capabilities:
Check for time delay via gettickcount
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov byte [rsp + 0x20], r9b
mov dword [rsp + 0x18], r8d
mov qword [rsp + 8], rcx
push rbp
push rsi
lea rbp, [rsp - 0x618]
sub rsp, 0x718
mov r10, qword [0x14013b0f8]
xor esi, esi
mov eax, r8d
mov r8, rcx
mov ecx, 1
cmp byte [rbp + 0x660], sil
jne 0x140085992
cmp word [rdx], si
jne 0x140085983
mov rax, r10
movzx edx, cl
mov rcx, r8
mov dword [rax + 0x40], 0x57
call fcn.14005e3f0
xor eax, eax
add rsp, 0x718
pop rsi
pop rbp
ret
test eax, eax
mov dword [r10 + 0x40], esi
cmove eax, ecx
mov dword [rbp + 0x640], eax
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x710], rdi
xor eax, eax
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 0x104
jb 0x1400859db
mov dl, 1
mov rcx, r8
mov dword [r10 + 0x40], reloc.WSOCK32.dll_WSAGetLastError
call fcn.14005e3f0
mov rdi, qword [rsp + 0x710]
xor eax, eax
add rsp, 0x718
pop rsi
pop rbp
ret
lea rdi, [rbp + 0x400]
mov qword [rsp + 0x738], rbx
mov rcx, rdx
sub rdi, rdx
movzx eax, word [rcx]
add rcx, 2
mov word [rdi + rcx - 2], ax
test ax, ax
jne 0x1400859f0
lea rcx, [rbp + 0x1f0]
sub rcx, rdx
nop dword [rax + rax]
movzx eax, word [rdx]
add rdx, 2
mov word [rcx + rdx - 2], ax
test ax, ax
jne 0x140085a10
lea rcx, [rbp + 0x1f0]
mov edx, 0x5c
call qword [sym.imp.MSVCR100.dll_wcsrchr]
test rax, rax
je 0x140085a54
or rcx, 0xffffffffffffffff
mov word [rax + 2], si
xor eax, eax
lea rdi, [rbp + 0x1f0]
repne scasw ax, word [rdi]
not rcx
dec rcx
jmp 0x140085a5e
mov word [rbp + 0x1f0], si
mov rcx, rsi
lea rax, [rbp + rcx*2 + 0x1f0]
mov ebx, 0x103
mov edx, 0x5c
sub rbx, rcx
lea rcx, [rbp + 0x400]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], rbx
call qword [sym.imp.MSVCR100.dll_wcsrchr]
test rax, rax
je 0x140085a95
add rax, 2
jmp 0x140085a9c
lea rax, [rbp + 0x400]
mov qword [rsp + 0x50], rax
mov rdi, rax
test rax, rax
je 0x140085adf
movzx edx, word [rax]
test dx, dx
je 0x140085adf
lea rcx, [0x1401235d8]
mov eax, 0x3f
nop dword [rax]
cmp dx, ax
je 0x140085aec
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x140085ac0
movzx edx, word [rdi + 2]
add rdi, 2
test dx, dx
jne 0x140085ab1
mov edi, 3
mov dword [rbp + 0x640], edi
jmp 0x140085af2
mov edi, dword [rbp + 0x640]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x400]
mov dword [rsp + 0x40], esi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword gs:[0x48]
mov dword [rsp + 0x44], ecx
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
je 0x140085c5b
movsxd rbx, edi
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rdx, qword [0x14013b0f8]
sub eax, dword [0x140143d4c]
cmp eax, dword [rdx + 0x118]
jbe 0x140085b8e
lea rcx, [rsp + 0x68]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140085b7b
mov eax, dword [rsp + 0x44]
cmp dword [0x1401430c0], eax
jne 0x140085b7b
mov edx, 1
or ecx, 0xffffffff
call fcn.140001b80
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rdx, qword [0x14013b0f8]
mov dword [0x140143d4c], eax
test byte [rbp - 0x60], 0x10
je 0x140085bbd
cmp word [rbp - 0x34], 0x2e
jne 0x140085bb5
movzx eax, word [rbp - 0x32]
test ax, ax
je 0x140085c34
cmp ax, 0x2e
jne 0x140085bb5
cmp word [rbp - 0x30], 0
je 0x140085c34
cmp rbx, 1
jne 0x140085bc3
jmp 0x140085c34
cmp rbx, 2
je 0x140085c34
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rbp - 0x34]
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, qword [rsp + 0x58]
jbe 0x140085be6
mov dword [rdx + 0x40], reloc.WSOCK32.dll_WSAGetLastError
jmp 0x140085c2d
mov rdx, qword [rsp + 0x60]
lea rax, [rbp - 0x34]
lea rcx, [rbp - 0x34]
sub rdx, rax
nop word [rax + rax]
movzx eax, word [rcx]
add rcx, 2
mov word [rdx + rcx - 2], ax
test ax, ax
jne 0x140085c00
mov r8, qword [rbp + 0x658]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x1f0]
call qword [rbp + 0x650]
test eax, eax
jne 0x140085c2f
inc esi
mov rdi, qword [rsp + 0x48]
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140085b28
mov rcx, rdi
mov dword [rsp + 0x40], esi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x58]
cmp byte [rbp + 0x648], 0
je 0x140085dec
cmp rbx, 2
jbe 0x140085dec
mov rdx, qword [rsp + 0x60]
lea rcx, [0x140120890]
sub rdx, rcx
movzx eax, word [rcx]
add rcx, 2
mov word [rdx + rcx - 2], ax
test ax, ax
jne 0x140085c81
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140085dec
mov rdi, qword [rsp + 0x50]
or rcx, 0xffffffffffffffff
xor eax, eax
repne scasw ax, word [rdi]
not rcx
lea rsi, [rcx - 1]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rdx, qword [0x14013b0f8]
sub eax, dword [0x140143d4c]
cmp eax, dword [rdx + 0x118]
jbe 0x140085d24
lea rcx, [rsp + 0x68]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140085d18
mov eax, dword [rsp + 0x44]
cmp dword [0x1401430c0], eax
jne 0x140085d18
mov edx, 1
or ecx, 0xffffffff
call fcn.140001b80
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140143d4c], eax
test byte [rbp - 0x60], 0x10
je 0x140085dca
cmp word [rbp - 0x34], 0x2e
jne 0x140085d4f
movzx eax, word [rbp - 0x32]
test ax, ax
je 0x140085dca
cmp ax, 0x2e
jne 0x140085d4f
cmp word [rbp - 0x30], 0
je 0x140085dca
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rbp - 0x34]
repne scasw ax, word [rdi]
not rcx
dec rcx
add rcx, rsi
cmp rcx, qword [rsp + 0x58]
jae 0x140085dca
mov r9, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
lea r8, [rbp - 0x34]
lea rdx, [0x140120898]
call qword [sym.imp.MSVCR100.dll__swprintf]
mov rax, qword [rbp + 0x658]
movzx r9d, byte [rbp + 0x648]
mov r8d, dword [rbp + 0x640]
mov rcx, qword [rbp + 0x630]
mov byte [rsp + 0x30], 1
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x650]
lea rdx, [rbp + 0x1f0]
mov qword [rsp + 0x20], rax
call fcn.140085920
add dword [rsp + 0x40], eax
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140085cc5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [rsp + 0x40]
cmp byte [rbp + 0x660], 0
mov rbx, qword [rsp + 0x738]
jne 0x140085e0b
mov rcx, qword [rbp + 0x630]
mov edx, esi
call fcn.14005ec90
mov eax, esi
mov rdi, qword [rsp + 0x710]
add rsp, 0x718
pop rsi
pop rbp
ret