Function at 0x14000a9a8
Capabilities:
Enumerate files on windows
Get disk information
Get file system object information

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4b38]
mov eax, 0x4c38
call fcn.14003d4e0
sub rsp, rax
mov rsi, qword [rcx + 0x20]
xor r12d, r12d
mov rbx, rdx
mov qword [rbp + 0x4b88], rsi
mov r14, rcx
mov word [rbp + 0x4b90], r12w
lea edx, [r12 + 2]
call fcn.14000a850
cmp rax, 2
jne 0x14000aa11
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x101d
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rbp + 0x4b90], rax
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x48]
call fcn.140001060
test rbx, rbx
lea rdi, [0x1400fc48c]
mov r15d, 0x5c
cmovne rdi, rbx
cmp word [rdi], r15w
jne 0x14000aa5d
lea rbx, [rdi + 2]
movzx edx, r15w
mov rcx, rbx
call fcn.14003c050
test rax, rax
cmove rdi, rbx
test rdi, rdi
je 0x14000ab43
cmp word [rdi], r12w
je 0x14000ab43
mov edx, r15d
mov rcx, rdi
call fcn.14003c050
test rax, rax
jne 0x14000aa98
lea rcx, [rsi + 0x218]
mov rdx, rdi
call fcn.1400184cc
lea rbx, [rsi + 0x10]
jmp 0x14000ab4b
lea rbx, [rsi + 0x10]
mov rcx, rdi
mov qword [rbp + 0x4b80], rbx
call fcn.1400184e8
mov rcx, rbx
cmp word [rdi + rax*2 - 2], r15w
jne 0x14000aad2
mov rdx, rdi
call fcn.1400184cc
movzx eax, word [rbx]
sub ax, 0x20
cmp word [rbx], 0x61
cmovb ax, word [rbx]
mov word [rbx], ax
jmp 0x14000ab4b
xor edx, edx
mov r8d, 0x208
call fcn.140001060
mov rcx, rdi
call fcn.1400184e8
test eax, eax
js 0x14000ab52
mov edx, r15d
mov r15d, eax
cmp word [rdi + r15*2], dx
je 0x14000ab02
sub eax, 1
jns 0x14000aaee
mov r15d, edx
jmp 0x14000ab4b
inc eax
mov rdx, rdi
movsxd r8, eax
mov rcx, rbx
add r8, r8
call fcn.140019020
lea rdx, [r15 + 1]
lea rdx, [rdi + rdx*2]
lea rcx, [rsi + 0x218]
call fcn.1400184cc
movzx eax, word [rbx]
mov r15d, 0x5c
sub ax, 0x20
cmp word [rbx], 0x61
cmovb ax, word [rbx]
mov word [rbx], ax
jmp 0x14000ab4b
lea rbx, [rsi + 0x10]
mov word [rbx], r12w
mov qword [rbp + 0x4b80], rbx
mov rcx, qword [r14]
cmp word [rbx], r12w
jne 0x14000ab62
call fcn.14003d1b8
jmp 0x14000ab6a
mov rdx, rbx
call fcn.14003d0f0
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1009
call qword [sym.imp.USER32.dll_SendMessageW]
cmp word [rbx], r12w
jne 0x14000ad99
test byte [rsi + 0xc], 4
jne 0x14000b3c8
lea rax, [0x1400fc48c]
mov qword [rsp + 0x34], 0x10000
mov r13d, 7
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x30], r13d
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
lea rdx, [0x14010ca28]
mov dword [rbp + 0x4b80], eax
lea rcx, [rbp + 0x710]
mov edi, eax
call fcn.1400184cc
mov ebx, r12d
mov r13, r12
mov r15d, 0x200
bt edi, ebx
jae 0x14000aceb
lea eax, [rbx + 0x41]
mov word [rbp + 0x240], r12w
lea rdx, str.Drive
mov word [rbp + 0x710], ax
lea rcx, [rbp + 0x668]
mov qword [rsp + 0x58], r13
call fcn.1400184cc
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x4001
lea r8, [rbp + 0x450]
xor edx, edx
lea rcx, [rbp + 0x710]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [rbp + 0x458]
lea r8, [rbp + 0x450]
mov r9d, 0x2b8
mov dword [rsp + 0x54], eax
xor edx, edx
mov dword [rsp + 0x20], r15d
lea rcx, [rbp + 0x710]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea rdx, [rbp + 0x460]
lea rcx, [rbp + 0x240]
call fcn.1400184cc
mov rcx, qword [r14]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x104d
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rsi + 0x2230], 0
mov qword [rbp + 0x4b88], rax
jle 0x14000ace8
lea rdi, [rsi + 0x2234]
mov r15, rax
cmp byte [rdi], 2
jne 0x14000accd
mov rcx, qword [r14]
lea rax, [rbp + 0x240]
movsxd r8, r15d
lea r9, [rbp - 0x80]
mov edx, 0x1074
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x78], r12d
call qword [sym.imp.USER32.dll_SendMessageW]
inc r12d
inc rdi
cmp r12d, dword [rsi + 0x2230]
jl 0x14000aca4
mov edi, dword [rbp + 0x4b80]
mov r15d, 0x200
xor r12d, r12d
inc ebx
inc r13
cmp ebx, 0x1f
jle 0x14000abdf
cmp dword [reloc.WS2_32.dll_accept], r12d
je 0x14000b3c8
test dword [rsi + 0xc], r15d
jne 0x14000b3c8
mov rcx, qword [r14]
lea rax, [0x1400fc48c]
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x30]
mov eax, dword [0x14015d3ac]
xor r8d, r8d
mov edx, 0x104d
mov dword [rsp + 0x54], eax
mov qword [rsp + 0x58], 0xfd
call qword [sym.imp.USER32.dll_SendMessageW]
mov ebx, r12d
mov r15, rax
cmp dword [rsi + 0x2230], r12d
jle 0x14000b3c8
lea rdi, [rsi + 0x2234]
cmp byte [rdi], 2
jne 0x14000ad87
mov rcx, qword [r14]
lea rax, [0x14015c160]
movsxd r8, r15d
lea r9, [rbp - 0x80]
mov edx, 0x1074
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x78], ebx
call qword [sym.imp.USER32.dll_SendMessageW]
inc ebx
inc rdi
cmp ebx, dword [rsi + 0x2230]
jl 0x14000ad5f
jmp 0x14000b3c8
test byte [rsi + 0xc], 2
lea rdi, [0x1400fc458]
mov r13d, 7
jne 0x14000aecf
lea rax, [0x1400fc48c]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x48], rax
movzx edx, r15w
mov eax, dword [0x14015d3a8]
mov rcx, rbx
mov dword [rsp + 0x54], eax
call fcn.14003c050
movzx edx, r15w
lea rcx, [rax + 2]
call fcn.14003c050
neg rax
sbb rcx, rcx
neg rcx
add rcx, 0xfa
cmp dword [reloc.WS2_32.dll_accept], r12d
mov qword [rsp + 0x58], rcx
je 0x14000ae5e
mov r15d, 0x200
test dword [rsi + 0xc], r15d
jne 0x14000ae5e
lea rdi, [0x14015c368]
mov rcx, rdi
call fcn.1400184e8
mov r8, rax
mov rdx, rdi
mov rcx, rbx
call fcn.14003c0cc
test eax, eax
jne 0x14000ae5e
mov rcx, rdi
call fcn.1400184e8
add rax, 8
lea edx, [r13 + 0x55]
lea rcx, [rsi + rax*2]
call fcn.14003c050
mov rcx, qword [rsp + 0x58]
test rax, rax
mov eax, 0xfa
cmove rcx, rax
mov qword [rsp + 0x58], rcx
mov rcx, qword [r14]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x104d
call qword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
mov r12, rax
cmp dword [rsi + 0x2230], edi
jle 0x14000aec5
lea r15, [rsi + 0x2234]
lea rbx, [0x1400fc458]
cmp byte [r15], 2
jne 0x14000aeb1
mov rcx, qword [r14]
lea r9, [rbp - 0x80]
movsxd r8, r12d
mov edx, 0x1074
mov dword [rbp - 0x78], edi
mov qword [rbp - 0x68], rbx
call qword [sym.imp.USER32.dll_SendMessageW]
inc edi
inc r15
cmp edi, dword [rsi + 0x2230]
jl 0x14000ae8f
mov rbx, qword [rbp + 0x4b80]
lea rdi, [0x1400fc458]
xor r12d, r12d
test byte [rsi + 0xc], 4
jne 0x14000b0e0
mov rdx, rbx
lea rcx, [rbp + 0x240]
call fcn.1400184cc
lea rdx, [0x14010dba8]
lea rcx, [rbp + 0x240]
call fcn.140018c58
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbp + 0x4b98], rax
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x14000b0e0
lea rax, [0x1400fc48c]
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x34], 0xffff
mov dword [rsp + 0x54], r13d
mov qword [rsp + 0x58], 0xfc
test byte [rbp - 0x10], 0x10
je 0x14000b0ae
lea rdx, [0x1400fc460]
lea rcx, [rbp + 0x1c]
call fcn.140019698
test eax, eax
je 0x14000b0ae
mov rdx, rdi
lea rcx, [rbp + 0x1c]
call fcn.140019698
test eax, eax
je 0x14000b0ae
mov eax, dword [0x14015d3a8]
lea r9, [rsp + 0x30]
mov rcx, qword [r14]
xor r8d, r8d
mov edx, 0x104d
mov dword [rsp + 0x54], eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov edi, r12d
mov r13, rax
cmp dword [rsi + 0x2230], r12d
jle 0x14000b0ae
lea rbx, [rsi + 0x2234]
movzx edx, byte [rbx]
sub edx, 2
je 0x14000b073
sub edx, 3
je 0x14000affe
sub edx, 1
je 0x14000aff8
sub edx, 1
je 0x14000aff2
cmp edx, 1
jne 0x14000b093
lea r9, [rbp - 4]
mov rcx, qword [r14]
mov r8d, edi
mov edx, r13d
call fcn.14000a8a8
jmp 0x14000b093
lea r9, [rbp + 4]
jmp 0x14000afdf
lea r9, [rbp - 0xc]
jmp 0x14000afdf
xor edx, edx
lea rcx, [rbp - 0x30]
lea r8d, [rdx + 0xb]
call fcn.140001060
lea r12, str.RHSDANTCOE
lea r15, [0x14015a0f0]
lea rsi, [0x14015a114]
mov eax, dword [r15]
test dword [rbp - 0x10], eax
je 0x14000b03d
lea rcx, [rbp - 0x30]
call fcn.1400184e8
movzx ecx, word [r12]
mov word [rbp + rax*2 - 0x30], cx
add r15, 4
add r12, 2
cmp r15, rsi
jle 0x14000b022
mov rcx, qword [r14]
lea rax, [rbp - 0x30]
movsxd r8, r13d
lea r9, [rbp - 0x80]
mov edx, 0x1074
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x78], edi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, qword [rbp + 0x4b88]
jmp 0x14000b093
mov rcx, qword [r14]
lea rax, [rbp + 0x1c]
movsxd r8, r13d
lea r9, [rbp - 0x80]
mov edx, 0x1074
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x78], edi
call qword [sym.imp.USER32.dll_SendMessageW]
inc edi
inc rbx
cmp edi, dword [rsi + 0x2230]
jl 0x14000afb7
mov r15, qword [rbp + 0x4b98]
xor r12d, r12d
lea rdx, [rbp - 0x10]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
lea rdi, [0x1400fc458]
test eax, eax
jne 0x14000af47
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rbp + 0x4b80]
mov r13d, 7
test byte [rsi + 0xc], 1
jne 0x14000b3bb
lea rcx, [rsi + 0x218]
lea rdx, [rbp + 0x2920]
call fcn.14003c990
lea rcx, [0x14015e880]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdx, rbx
lea rcx, [rbp + 0x240]
call fcn.1400184cc
lea rdx, [0x14010dba8]
lea rcx, [rbp + 0x240]
call fcn.140018c58
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbp + 0x4b98], rax
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x14000b3bb
lea rax, [0x1400fc48c]
mov dword [rsp + 0x30], r13d
xor edx, edx
mov qword [rsp + 0x48], rax
mov r8d, 0x2b8
mov dword [rsp + 0x34], 0xffff
lea rcx, [rbp + 0x450]
mov dword [rsp + 0x54], 0xa
mov qword [rsp + 0x58], 0xff
call fcn.140001060
test byte [rbp - 0x10], 0x10
jne 0x14000b39d
lea rdx, [rbp + 0x2920]
lea rcx, [rbp + 0x1c]
call fcn.14003c8d0
test eax, eax
je 0x14000b39d
mov rdx, rbx
lea rcx, [rbp + 0x240]
call fcn.1400184cc
lea rdx, [rbp + 0x1c]
lea rcx, [rbp + 0x240]
call fcn.140018c58
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x240]
call fcn.14003cda8
mov rcx, qword [r14]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x54], eax
mov edx, 0x104d
call qword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
mov r12, rax
cmp dword [rsi + 0x2230], edi
jle 0x14000b39a
lea rbx, [rsi + 0x2234]
movzx edx, byte [rbx]
sub edx, 2
je 0x14000b35b
sub edx, 1
je 0x14000b2e9
sub edx, 1
je 0x14000b2e3
sub edx, 1
je 0x14000b26b
sub edx, 1
je 0x14000b265
sub edx, 1
je 0x14000b25f
cmp edx, 1
jne 0x14000b37b
lea r9, [rbp - 4]
mov rcx, qword [r14]
mov r8d, edi
mov edx, r12d
call fcn.14000a8a8
jmp 0x14000b37b
lea r9, [rbp + 4]
jmp 0x14000b24c
lea r9, [rbp - 0xc]
jmp 0x14000b24c
xor edx, edx
lea rcx, [rbp - 0x30]
lea r8d, [rdx + 0xb]
call fcn.140001060
lea r13, str.RHSDANTCOE
lea r15, [0x14015a0f0]
lea rsi, [0x14015a114]
mov eax, dword [r15]
test dword [rbp - 0x10], eax
je 0x14000b2aa
lea rcx, [rbp - 0x30]
call fcn.1400184e8
movzx ecx, word [r13]
mov word [rbp + rax*2 - 0x30], cx
add r15, 4
add r13, 2
cmp r15, rsi
jle 0x14000b28f
mov rcx, qword [r14]
lea rax, [rbp - 0x30]
movsxd r8, r12d
lea r9, [rbp - 0x80]
mov edx, 0x1074
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x78], edi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, qword [rbp + 0x4b88]
jmp 0x14000b37b
mov rax, qword [rbp - 0x18]
jmp 0x14000b35f
mov eax, dword [rbp + 0xc]
test eax, eax
je 0x14000b30e
mov edx, eax
lea rcx, [rbp + 0x240]
mov eax, dword [rbp + 0x10]
shl rdx, 0x20
add rdx, rax
shr rdx, 0xa
call fcn.14003c2b4
jmp 0x14000b33f
mov r8d, dword [rbp + 0x10]
lea eax, [r8 - 1]
cmp eax, 0x3ffffffe
ja 0x14000b328
add r8d, 0x3ff
mov dword [rbp + 0x10], r8d
shr r8d, 0xa
lea rdx, [0x1400fc370]
lea rcx, [rbp + 0x240]
call fcn.140005534
lea rdx, [0x14010d5e8]
lea rcx, [rbp + 0x240]
call fcn.140018c58
lea rax, [rbp + 0x240]
jmp 0x14000b35f
lea rax, [rbp + 0x1c]
mov rcx, qword [r14]
lea r9, [rbp - 0x80]
movsxd r8, r12d
mov edx, 0x1074
mov dword [rbp - 0x78], edi
mov qword [rbp - 0x68], rax
call qword [sym.imp.USER32.dll_SendMessageW]
inc edi
inc rbx
cmp edi, dword [rsi + 0x2230]
jl 0x14000b212
mov rbx, qword [rbp + 0x4b80]
mov r15, qword [rbp + 0x4b98]
xor r12d, r12d
lea rdx, [rbp - 0x10]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000b18f
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [0x14015e880]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [rsi + 0x22fc], r12d
je 0x14000b3d9
mov rcx, rsi
call fcn.14000a098
mov edx, 2
mov rcx, r14
call fcn.14000a850
cmp rax, 2
jne 0x14000b405
movzx r9d, word [rbp + 0x4b90]
xor r8d, r8d
mov rcx, qword [r14]
mov edx, 0x101e
call qword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
add rsp, 0x4c38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret