Function at 0x140037aa0
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 [0x1401e4c00]
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 [0x1401e4f00]
mov qword [rsp + 0x80], r13
mov r12d, dword [0x1401e4ef8]
mov dword [rsp + 0x40], r12d
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x2f0]
call fcn.1400fdb10
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.1400378c0
mov r14d, 1
mov dword [rsp + 0x20], r14d
lea r8, [0x1401c4fb8]
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x1c0]
call fcn.140045ee0
nop
cmp qword [rax + 0x18], 7
jbe 0x140037b74
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.140042490
and r14d, 0xfffffffe
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x170]
call fcn.140042490
mov rax, qword [rsp + 0x220]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1400383b8
nop word [rax + rax]
movzx ecx, word [rsp + 0x31c]
movzx eax, word [rsp + 0x31e]
cmp cx, 0x2e
jne 0x140037c08
test ax, ax
je 0x140038356
cmp cx, cx
jne 0x140037c08
cmp ax, cx
jne 0x140037c08
cmp word [rsp + 0x320], 0
je 0x140038356
test dword [rsp + 0x2f0], 0x400
jne 0x140038356
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 0x140037c40
lea rdx, [rsp + 0x31c]
lea rcx, [rsp + 0x50]
call fcn.140037630
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.14002ff50
nop
lea rcx, [rsp + 0x90]
call fcn.140030180
nop
lea rcx, [rsp + 0x50]
call fcn.140042490
lea rdx, [rsp + 0x238]
lea rcx, [rsp + 0x278]
call fcn.14002fbe0
nop
mov rdi, qword [0x1401ebc38]
mov qword [rsp + 0x70], rdi
mov rsi, qword [0x1401ebc40]
cmp rdi, rsi
je 0x140037da4
mov rdx, rdi
lea rcx, [rsp + 0x238]
call fcn.140045da0
test al, al
je 0x140037d96
mov rdx, qword [rsp + 0x250]
cmp rdx, 7
jbe 0x140037d75
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0x2b8], rdx
mov rcx, qword [rsp + 0x238]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037d70
add rdx, 0x27
mov qword [rsp + 0x2b8], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400383d0
call fcn.1400b5fd0
mov qword [rsp + 0x248], rbx
mov qword [rsp + 0x250], 7
mov word [rsp + 0x238], bx
jmp 0x140037f5b
add rdi, 0x20
mov qword [rsp + 0x70], rdi
jmp 0x140037d00
mov rdx, qword [rsp + 0x250]
cmp rdx, 7
jbe 0x140037dfc
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0x2b0], rdx
mov rcx, qword [rsp + 0x238]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037df7
add rdx, 0x27
mov qword [rsp + 0x2b0], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400383d5
call fcn.1400b5fd0
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.14002fc20
nop
lea rdx, [rsp + 0x258]
mov rcx, rax
call fcn.14002fbe0
nop
mov rdx, qword [rsp + 0x108]
cmp rdx, 7
jbe 0x140037e97
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0x2a8], rdx
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037e92
add rdx, 0x27
mov qword [rsp + 0x2a8], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400383db
call fcn.1400b5fd0
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0x108], 7
mov word [rsp + 0xf0], bx
mov rdi, qword [0x1401ebbf0]
mov qword [rsp + 0x78], rdi
mov rsi, qword [0x1401ebbf8]
cmp rdi, rsi
je 0x140037f80
mov rdx, rdi
lea rcx, [rsp + 0x258]
call fcn.140045da0
test al, al
je 0x140037f72
mov rdx, qword [rsp + 0x270]
cmp rdx, 7
jbe 0x140037f3f
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0x2a0], rdx
mov rcx, qword [rsp + 0x258]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037f3a
add rdx, 0x27
mov qword [rsp + 0x2a0], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400383e1
call fcn.1400b5fd0
mov qword [rsp + 0x268], rbx
mov qword [rsp + 0x270], 7
mov word [rsp + 0x258], bx
lea rcx, [rsp + 0x278]
call fcn.140030180
mov rsi, qword [rsp + 0x28]
jmp 0x140038356
add rdi, 0x20
mov qword [rsp + 0x78], rdi
jmp 0x140037ec6
mov rdx, qword [rsp + 0x270]
cmp rdx, 7
jbe 0x140037fd8
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0x298], rdx
mov rcx, qword [rsp + 0x258]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037fd3
add rdx, 0x27
mov qword [rsp + 0x298], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400383e6
call fcn.1400b5fd0
mov qword [rsp + 0x268], rbx
mov qword [rsp + 0x270], 7
mov word [rsp + 0x258], bx
test byte [rsp + 0x2f0], 0x10
je 0x14003801e
cmp r15d, r12d
jae 0x14003801e
lea edx, [r15 + 1]
lea rcx, [rsp + 0x278]
call fcn.140037aa0
mov rsi, qword [rsp + 0x28]
jmp 0x140038349
lea rcx, [rsp + 0x278]
call fcn.14007d1d0
test rax, rax
jne 0x140038047
lea rcx, [rsp + 0x278]
call fcn.140030180
mov rsi, qword [rsp + 0x28]
jmp 0x140038356
cmp rax, r13
ja 0x14003831c
lea rcx, [rsp + 0x278]
call fcn.140037180
test al, al
je 0x14003831c
lea rdx, [rsp + 0x278]
lea rcx, [rsp + 0x2c0]
call fcn.14007ceb0
nop
cmp byte [rsp + 0x2e0], 0
je 0x14003830e
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x1b0], xmm0
movdqa xmmword [rsp + 0x150], xmm0
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x228]
call fcn.140043590
or r14d, 8
mov dword [rsp + 0x20], r14d
lea rax, [rsp + 0x160]
mov qword [rsp + 0x110], rax
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x278]
call fcn.14002fab0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1400380f0
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x190]
call fcn.140045430
or r14d, 0x10
mov dword [rsp + 0x20], r14d
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x160]
call fcn.140045700
mov rsi, 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.140048050
nop
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x228]
call fcn.140041650
mov rdi, rax
movzx edx, byte [rax]
movzx ecx, byte [rsi]
mov byte [rax], cl
mov byte [rsi], dl
lea rcx, [rsi + 8]
mov rax, qword [rax + 8]
mov rdx, qword [rcx]
mov qword [rdi + 8], rdx
mov qword [rcx], rax
movzx edx, byte [rsi]
call fcn.140043cf0
and r14d, 0xffffffef
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x190]
call fcn.1400426c0
nop
lea rcx, [rsp + 0x1e0]
call fcn.1400426c0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x128], rax
cmp byte [rsp + 0x2e0], 0
je 0x1400383ec
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.140055210
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.140048050
nop
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x228]
call fcn.140041650
mov rdi, rax
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov byte [rsp + 0x30], dl
mov rcx, qword [rax + 8]
mov rax, qword [rsp + 0x38]
mov qword [rdi + 8], rax
mov qword [rsp + 0x38], rcx
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140043cf0
lea rax, [rsp + 0x200]
mov qword [rsp + 0x140], rax
lea rdx, [0x1401ec300]
lea rcx, [rsp + 0x200]
call fcn.1400427f0
nop
mov rdx, rax
lea rcx, [0x1401e5180]
call fcn.140041650
lea rdx, [rsp + 0x228]
mov rcx, rax
call fcn.140041570
and r14d, 0xfffffff7
mov dword [rsp + 0x20], r14d
movzx edx, byte [rsp + 0x228]
lea rcx, [rsp + 0x230]
call fcn.140043cf0
nop
lea rcx, [rsp + 0x2c0]
call fcn.140033a40
nop
mov rsi, qword [rsp + 0x28]
jmp 0x140038349
lea rcx, [rsp + 0x278]
call fcn.140030180
lea rdx, [rsp + 0x2f0]
mov rcx, qword [rsp + 0x220]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140037bd0
mov rcx, qword [rsp + 0x220]
test rcx, rcx
je 0x14003838b
mov rax, qword [0x1401c5948]
call rax
nop
mov rcx, qword [rsp + 0x540]
xor rcx, rsp
call fcn.1400b5fb0
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 0x1400383ce
mov rax, qword [0x1401c5948]
call rax
jmp 0x14003838b
call fcn.140093bc4
call fcn.140093bc4
nop
call fcn.140093bc4
nop
call fcn.140093bc4
call fcn.140093bc4
nop
call fcn.14002f6b0
int3