Function at 0x140379060
Capabilities:
Get disk information
Get file system object information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x300]
sub rsp, 0x400
mov rax, qword [0x14055f260]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
mov r12, rcx
xor r13d, r13d
mov edi, r13d
mov dword [rsp + 0x40], r13d
lea r14d, [r13 + 1]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
sub eax, r14d
je 0x1403790ef
sub eax, r14d
je 0x1403790e4
sub eax, r14d
je 0x1403790df
sub eax, r14d
je 0x1403790d3
cmp eax, r14d
jne 0x1403790f2
lea r14d, [r13 + 7]
lea r15d, [r13 + 2]
jmp 0x1403790f8
mov r14d, 9
lea r15d, [r14 - 5]
jmp 0x1403790f8
mov r15d, r14d
jmp 0x1403790f8
mov r14d, 3
mov r15d, r13d
jmp 0x1403790f8
mov r14d, r13d
mov r15d, 5
mov dword [rsp + 0x20], 0x800
mov r9d, 0x2b8
lea r8, [rbp + 0x30]
xor edx, edx
mov rcx, r12
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rsi, 0xffffffffffffffff
test eax, eax
jne 0x14037941e
lea rdx, [0x1403c8f48]
test al, al
jne 0x14037917c
lea rcx, [rsp + 0x78]
call fcn.14010a1d0
mov rbx, rax
or edi, 1
mov dword [rsp + 0x40], edi
cmp dword [0x140575068], 0
je 0x140379160
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x140575068]
je 0x140379160
call fcn.140136fe0
jmp 0x140379167
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x14037917c
mov rcx, rbx
call fcn.140136b60
cmp eax, 6
jb 0x14037917c
mov bl, 1
jmp 0x14037917e
xor bl, bl
test dil, 1
je 0x14037919b
and edi, 0xfffffffe
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rsp + 0x78]
call fcn.14000e160
test bl, bl
je 0x140379440
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
call fcn.14010aa30
mov qword [rsp + 0x78], rax
call fcn.14010aa30
mov qword [rbp - 0x80], rax
mov r8, rsi
lea rdx, str._s__d_:__s_failed_with_error_0x_08lx___s_.
lea rcx, [rbp - 0x78]
call fcn.14010f8e0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.140138150
mov rbx, rax
mov dword [rbp - 0x50], 6
lea rax, str.C:ProjectwxWidgets_3.2.2.1_srcmsw_volume.cpp
mov qword [rbp - 0x48], rax
lea rax, str.GetBasicFlags
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x40], 0xac
lea rax, [0x1403c8f48]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], r13
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rbp - 0x18], eax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x10], xmm0
mov qword [rbp + 8], r13
mov qword [rbp + 0x10], 7
mov word [rbp - 8], r13w
mov qword [rbp + 0x18], r13
mov qword [rbp + 0x20], r13
call sub.KERNEL32.dll_GetLastError
nop
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], eax
lea rax, str.SHGetFileInfo
mov qword [rsp + 0x20], rax
mov r9d, 0xac
lea r8, str.C:ProjectwxWidgets_3.2.2.1_srcmsw_volume.cpp
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x50]
call fcn.14010ce50
nop
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x10]
cmp rdx, 8
jb 0x1403792d0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1403792cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140379417
call fcn.14036c454
mov qword [rbp + 8], r13
mov qword [rbp + 0x10], 7
mov word [rbp - 8], r13w
mov rbx, qword [rbp - 0x10]
test rbx, rbx
je 0x14037933c
lea r8, [0x1400110e0]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
call fcn.14011b9f0
mov qword [rbx + 0x30], r13
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea r8, [0x140011220]
mov rdx, qword [rbx]
mov rcx, qword [rbx + 8]
call fcn.14011b9f0
mov qword [rbx + 0x10], r13
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov edx, 0x40
mov rcx, rbx
call fcn.14036c454
nop
call fcn.14010aa30
mov rcx, qword [rbp - 0x78]
cmp rcx, rax
je 0x140379383
mov eax, 0xffff
add word [rcx + 0x10], ax
jne 0x14037937a
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x14037937a
cmp byte [rbx + 0x12], 0
je 0x14037936d
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14036c454
call fcn.14010aa30
mov qword [rbp - 0x78], rax
call fcn.14010aa30
mov rcx, qword [rbp - 0x80]
cmp rcx, rax
je 0x1403793ca
mov eax, 0xffff
add word [rcx + 0x10], ax
jne 0x1403793c1
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x1403793c1
cmp byte [rbx + 0x12], 0
je 0x1403793b4
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14036c454
call fcn.14010aa30
mov qword [rbp - 0x80], rax
call fcn.14010aa30
mov rcx, qword [rsp + 0x78]
cmp rcx, rax
je 0x140379410
mov eax, 0xffff
add word [rcx + 0x10], ax
jne 0x14037940a
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x14037940a
cmp byte [rbx + 0x12], 0
je 0x1403793fd
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14036c454
call fcn.14010aa30
nop
mov al, 1
jmp 0x140379124
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov eax, dword [rbp + 0x3c]
mov ecx, r14d
or ecx, 4
and eax, 0x40000
cmove ecx, r14d
mov r14d, ecx
test dword [rbp + 0x3c], 0x2000000
je 0x140379440
or r14d, 2
lea rdx, [0x1404d41c8]
test r12, r12
cmovne rdx, r12
mov qword [rsp + 0x78], r13
movdqa xmm0, xmmword [0x1403c8da0]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r13w
inc rsi
cmp word [rdx + rsi*2], 0
jne 0x140379466
mov r8, rsi
lea rcx, [rsp + 0x78]
call fcn.14001d300
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
call fcn.140379520
mov rcx, rax
lea rdx, [rsp + 0x78]
call fcn.140377780
mov dword [rax], r14d
mov dword [rax + 4], r15d
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x1403794ec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1403794e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1403794e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14036c454
mov eax, r14d
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.14036c0d0
lea r11, [rsp + 0x400]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret