Function at 0x14003c764
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x3e8]
sub rsp, 0x4e0
mov rax, qword [0x1403b9010]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
xor esi, esi
cmp byte [0x1403e51b9], sil
je 0x14003c7d0
xor eax, eax
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.14005f5e0
lea r11, [rsp + 0x4e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140034f08
mov rcx, rax
test rax, rax
je 0x14003ca57
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
mov r8d, 0x104
lea rdx, [rbp + 0x1c0]
lea rcx, [0x140000000]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x14003c824
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x14003c83c
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x1c0]
call fcn.14003bbe4
mov edi, eax
mov rbx, qword [rsp + 0x40]
or r14, 0xffffffffffffffff
test edi, edi
js 0x14003ca1d
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x70]
call fcn.1400612f0
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rdi, rax
cmp rax, r14
jne 0x14003c8af
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, 0x80004005
test edi, edi
cmovns edi, ecx
cmp edi, 0x80070002
jne 0x14003ca1d
mov edi, esi
jmp 0x14003ca1d
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.14003b9ac
nop
call fcn.140034f08
mov rcx, rax
test rax, rax
je 0x14003ca62
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov r9, qword [rsp + 0x50]
lea r8, [rsp + 0x48]
lea rdx, str._s_s
lea rcx, [rsp + 0x30]
call fcn.140035ee8
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax - 0x10]
test ecx, ecx
je 0x14003c920
lea edx, [rcx - 1]
test edx, edx
js 0x14003ca41
cmp edx, ecx
jg 0x14003ca41
cmp word [rax + rcx*2 - 2], 0x5c
je 0x14003c940
lea rdx, [0x14037d6c8]
mov rax, r14
inc rax
cmp word [rdx + rax*2], si
jne 0x14003c92a
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.1400348c4
call fcn.140034f08
test rax, rax
je 0x14003ca4c
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140040c7c
lea rcx, [rbp - 0x64]
mov rax, r14
inc rax
cmp word [rcx + rax*2], si
jne 0x14003c976
mov r8d, eax
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x38]
call fcn.1400348c4
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.14003c4f0
nop
lea rdx, [rbx - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14003c9ba
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14003c940
mov byte [0x1403e51b9], 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
neg eax
sbb edi, edi
not edi
and edi, 0x8000ffff
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14003ca0e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x48]
call fcn.14003bd88
mov rbx, qword [rsp + 0x40]
lea rdx, [rbx - 0x18]
mov ecx, r14d
lock xadd dword [rdx + 0x10], ecx
add ecx, r14d
test ecx, ecx
jg 0x14003ca3a
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, edi
jmp 0x14003c7a4
mov ecx, 0x80070057
call fcn.140034ce8
int3
mov ecx, 0x80004005
call fcn.140034ce8
nop
mov ecx, 0x80004005
call fcn.140034ce8
nop
mov ecx, 0x80004005
call fcn.140034ce8
int3