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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4b80]
mov eax, 0x4c80
call fcn.1400aa070
sub rsp, rax
mov rax, qword [0x14016ca60]
xor rax, rsp
mov qword [rbp + 0x4b70], rax
mov rsi, qword [rcx + 0x20]
xor r12d, r12d
mov rbx, rdx
mov qword [rsp + 0x38], rsi
mov r14, rcx
mov word [rbp - 0x60], r12w
lea edx, [r12 + 2]
call fcn.14005358c
cmp rax, 2
jne 0x140054541
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x101d
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rbp - 0x60], rax
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x48]
call fcn.140033ea0
test rbx, rbx
lea rdi, [0x14010eeb0]
mov r15d, 0x5c
cmovne rdi, rbx
cmp word [rdi], r15w
jne 0x14005458d
lea rbx, [rdi + 2]
movzx edx, r15w
mov rcx, rbx
call fcn.140035f48
test rax, rax
cmove rdi, rbx
test rdi, rdi
je 0x140054671
cmp word [rdi], r12w
je 0x140054671
mov edx, r15d
mov rcx, rdi
call fcn.140035f48
test rax, rax
jne 0x1400545c8
lea rcx, [rsi + 0x218]
mov rdx, rdi
call fcn.1400c9b38
lea rbx, [rsi + 0x10]
jmp 0x140054679
lea rbx, [rsi + 0x10]
mov rcx, rdi
mov qword [rsp + 0x30], rbx
call fcn.1400255dc
mov rcx, rbx
cmp word [rdi + rax*2 - 2], r15w
jne 0x140054600
mov rdx, rdi
call fcn.1400c9b38
movzx eax, word [rbx]
sub ax, 0x20
cmp word [rbx], 0x61
cmovb ax, word [rbx]
mov word [rbx], ax
jmp 0x140054679
xor edx, edx
mov r8d, 0x208
call fcn.140033ea0
mov rcx, rdi
call fcn.1400255dc
test eax, eax
js 0x14005467e
mov edx, r15d
mov r15d, eax
cmp word [rdi + r15*2], dx
je 0x140054630
sub eax, 1
jns 0x14005461c
mov r15d, edx
jmp 0x140054679
inc eax
mov rdx, rdi
movsxd r8, eax
mov rcx, rbx
add r8, r8
call fcn.1400358d0
lea rdx, [r15 + 1]
lea rdx, [rdi + rdx*2]
lea rcx, [rsi + 0x218]
call fcn.1400c9b38
movzx eax, word [rbx]
mov r15d, 0x5c
sub ax, 0x20
cmp word [rbx], 0x61
cmovb ax, word [rbx]
mov word [rbx], ax
jmp 0x140054679
lea rbx, [rsi + 0x10]
mov word [rbx], r12w
mov qword [rsp + 0x30], rbx
mov rcx, qword [r14]
cmp word [rbx], r12w
jne 0x14005468e
call fcn.140057b00
jmp 0x140054696
mov rdx, rbx
call fcn.140058000
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 0x1400548bf
test byte [rsi + 0xc], 4
jne 0x140054ef4
lea rax, [0x14010eeb0]
mov qword [rsp + 0x54], 0x10000
mov r13d, 7
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x50], r13d
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
lea rdx, [0x140112dc0]
mov dword [rsp + 0x30], eax
lea rcx, [rbp + 0x750]
mov edi, eax
call fcn.1400c9b38
mov ebx, r12d
mov r13, r12
mov r15d, 0x200
bt edi, ebx
jae 0x140054811
lea eax, [rbx + 0x41]
mov word [rbp + 0x540], r12w
lea rdx, str.Drive
mov word [rbp + 0x750], ax
lea rcx, [rbp + 0x478]
mov qword [rsp + 0x78], r13
call fcn.1400c9b38
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x4001
lea r8, [rbp + 0x260]
xor edx, edx
lea rcx, [rbp + 0x750]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [rbp + 0x268]
lea r8, [rbp + 0x260]
mov r9d, 0x2b8
mov dword [rsp + 0x74], eax
xor edx, edx
mov dword [rsp + 0x20], r15d
lea rcx, [rbp + 0x750]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea rdx, [rbp + 0x270]
lea rcx, [rbp + 0x540]
call fcn.1400c9b38
mov rcx, qword [r14]
lea r9, [rsp + 0x50]
xor r8d, r8d
mov edx, 0x104d
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rsi + 0x2230], 0
mov qword [rsp + 0x38], rax
jle 0x14005480e
lea rdi, [rsi + 0x2234]
mov r15, rax
cmp byte [rdi], 2
jne 0x1400547f5
mov rcx, qword [r14]
lea rax, [rbp + 0x540]
movsxd r8, r15d
lea r9, [rbp - 0x50]
mov edx, 0x1074
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x48], r12d
call qword [sym.imp.USER32.dll_SendMessageW]
inc r12d
inc rdi
cmp r12d, dword [rsi + 0x2230]
jl 0x1400547cc
mov edi, dword [rsp + 0x30]
mov r15d, 0x200
xor r12d, r12d
inc ebx
inc r13
cmp ebx, 0x1f
jle 0x140054709
cmp dword [0x14016d4cc], r12d
je 0x140054ef4
test dword [rsi + 0xc], r15d
jne 0x140054ef4
mov rcx, qword [r14]
lea rax, [0x14010eeb0]
mov qword [rsp + 0x68], rax
lea r9, [rsp + 0x50]
mov eax, dword [0x1401741ac]
xor r8d, r8d
mov edx, 0x104d
mov dword [rsp + 0x74], eax
mov qword [rsp + 0x78], 0xfd
call qword [sym.imp.USER32.dll_SendMessageW]
mov ebx, r12d
mov r15, rax
cmp dword [rsi + 0x2230], r12d
jle 0x140054ef4
lea rdi, [rsi + 0x2234]
cmp byte [rdi], 2
jne 0x1400548ad
mov rcx, qword [r14]
lea rax, [0x140172f60]
movsxd r8, r15d
lea r9, [rbp - 0x50]
mov edx, 0x1074
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x48], ebx
call qword [sym.imp.USER32.dll_SendMessageW]
inc ebx
inc rdi
cmp ebx, dword [rsi + 0x2230]
jl 0x140054885
jmp 0x140054ef4
test byte [rsi + 0xc], 2
lea rdi, [0x140112dd4]
mov r13d, 7
jne 0x1400549f3
lea rax, [0x14010eeb0]
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x68], rax
movzx edx, r15w
mov eax, dword [0x1401741a8]
mov rcx, rbx
mov dword [rsp + 0x74], eax
call fcn.140035f48
movzx edx, r15w
lea rcx, [rax + 2]
call fcn.140035f48
neg rax
sbb rcx, rcx
neg rcx
add rcx, 0xfa
cmp dword [0x14016d4cc], r12d
mov qword [rsp + 0x78], rcx
je 0x140054984
mov r15d, 0x200
test dword [rsi + 0xc], r15d
jne 0x140054984
lea rdi, [0x140173168]
mov rcx, rdi
call fcn.1400255dc
mov r8, rax
mov rdx, rdi
mov rcx, rbx
call fcn.140027054
test eax, eax
jne 0x140054984
mov rcx, rdi
call fcn.1400255dc
add rax, 8
lea edx, [r13 + 0x55]
lea rcx, [rsi + rax*2]
call fcn.140035f48
mov rcx, qword [rsp + 0x78]
test rax, rax
mov eax, 0xfa
cmove rcx, rax
mov qword [rsp + 0x78], rcx
mov rcx, qword [r14]
lea r9, [rsp + 0x50]
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 0x1400549e9
lea r15, [rsi + 0x2234]
lea rbx, [0x140112dd4]
cmp byte [r15], 2
jne 0x1400549d7
mov rcx, qword [r14]
lea r9, [rbp - 0x50]
movsxd r8, r12d
mov edx, 0x1074
mov dword [rbp - 0x48], edi
mov qword [rbp - 0x38], rbx
call qword [sym.imp.USER32.dll_SendMessageW]
inc edi
inc r15
cmp edi, dword [rsi + 0x2230]
jl 0x1400549b5
mov rbx, qword [rsp + 0x30]
lea rdi, [0x140112dd4]
xor r12d, r12d
test byte [rsi + 0xc], 4
jne 0x140054c08
mov rdx, rbx
lea rcx, [rbp + 0x540]
call fcn.1400c9b38
lea rdx, [0x140112de0]
lea rcx, [rbp + 0x540]
call fcn.1400c9b54
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x540]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x40], rax
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140054c08
lea rax, [0x14010eeb0]
mov dword [rsp + 0x50], r13d
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x54], 0xffff
mov dword [rsp + 0x74], r13d
mov qword [rsp + 0x78], 0xfc
test byte [rbp + 0x10], 0x10
je 0x140054bd8
lea rdx, [0x14010b064]
lea rcx, [rbp + 0x3c]
call fcn.14002c984
test eax, eax
je 0x140054bd8
mov rdx, rdi
lea rcx, [rbp + 0x3c]
call fcn.14002c984
test eax, eax
je 0x140054bd8
mov eax, dword [0x1401741a8]
lea r9, [rsp + 0x50]
mov rcx, qword [r14]
xor r8d, r8d
mov edx, 0x104d
mov dword [rsp + 0x74], eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov edi, r12d
mov r13, rax
cmp dword [rsi + 0x2230], r12d
jle 0x140054bd8
lea rbx, [rsi + 0x2234]
movzx edx, byte [rbx]
sub edx, 2
je 0x140054b9f
sub edx, 3
je 0x140054b20
sub edx, 1
je 0x140054b1a
sub edx, 1
je 0x140054b14
cmp edx, 1
jne 0x140054bbf
lea r9, [rbp + 0x1c]
mov rcx, qword [r14]
mov r8d, edi
mov edx, r13d
call fcn.140054f60
jmp 0x140054bbf
lea r9, [rbp + 0x24]
jmp 0x140054b01
lea r9, [rbp + 0x14]
jmp 0x140054b01
xor edx, edx
lea rcx, [rbp + 0x520]
lea r8d, [rdx + 0xb]
call fcn.140033ea0
lea r12, str.RHSDANTCOE
lea r15, [0x14016d4a0]
lea rsi, [0x14016d4c4]
mov eax, dword [r15]
test dword [rbp + 0x10], eax
je 0x140054b68
lea rcx, [rbp + 0x520]
call fcn.1400255dc
movzx ecx, word [r12]
mov word [rbp + rax*2 + 0x520], cx
add r15, 4
add r12, 2
cmp r15, rsi
jle 0x140054b47
mov rcx, qword [r14]
lea rax, [rbp + 0x520]
movsxd r8, r13d
lea r9, [rbp - 0x50]
mov edx, 0x1074
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x48], edi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, qword [rsp + 0x38]
jmp 0x140054bbf
mov rcx, qword [r14]
lea rax, [rbp + 0x3c]
movsxd r8, r13d
lea r9, [rbp - 0x50]
mov edx, 0x1074
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x48], edi
call qword [sym.imp.USER32.dll_SendMessageW]
inc edi
inc rbx
cmp edi, dword [rsi + 0x2230]
jl 0x140054ad9
mov r15, qword [rsp + 0x40]
xor r12d, r12d
lea rdx, [rbp + 0x10]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
lea rdi, [0x140112dd4]
test eax, eax
jne 0x140054a69
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x30]
mov r13d, 7
test byte [rsi + 0xc], 1
jne 0x140054ee7
lea rcx, [rsi + 0x218]
lea rdx, [rbp + 0x2960]
call fcn.140058190
lea rcx, [0x140175540]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdx, rbx
lea rcx, [rbp + 0x540]
call fcn.1400c9b38
lea rdx, [0x140112de0]
lea rcx, [rbp + 0x540]
call fcn.1400c9b54
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x540]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x40], rax
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140054ee7
lea rax, [0x14010eeb0]
mov dword [rsp + 0x50], r13d
xor edx, edx
mov qword [rsp + 0x68], rax
mov r8d, 0x2b8
mov dword [rsp + 0x54], 0xffff
lea rcx, [rbp + 0x260]
mov dword [rsp + 0x74], 0xa
mov qword [rsp + 0x78], 0xff
call fcn.140033ea0
test byte [rbp + 0x10], 0x10
jne 0x140054ec9
lea rdx, [rbp + 0x2960]
lea rcx, [rbp + 0x3c]
call fcn.1400580d0
test eax, eax
je 0x140054ec9
mov rdx, rbx
lea rcx, [rbp + 0x540]
call fcn.1400c9b38
lea rdx, [rbp + 0x3c]
lea rcx, [rbp + 0x540]
call fcn.1400c9b54
lea rdx, [rbp]
lea rcx, [rbp + 0x540]
call fcn.140057b98
mov rcx, qword [r14]
lea r9, [rsp + 0x50]
xor r8d, r8d
mov dword [rsp + 0x74], eax
mov edx, 0x104d
call qword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
mov r12, rax
cmp dword [rsi + 0x2230], edi
jle 0x140054ec6
lea rbx, [rsi + 0x2234]
movzx edx, byte [rbx]
sub edx, 2
je 0x140054e8b
sub edx, 1
je 0x140054e19
sub edx, 1
je 0x140054e13
sub edx, 1
je 0x140054d91
sub edx, 1
je 0x140054d8b
sub edx, 1
je 0x140054d85
cmp edx, 1
jne 0x140054eab
lea r9, [rbp + 0x1c]
mov rcx, qword [r14]
mov r8d, edi
mov edx, r12d
call fcn.140054f60
jmp 0x140054eab
lea r9, [rbp + 0x24]
jmp 0x140054d72
lea r9, [rbp + 0x14]
jmp 0x140054d72
xor edx, edx
lea rcx, [rbp + 0x520]
lea r8d, [rdx + 0xb]
call fcn.140033ea0
lea r13, str.RHSDANTCOE
lea r15, [0x14016d4a0]
lea rsi, [0x14016d4c4]
mov eax, dword [r15]
test dword [rbp + 0x10], eax
je 0x140054dd9
lea rcx, [rbp + 0x520]
call fcn.1400255dc
movzx ecx, word [r13]
mov word [rbp + rax*2 + 0x520], cx
add r15, 4
add r13, 2
cmp r15, rsi
jle 0x140054db8
mov rcx, qword [r14]
lea rax, [rbp + 0x520]
movsxd r8, r12d
lea r9, [rbp - 0x50]
mov edx, 0x1074
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x48], edi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, qword [rsp + 0x38]
jmp 0x140054eab
mov rax, qword [rbp]
jmp 0x140054e8f
mov eax, dword [rbp + 0x2c]
test eax, eax
je 0x140054e3e
mov edx, eax
lea rcx, [rbp + 0x540]
mov eax, dword [rbp + 0x30]
shl rdx, 0x20
add rdx, rax
shr rdx, 0xa
call fcn.1400a8ccc
jmp 0x140054e6f
mov r8d, dword [rbp + 0x30]
lea eax, [r8 - 1]
cmp eax, 0x3ffffffe
ja 0x140054e58
add r8d, 0x3ff
mov dword [rbp + 0x30], r8d
shr r8d, 0xa
lea rdx, [0x140112de8]
lea rcx, [rbp + 0x540]
call fcn.140055750
lea rdx, [0x140112df0]
lea rcx, [rbp + 0x540]
call fcn.1400c9b54
lea rax, [rbp + 0x540]
jmp 0x140054e8f
lea rax, [rbp + 0x3c]
mov rcx, qword [r14]
lea r9, [rbp - 0x50]
movsxd r8, r12d
mov edx, 0x1074
mov dword [rbp - 0x48], edi
mov qword [rbp - 0x38], rax
call qword [sym.imp.USER32.dll_SendMessageW]
inc edi
inc rbx
cmp edi, dword [rsi + 0x2230]
jl 0x140054d38
mov rbx, qword [rsp + 0x30]
mov r15, qword [rsp + 0x40]
xor r12d, r12d
lea rdx, [rbp + 0x10]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140054cb5
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [0x140175540]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [rsi + 0x22fc], r12d
je 0x140054f05
mov rcx, rsi
call fcn.140055064
mov edx, 2
mov rcx, r14
call fcn.14005358c
cmp rax, 2
jne 0x140054f2e
movzx r9d, word [rbp - 0x60]
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]
mov rcx, qword [rbp + 0x4b70]
xor rcx, rsp
call fcn.1400a9c10
mov rbx, qword [rsp + 0x4cd0]
add rsp, 0x4c80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret