Function at 0x180006a78
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x748]
sub rsp, 0x820
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x180038008]
xor rax, rsp
mov qword [rbp + 0x710], rax
mov ebx, r8d
mov r14, rdx
mov rsi, qword [0x180039fe8]
lea rdi, [rsi + 0x40]
mov rcx, rdi
call fcn.180002954
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x310]
call fcn.18000ce00
xor r12d, r12d
test ebx, ebx
jne 0x180006b6b
mov rcx, rsi
call fcn.18000679c
lea rbx, [rsi + 0x10]
mov r8, rbx
lea rdx, [0x1800304d4]
lea rcx, [rbp + 0x310]
call fcn.180001130
lea esi, [r12 + 0xf]
mov qword [rbp - 0x10], rsi
mov qword [rbp - 0x18], r12
mov byte [rbp - 0x28], r12b
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.1800039b0
nop
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x68], r12
mov byte [rbp - 0x78], r12b
lea rdx, [0x1800304d8]
lea rcx, [rbp - 0x78]
call fcn.1800039b0
nop
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x78]
mov rcx, rdi
call fcn.180002da0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x78]
call fcn.180003904
nop
jmp 0x180006bdc
mov r8, r14
lea rdx, [0x1800304d4]
lea rcx, [rbp + 0x310]
call fcn.180001130
mov esi, send
mov qword [rbp - 0x10], rsi
mov qword [rbp - 0x18], r12
mov byte [rbp - 0x28], r12b
mov rdx, r14
lea rcx, [rbp - 0x28]
call fcn.1800039b0
nop
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x68], r12
mov byte [rbp - 0x78], r12b
lea rdx, [0x1800304d8]
lea rcx, [rbp - 0x78]
call fcn.1800039b0
nop
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x78]
mov rcx, rdi
call fcn.180002da0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x78]
call fcn.180003904
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x28]
call fcn.180003904
mov ecx, 0x100000
call fcn.180009c3c
mov r15, rax
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x68], r12
mov byte [rbp - 0x78], r12b
lea rdx, str.detail
lea rcx, [rbp - 0x78]
call fcn.1800039b0
nop
mov rbx, qword [rdi + 8]
mov r14d, 7
test rbx, rbx
jne 0x180006c5b
mov rbx, qword [rdi + 0x10]
test rbx, rbx
jne 0x180006c5b
call fcn.1800012b8
mov rbx, rax
test rax, rax
je 0x180006c3d
mov dword [rax + 0x18], r14d
mov qword [rdi + 8], rax
test rbx, rbx
jne 0x180006c5b
lea rdx, str.json_data_is_null_
lea rcx, [rdi + 0x18]
call fcn.1800039b0
jmp 0x180006d09
cmp dword [rbx + 0x18], r14d
je 0x180006c6a
lea rdx, str.not_a_json_object__json_array_
jmp 0x180006c4d
call fcn.1800012b8
test rax, rax
je 0x180006cd1
mov dword [rax + 0x18], r14d
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rdx, qword [rbp - 0x78]
mov r8, rax
mov rcx, rbx
call fcn.180002410
mov rax, qword [rdi + 0x58]
mov r14, qword [rax]
mov qword [rax], rax
mov rax, qword [rdi + 0x58]
mov qword [rax + 8], rax
mov qword [rdi + 0x60], r12
cmp r14, qword [rdi + 0x58]
je 0x180006d09
mov rbx, qword [r14]
lea rcx, [r14 + 0x10]
xor r8d, r8d
mov dl, 1
call fcn.180003904
mov rcx, r14
call fcn.180009c00
mov r14, rbx
cmp rbx, qword [rdi + 0x58]
jne 0x180006cad
jmp 0x180006d09
mov qword [rbp - 0x10], rsi
mov qword [rbp - 0x18], r12
mov byte [rbp - 0x28], r12b
lea rdx, str.create_sub_empty_object_error_
lea rcx, [rbp - 0x28]
call fcn.1800039b0
lea rcx, [rdi + 0x18]
lea rdx, [rbp - 0x28]
call fcn.18000374c
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x28]
call fcn.180003904
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x78]
call fcn.180003904
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x68], r12
mov byte [rbp - 0x78], r12b
lea rdx, [0x180030488]
lea rcx, [rbp - 0x78]
call fcn.1800039b0
nop
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x1f0]
call fcn.18000264c
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x78]
call fcn.180003904
mov qword [rbp + 0x10], rsi
mov qword [rbp + 8], r12
mov byte [rbp - 8], r12b
lea rdx, [0x180030488]
lea rcx, [rbp - 8]
call fcn.1800039b0
nop
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x40]
call fcn.18000264c
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 8]
call fcn.180003904
xor edx, edx
lea r8d, [rdx + 0x32]
lea rcx, [rbp + 0x298]
call fcn.18000ce00
mov word [rbp - 0x38], r12w
xor eax, eax
mov qword [rbp - 0x36], rax
mov dword [rbp - 0x2e], eax
mov word [rbp - 0x2a], ax
xor edx, edx
lea r8d, [rax + 0x40]
lea rcx, [rbp + 0x2d0]
call fcn.18000ce00
mov r13d, r12d
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x310]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, rax
mov qword [rsp + 0x50], rax
or r14, 0xffffffffffffffff
cmp rax, r14
jne 0x180006e4d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
xor edx, edx
lea r8d, [r14 + 0x33]
lea rcx, [rbp + 0x260]
call fcn.18000ce00
mov r8d, ebx
lea rdx, [0x180030314]
lea rcx, [rbp + 0x260]
call fcn.180001130
lea rax, [rbp + 0x260]
inc r14
cmp byte [rax + r14], r12b
jne 0x180006e21
mov r9, r14
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
lea r8, [rbp + 0x260]
mov edx, 8
call fcn.180004f00
jmp 0x180007319
cmp r13d, 0xdac
jg 0x1800072a7
lea rcx, [rbp + 0x40]
call fcn.180002954
test byte [rbp + 0xb0], 2
jne 0x18000728f
mov al, byte [rbp + 0xdc]
cmp al, byte [0x1800304e4]
jne 0x180006e90
mov al, byte [rbp + 0xdd]
cmp al, byte [0x1800304e5]
je 0x18000728f
mov rax, qword [rbp + 0xc4]
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [rbp - 0x2c]
movzx ecx, word [rbp - 0x2e]
movzx edx, word [rbp - 0x30]
movzx r10d, word [rbp - 0x32]
movzx r9d, word [rbp - 0x36]
movzx r8d, word [rbp - 0x38]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r10d
lea rdx, str._4d__02d__02d__02d:_02d:_02d
lea rcx, [rbp + 0x2d0]
call fcn.180001130
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x48], r12
mov byte [rbp - 0x58], r12b
lea rdx, [rbp + 0x2d0]
lea rcx, [rbp - 0x58]
call fcn.1800039b0
nop
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x68], r12
mov byte [rbp - 0x78], r12b
lea rdx, str.date
lea rcx, [rbp - 0x78]
call fcn.1800039b0
nop
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x40]
call fcn.180002da0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x78]
call fcn.180003904
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x58]
call fcn.180003904
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x68], r12
mov byte [rbp - 0x78], r12b
lea rcx, [rbp - 0x78]
test byte [rbp + 0xb0], 0x10
je 0x180006fb9
lea rdx, str.folder
call fcn.1800039b0
nop
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x48], r12
mov byte [rbp - 0x58], r12b
lea rdx, str.type
lea rcx, [rbp - 0x58]
call fcn.1800039b0
nop
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x40]
call fcn.180002da0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x58]
call fcn.180003904
nop
jmp 0x180007004
lea rdx, str.file
call fcn.1800039b0
nop
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x48], r12
mov byte [rbp - 0x58], r12b
lea rdx, str.type
lea rcx, [rbp - 0x58]
call fcn.1800039b0
nop
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x40]
call fcn.180002da0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x58]
call fcn.180003904
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x78]
call fcn.180003904
mov eax, dword [rbp + 0xd0]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0xcc]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x40]
cqo
and edx, 0x3ff
lea r8, [rdx + rax]
sar r8, 0xa
inc r8
lea rdx, str._ld_kb
lea rcx, [rbp + 0x298]
call fcn.180001130
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x68], r12
mov byte [rbp - 0x78], r12b
lea rdx, [rbp + 0x298]
lea rcx, [rbp - 0x78]
call fcn.1800039b0
nop
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x48], r12
mov byte [rbp - 0x58], r12b
lea rdx, str.size
lea rcx, [rbp - 0x58]
call fcn.1800039b0
nop
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x40]
call fcn.180002da0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x58]
call fcn.180003904
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x78]
call fcn.180003904
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x48], r12
mov byte [rbp - 0x58], r12b
lea rdx, [rbp + 0xdc]
lea rcx, [rbp - 0x58]
call fcn.1800039b0
nop
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x68], r12
mov byte [rbp - 0x78], r12b
lea rdx, str.detail
lea rcx, [rbp - 0x78]
call fcn.1800039b0
nop
lea r12, [rdi + 0x48]
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.180002fcc
mov rax, qword [rax]
cmp rax, qword [r12]
jne 0x180007240
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x18000712c
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1800071bb
cmp dword [rcx + 0x18], 7
jne 0x1800071bb
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rdx, qword [rbp - 0x78]
call fcn.1800023d4
mov rbx, rax
test rax, rax
je 0x1800071bb
mov ecx, WSAStartup
call fcn.180009bc4
mov qword [rsp + 0x68], rax
mov rdx, rbx
mov rcx, rax
call fcn.180002eb8
mov rbx, rax
mov qword [rbp + 0x30], rsi
and qword [rbp + 0x28], 0
mov byte [rbp + 0x18], 0
mov r9, r14
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x18]
call fcn.180003abc
mov qword [rbp + 0x38], rbx
lea rdx, [rbp + 0x18]
mov rcx, r12
call fcn.180003f90
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x78]
mov rcx, r12
call fcn.180003fe0
nop
lea rcx, [rbp + 0x18]
jmp 0x180007234
mov ecx, WSAStartup
call fcn.180009bc4
mov qword [rsp + 0x70], rax
mov rcx, rax
call fcn.1800024b8
mov rbx, rax
mov qword [rbp + 0x278], rsi
and qword [rbp + 0x270], 0
mov byte [rbp + 0x260], 0
mov r9, r14
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x260]
call fcn.180003abc
mov qword [rbp + 0x280], rbx
lea rdx, [rbp + 0x260]
mov rcx, r12
call fcn.180003f90
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x28]
mov rcx, r12
call fcn.180003fe0
nop
lea rcx, [rbp + 0x260]
mov dl, 1
xor r8d, r8d
call fcn.180003904
jmp 0x180007244
mov rbx, qword [rax + 0x40]
lea r8, [rbp + 0x40]
lea rdx, [rbp - 0x58]
mov rcx, rbx
call fcn.180002ba8
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x78]
call fcn.180003904
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x58]
call fcn.180003904
xor edx, edx
lea r8d, [rdx + 0x32]
lea rcx, [rbp + 0x298]
call fcn.18000ce00
inc r13d
mov rbx, qword [rsp + 0x50]
xor r12d, r12d
lea rdx, [rbp + 0xb0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x180006e4d
lea rdx, [rbp - 0x58]
mov rcx, rdi
call fcn.180002b04
nop
cmp qword [rax + 0x18], 0x10
jb 0x1800072be
mov rax, qword [rax]
mov r8, rax
lea rdx, [0x180030468]
mov rcx, r15
call fcn.180001130
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x58]
call fcn.180003904
inc r14
cmp byte [r15 + r14], r12b
jne 0x1800072df
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r9d, r14d
mov r8, r15
mov edx, 3
call fcn.180004f00
test r15, r15
je 0x180007319
mov rcx, r15
call fcn.180009c08
nop
lea rcx, [rbp + 0x40]
call fcn.180002714
nop
lea rcx, [rbp + 0x1f0]
call fcn.180002714
mov rcx, qword [rbp + 0x710]
xor rcx, rsp
call fcn.180009ba0
lea r11, [rsp + 0x820]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret