Function at 0x140379610
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x14055f260]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov r13d, r8d
mov r12d, edx
mov rsi, rcx
mov qword [rsp + 0x60], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
mov eax, edi
xchg dword [0x1405a2a80], eax
mov ebx, edi
cmp qword [0x1405a2a60], rbx
jne 0x1403796c2
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], di
lea r8d, [rdi + 7]
lea rdx, str.mpr.dll
lea rcx, [rsp + 0x68]
call fcn.14001d300
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], rdi
mov r15d, 1
mov dword [rsp + 0x30], r15d
mov ebx, r15d
lea r8d, [rdi + 2]
lea rdx, [rsp + 0x68]
lea rcx, [0x1405a2a60]
call fcn.14014c3b0
test al, al
je 0x1403796c7
movzx r14d, bl
jmp 0x1403796ca
mov r15d, dword [rsp + 0x30]
xor r14b, r14b
test ebx, ebx
je 0x140379735
mov r15d, edi
mov dword [rsp + 0x30], edi
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x140379723
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14037971e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14037971e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14036c454
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], di
test r14b, r14b
je 0x140379921
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], di
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.WNetOpenEnumW
lea rcx, [rbp - 0x68]
call fcn.14001d300
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], rdi
xor r8d, r8d
lea rdx, [rbp - 0x68]
lea rcx, [0x1405a2a60]
call fcn.14014c1a0
mov qword [0x1405a2a68], rax
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x1403797d7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1403797d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1403797d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14036c454
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], di
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.WNetEnumResourceW
lea rcx, [rbp - 0x38]
call fcn.14001d300
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rdi
xor r8d, r8d
lea rdx, [rbp - 0x38]
lea rcx, [0x1405a2a60]
call fcn.14014c1a0
mov qword [0x1405a2a70], rax
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x140379878
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140379873
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140379873
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14036c454
mov qword [rbp - 0x20], 7
mov qword [rbp - 8], rdi
mov qword [rbp + 8], rdi
mov qword [rbp + 0x10], 7
mov word [rbp - 8], di
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.WNetCloseEnum
lea rcx, [rbp - 8]
call fcn.14001d300
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x20], rdi
xor r8d, r8d
lea rdx, [rbp - 8]
lea rcx, [0x1405a2a60]
call fcn.14014c1a0
mov qword [0x1405a2a78], rax
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 0x140379919
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140379914
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140379914
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14036c454
mov qword [rbp + 0x10], 7
xor edx, edx
mov rcx, rsi
call fcn.14011acd0
or r15d, 2
mov dword [rsp + 0x30], r15d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebx, eax
lea ecx, [rax + 1]
mov eax, 2
mul rcx
mov r15, 0xffffffffffffffff
cmovo rax, r15
mov rcx, rax
call fcn.14036c728
mov r14, rax
mov rdx, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov rbx, r14
cmp word [r14], 0
je 0x1403799ad
nop word [rax + rax]
mov r9d, r13d
mov r8d, r12d
mov rdx, rbx
mov rcx, rsi
call fcn.140378f00
mov rax, r15
lea rax, [rax + 1]
cmp word [rbx + rax*2], 0
jne 0x140379994
lea rbx, [rbx + rax*2]
add rbx, 2
cmp word [rbx], 0
jne 0x140379980
mov rcx, r14
call fcn.14036c454
test r13b, 8
jne 0x140379a75
test r12b, 2
jne 0x140379a75
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.14011acd0
nop
mov r9d, r13d
mov r8d, r12d
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.140377c50
test al, al
je 0x140379a6b
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x140379a6b
mov rbx, rdi
lea r14, str.wxArrayString:_index_out_of_bounds
cmp rdi, rax
jb 0x140379a44
cmp qword [0x14055a4b8], 0
je 0x140379a44
mov qword [rsp + 0x20], r14
lea r9, str.nIndex___m_nCount
lea r8, str.wxArrayString::Item
mov edx, Ordinal_217
lea rcx, str.C:ProjectwxWidgets_3.2.2.1includewx_arrstr.h
call fcn.1401190f0
cmp byte [0x1405750a8], 0
je 0x140379a44
mov byte [0x1405750a8], 0
int3
mov rdx, qword [rsp + 0x50]
add rdx, rbx
mov r8d, 1
mov rcx, rsi
call fcn.14011a680
inc rdi
add rbx, 0x30
mov rax, qword [rsp + 0x48]
cmp rdi, rax
jb 0x140379a44
lea rcx, [rsp + 0x38]
call fcn.14011a4c0
mov rax, rsi
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.14036c0d0
mov rbx, qword [rsp + 0x188]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret