Function at 0x140036df0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x550
mov rax, qword [0x140104bf0]
xor rax, rsp
mov qword [rsp + 0x540], rax
mov r15d, edx
mov rsi, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x88], rcx
mov dword [rsp + 0x48], edx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov r13, qword [0x140104e08]
mov qword [rsp + 0x80], r13
mov r12d, dword [0x140104e00]
mov dword [rsp + 0x40], r12d
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x2f0]
call fcn.1400b7530
lea rdi, [rsp + 0x2f0]
xor eax, eax
mov ecx, 0x250
rep stosb byte [rdi], al
mov qword [rsp + 0x220], rbx
mov rdx, rsi
lea rcx, [rsp + 0x170]
call fcn.140036c10
mov r14d, 1
mov dword [rsp + 0x20], r14d
lea r8, [0x1400e7e08]
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x1c0]
call fcn.140044ac0
nop
cmp qword [rax + 0x18], 8
jb 0x140036ec4
mov rax, qword [rax]
lea rdx, [rsp + 0x2f0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x220], rax
lea rcx, [rsp + 0x1c0]
call fcn.140041740
and r14d, 0xfffffffe
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x170]
call fcn.140041740
mov rax, qword [rsp + 0x220]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140037706
nop word [rax + rax]
movzx ecx, word [rsp + 0x31c]
movzx eax, word [rsp + 0x31e]
cmp cx, 0x2e
jne 0x140036f58
test ax, ax
je 0x1400376a4
cmp cx, cx
jne 0x140036f58
cmp ax, cx
jne 0x140036f58
cmp word [rsp + 0x320], 0
je 0x1400376a4
test dword [rsp + 0x2f0], 0x400
jne 0x1400376a4
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
lea rax, [rsp + 0x31c]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140036f90
lea rdx, [rsp + 0x31c]
lea rcx, [rsp + 0x50]
call fcn.140036990
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], rbx
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsp + 0x90], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rsp + 0xa0], xmm1
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], bx
lea r8, [rsp + 0x90]
mov rdx, rsi
lea rcx, [rsp + 0x278]
call fcn.14002f320
nop
lea rcx, [rsp + 0x90]
call fcn.14002f3f0
nop
lea rcx, [rsp + 0x50]
call fcn.140041740
lea rdx, [rsp + 0x238]
lea rcx, [rsp + 0x278]
call fcn.14002efe0
nop
mov rdi, qword [0x14010bc60]
mov qword [rsp + 0x70], rdi
mov rsi, qword [0x14010bc68]
cmp rdi, rsi
je 0x1400370f4
mov rdx, rdi
lea rcx, [rsp + 0x238]
call fcn.140044980
test al, al
je 0x1400370e6
mov rdx, qword [rsp + 0x250]
cmp rdx, 8
jb 0x1400370c5
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0x2b8], rdx
mov rcx, qword [rsp + 0x238]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400370c0
add rdx, 0x27
mov qword [rsp + 0x2b8], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003771e
call fcn.1400b4b80
mov qword [rsp + 0x248], rbx
mov qword [rsp + 0x250], 7
mov word [rsp + 0x238], bx
jmp 0x1400372ab
add rdi, 0x20
mov qword [rsp + 0x70], rdi
jmp 0x140037050
mov rdx, qword [rsp + 0x250]
cmp rdx, 8
jb 0x14003714c
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0x2b0], rdx
mov rcx, qword [rsp + 0x238]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037147
add rdx, 0x27
mov qword [rsp + 0x2b0], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037723
call fcn.1400b4b80
mov qword [rsp + 0x248], rbx
mov qword [rsp + 0x250], 7
mov word [rsp + 0x238], bx
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x278]
call fcn.14002f020
nop
lea rdx, [rsp + 0x258]
mov rcx, rax
call fcn.14002efe0
nop
mov rdx, qword [rsp + 0x108]
cmp rdx, 8
jb 0x1400371e7
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0x2a8], rdx
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400371e2
add rdx, 0x27
mov qword [rsp + 0x2a8], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037729
call fcn.1400b4b80
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0x108], 7
mov word [rsp + 0xf0], bx
mov rdi, qword [0x14010bc18]
mov qword [rsp + 0x78], rdi
mov rsi, qword [0x14010bc20]
cmp rdi, rsi
je 0x1400372d0
mov rdx, rdi
lea rcx, [rsp + 0x258]
call fcn.140044980
test al, al
je 0x1400372c2
mov rdx, qword [rsp + 0x270]
cmp rdx, 8
jb 0x14003728f
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0x2a0], rdx
mov rcx, qword [rsp + 0x258]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003728a
add rdx, 0x27
mov qword [rsp + 0x2a0], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003772f
call fcn.1400b4b80
mov qword [rsp + 0x268], rbx
mov qword [rsp + 0x270], 7
mov word [rsp + 0x258], bx
lea rcx, [rsp + 0x278]
call fcn.14002f3f0
mov rsi, qword [rsp + 0x28]
jmp 0x1400376a4
add rdi, 0x20
mov qword [rsp + 0x78], rdi
jmp 0x140037216
mov rdx, qword [rsp + 0x270]
cmp rdx, 8
jb 0x140037328
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0x298], rdx
mov rcx, qword [rsp + 0x258]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037323
add rdx, 0x27
mov qword [rsp + 0x298], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037734
call fcn.1400b4b80
mov qword [rsp + 0x268], rbx
mov qword [rsp + 0x270], 7
mov word [rsp + 0x258], bx
test byte [rsp + 0x2f0], 0x10
je 0x14003736e
cmp r15d, r12d
jae 0x14003736e
lea edx, [r15 + 1]
lea rcx, [rsp + 0x278]
call fcn.140036df0
mov rsi, qword [rsp + 0x28]
jmp 0x140037697
lea rcx, [rsp + 0x278]
call fcn.1400842a0
test rax, rax
jne 0x140037397
lea rcx, [rsp + 0x278]
call fcn.14002f3f0
mov rsi, qword [rsp + 0x28]
jmp 0x1400376a4
cmp rax, r13
ja 0x14003766a
lea rcx, [rsp + 0x278]
call fcn.1400364a0
test al, al
je 0x14003766a
lea rdx, [rsp + 0x278]
lea rcx, [rsp + 0x2c0]
call fcn.140083e90
nop
cmp byte [rsp + 0x2e0], 0
je 0x14003765c
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x1b0], xmm0
movdqa xmmword [rsp + 0x150], xmm0
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x228]
call fcn.140042870
or r14d, 0x10
mov dword [rsp + 0x20], r14d
lea rax, [rsp + 0x160]
mov qword [rsp + 0x110], rax
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x278]
call fcn.14002eeb0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140037440
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x190]
call fcn.1400440b0
or r14d, 0x20
mov dword [rsp + 0x20], r14d
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x160]
call fcn.140044380
mov rdi, rax
mov qword [rsp + 0x118], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x120], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0xe8], rbx
mov r8d, 8
lea rdx, str.filename
lea rcx, [rsp + 0xd0]
call fcn.140031d20
nop
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x228]
call fcn.140040ac0
mov r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rdi]
mov byte [rax], cl
mov byte [rdi], dl
lea rcx, [rdi + 8]
mov rdx, qword [rax + 8]
mov rax, qword [rcx]
mov qword [r8 + 8], rax
mov qword [rcx], rdx
movzx edx, byte [rdi]
call fcn.140042e00
and r14d, 0xffffffdf
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x190]
call fcn.140041990
nop
lea rcx, [rsp + 0x1e0]
call fcn.140041990
lea rax, [rsp + 0x30]
mov qword [rsp + 0x128], rax
cmp byte [rsp + 0x2e0], 0
je 0x14003773a
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x30], 0
xor eax, eax
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x30]
call fcn.1400542c0
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x130], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x138], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0xb0], xmm0
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0xc8], rbx
mov r8d, 7
lea rdx, str.content
lea rcx, [rsp + 0xb0]
call fcn.140031d20
nop
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x228]
call fcn.140040ac0
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov byte [rsp + 0x30], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x38]
mov qword [rax + 8], rdx
mov qword [rsp + 0x38], rcx
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140042e00
lea rax, [rsp + 0x200]
mov qword [rsp + 0x140], rax
lea rdx, [0x14010c2a0]
lea rcx, [rsp + 0x200]
call fcn.140041a80
nop
mov rdx, rax
lea rcx, [0x140105070]
call fcn.140040ac0
lea rdx, [rsp + 0x228]
mov rcx, rax
call fcn.1400409e0
and r14d, 0xffffffef
mov dword [rsp + 0x20], r14d
movzx edx, byte [rsp + 0x228]
lea rcx, [rsp + 0x230]
call fcn.140042e00
nop
lea rcx, [rsp + 0x2c0]
call fcn.140032bb0
nop
mov rsi, qword [rsp + 0x28]
jmp 0x140037697
lea rcx, [rsp + 0x278]
call fcn.14002f3f0
lea rdx, [rsp + 0x2f0]
mov rcx, qword [rsp + 0x220]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140036f20
mov rcx, qword [rsp + 0x220]
test rcx, rcx
je 0x1400376d9
mov rax, qword [0x1400e8898]
call rax
nop
mov rcx, qword [rsp + 0x540]
xor rcx, rsp
call fcn.1400b4b60
lea r11, [rsp + 0x550]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rcx, qword [rsp + 0x220]
test rcx, rcx
je 0x14003771c
mov rax, qword [0x1400e8898]
call rax
jmp 0x1400376d9
call fcn.140098678
call fcn.140098678
nop
call fcn.140098678
nop
call fcn.140098678
call fcn.140098678
nop
call fcn.14002ea20
int3