Function at 0x140071bb0
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.140082d50
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.140071a58
cmp rax, 2
jne 0x140071c19
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.14000c7c0
test rbx, rbx
lea rdi, [0x140138958]
mov r15d, 0x5c
cmovne rdi, rbx
cmp word [rdi], r15w
jne 0x140071c65
lea rbx, [rdi + 2]
movzx edx, r15w
mov rcx, rbx
call fcn.140039610
test rax, rax
cmove rdi, rbx
test rdi, rdi
je 0x140071d4b
cmp word [rdi], r12w
je 0x140071d4b
mov edx, r15d
mov rcx, rdi
call fcn.140039610
test rax, rax
jne 0x140071ca0
lea rcx, [rsi + 0x218]
mov rdx, rdi
call fcn.14000cd5c
lea rbx, [rsi + 0x10]
jmp 0x140071d53
lea rbx, [rsi + 0x10]
mov rcx, rdi
mov qword [rbp + 0x4b80], rbx
call fcn.14000cd78
mov rcx, rbx
cmp word [rdi + rax*2 - 2], r15w
jne 0x140071cda
mov rdx, rdi
call fcn.14000cd5c
movzx eax, word [rbx]
sub ax, 0x20
cmp word [rbx], 0x61
cmovb ax, word [rbx]
mov word [rbx], ax
jmp 0x140071d53
xor edx, edx
mov r8d, 0x208
call fcn.14000c7c0
mov rcx, rdi
call fcn.14000cd78
test eax, eax
js 0x140071d5a
mov edx, r15d
mov r15d, eax
cmp word [rdi + r15*2], dx
je 0x140071d0a
sub eax, 1
jns 0x140071cf6
mov r15d, edx
jmp 0x140071d53
inc eax
mov rdx, rdi
movsxd r8, eax
mov rcx, rbx
add r8, r8
call fcn.14001b8e0
lea rdx, [r15 + 1]
lea rdx, [rdi + rdx*2]
lea rcx, [rsi + 0x218]
call fcn.14000cd5c
movzx eax, word [rbx]
mov r15d, 0x5c
sub ax, 0x20
cmp word [rbx], 0x61
cmovb ax, word [rbx]
mov word [rbx], ax
jmp 0x140071d53
lea rbx, [rsi + 0x10]
mov word [rbx], r12w
mov qword [rbp + 0x4b80], rbx
mov rcx, qword [r14]
cmp word [rbx], r12w
jne 0x140071d6a
call fcn.1400f349c
jmp 0x140071d72
mov rdx, rbx
call fcn.1400f33d4
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 0x140071fa1
test byte [rsi + 0xc], 4
jne 0x1400725d0
lea rax, [0x140138958]
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, [0x140149740]
mov dword [rbp + 0x4b80], eax
lea rcx, [rbp + 0x710]
mov edi, eax
call fcn.14000cd5c
mov ebx, r12d
mov r13, r12
mov r15d, 0x200
bt edi, ebx
jae 0x140071ef3
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.14000cd5c
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.14000cd5c
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 0x140071ef0
lea rdi, [rsi + 0x2234]
mov r15, rax
cmp byte [rdi], 2
jne 0x140071ed5
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 0x140071eac
mov edi, dword [rbp + 0x4b80]
mov r15d, 0x200
xor r12d, r12d
inc ebx
inc r13
cmp ebx, 0x1f
jle 0x140071de7
cmp dword [reloc.WS2_32.dll_accept], r12d
je 0x1400725d0
test dword [rsi + 0xc], r15d
jne 0x1400725d0
mov rcx, qword [r14]
lea rax, [0x140138958]
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x30]
mov eax, dword [0x140163d7c]
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 0x1400725d0
lea rdi, [rsi + 0x2234]
cmp byte [rdi], 2
jne 0x140071f8f
mov rcx, qword [r14]
lea rax, [0x140162b30]
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 0x140071f67
jmp 0x1400725d0
test byte [rsi + 0xc], 2
lea rdi, [0x140138904]
mov r13d, 7
jne 0x1400720d7
lea rax, [0x140138958]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x48], rax
movzx edx, r15w
mov eax, dword [0x140163d78]
mov rcx, rbx
mov dword [rsp + 0x54], eax
call fcn.140039610
movzx edx, r15w
lea rcx, [rax + 2]
call fcn.140039610
neg rax
sbb rcx, rcx
neg rcx
add rcx, 0xfa
cmp dword [reloc.WS2_32.dll_accept], r12d
mov qword [rsp + 0x58], rcx
je 0x140072066
mov r15d, 0x200
test dword [rsi + 0xc], r15d
jne 0x140072066
lea rdi, [0x140162d38]
mov rcx, rdi
call fcn.14000cd78
mov r8, rax
mov rdx, rdi
mov rcx, rbx
call fcn.140032bd8
test eax, eax
jne 0x140072066
mov rcx, rdi
call fcn.14000cd78
add rax, 8
lea edx, [r13 + 0x55]
lea rcx, [rsi + rax*2]
call fcn.140039610
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 0x1400720cd
lea r15, [rsi + 0x2234]
lea rbx, [0x140138904]
cmp byte [r15], 2
jne 0x1400720b9
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 0x140072097
mov rbx, qword [rbp + 0x4b80]
lea rdi, [0x140138904]
xor r12d, r12d
test byte [rsi + 0xc], 4
jne 0x1400722e8
mov rdx, rbx
lea rcx, [rbp + 0x240]
call fcn.14000cd5c
lea rdx, [0x14014ac88]
lea rcx, [rbp + 0x240]
call fcn.14000cd30
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 0x1400722e8
lea rax, [0x140138958]
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 0x1400722b6
lea rdx, str..__
lea rcx, [rbp + 0x1c]
call fcn.140081988
test eax, eax
je 0x1400722b6
mov rdx, rdi
lea rcx, [rbp + 0x1c]
call fcn.140081988
test eax, eax
je 0x1400722b6
mov eax, dword [0x140163d78]
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 0x1400722b6
lea rbx, [rsi + 0x2234]
movzx edx, byte [rbx]
sub edx, 2
je 0x14007227b
sub edx, 3
je 0x140072206
sub edx, 1
je 0x140072200
sub edx, 1
je 0x1400721fa
cmp edx, 1
jne 0x14007229b
lea r9, [rbp - 4]
mov rcx, qword [r14]
mov r8d, edi
mov edx, r13d
call fcn.140071ab0
jmp 0x14007229b
lea r9, [rbp + 4]
jmp 0x1400721e7
lea r9, [rbp - 0xc]
jmp 0x1400721e7
xor edx, edx
lea rcx, [rbp - 0x30]
lea r8d, [rdx + 0xb]
call fcn.14000c7c0
lea r12, str.RHSDANTCOE
lea r15, [0x14015e120]
lea rsi, [0x14015e144]
mov eax, dword [r15]
test dword [rbp - 0x10], eax
je 0x140072245
lea rcx, [rbp - 0x30]
call fcn.14000cd78
movzx ecx, word [r12]
mov word [rbp + rax*2 - 0x30], cx
add r15, 4
add r12, 2
cmp r15, rsi
jle 0x14007222a
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 0x14007229b
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 0x1400721bf
mov r15, qword [rbp + 0x4b98]
xor r12d, r12d
lea rdx, [rbp - 0x10]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
lea rdi, [0x140138904]
test eax, eax
jne 0x14007214f
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rbp + 0x4b80]
mov r13d, 7
test byte [rsi + 0xc], 1
jne 0x1400725c3
lea rcx, [rsi + 0x218]
lea rdx, [rbp + 0x2920]
call fcn.1400f3cf0
lea rcx, [0x140166fa0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdx, rbx
lea rcx, [rbp + 0x240]
call fcn.14000cd5c
lea rdx, [0x14014ac88]
lea rcx, [rbp + 0x240]
call fcn.14000cd30
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 0x1400725c3
lea rax, [0x140138958]
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.14000c7c0
test byte [rbp - 0x10], 0x10
jne 0x1400725a5
lea rdx, [rbp + 0x2920]
lea rcx, [rbp + 0x1c]
call fcn.1400f3c30
test eax, eax
je 0x1400725a5
mov rdx, rbx
lea rcx, [rbp + 0x240]
call fcn.14000cd5c
lea rdx, [rbp + 0x1c]
lea rcx, [rbp + 0x240]
call fcn.14000cd30
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x240]
call fcn.1400f308c
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 0x1400725a2
lea rbx, [rsi + 0x2234]
movzx edx, byte [rbx]
sub edx, 2
je 0x140072563
sub edx, 1
je 0x1400724f1
sub edx, 1
je 0x1400724eb
sub edx, 1
je 0x140072473
sub edx, 1
je 0x14007246d
sub edx, 1
je 0x140072467
cmp edx, 1
jne 0x140072583
lea r9, [rbp - 4]
mov rcx, qword [r14]
mov r8d, edi
mov edx, r12d
call fcn.140071ab0
jmp 0x140072583
lea r9, [rbp + 4]
jmp 0x140072454
lea r9, [rbp - 0xc]
jmp 0x140072454
xor edx, edx
lea rcx, [rbp - 0x30]
lea r8d, [rdx + 0xb]
call fcn.14000c7c0
lea r13, str.RHSDANTCOE
lea r15, [0x14015e120]
lea rsi, [0x14015e144]
mov eax, dword [r15]
test dword [rbp - 0x10], eax
je 0x1400724b2
lea rcx, [rbp - 0x30]
call fcn.14000cd78
movzx ecx, word [r13]
mov word [rbp + rax*2 - 0x30], cx
add r15, 4
add r13, 2
cmp r15, rsi
jle 0x140072497
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 0x140072583
mov rax, qword [rbp - 0x18]
jmp 0x140072567
mov eax, dword [rbp + 0xc]
test eax, eax
je 0x140072516
mov edx, eax
lea rcx, [rbp + 0x240]
mov eax, dword [rbp + 0x10]
shl rdx, 0x20
add rdx, rax
shr rdx, 0xa
call fcn.140032e34
jmp 0x140072547
mov r8d, dword [rbp + 0x10]
lea eax, [r8 - 1]
cmp eax, 0x3ffffffe
ja 0x140072530
add r8d, 0x3ff
mov dword [rbp + 0x10], r8d
shr r8d, 0xa
lea rdx, [0x1401387f4]
lea rcx, [rbp + 0x240]
call fcn.140006578
lea rdx, [0x14014a668]
lea rcx, [rbp + 0x240]
call fcn.14000cd30
lea rax, [rbp + 0x240]
jmp 0x140072567
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 0x14007241a
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 0x140072397
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [0x140166fa0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [rsi + 0x22fc], r12d
je 0x1400725e1
mov rcx, rsi
call fcn.1400712a0
mov edx, 2
mov rcx, r14
call fcn.140071a58
cmp rax, 2
jne 0x14007260d
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