Function at 0x140072d28
Capabilities:
Get disk information

Disassembly:
jmp 0x140072d28
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2c0
mov rax, qword [0x1400b6f80]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
xor r14d, r14d
mov rbx, rdx
mov rsi, rcx
cmp rcx, r14
jne 0x140072d8b
call fcn.14007046c
mov dword [rax], r14d
call fcn.14007044c
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
mov qword [rsp + 0x20], r14
call fcn.14006dc60
jmp 0x1400731fe
cmp rdx, r14
je 0x140072d5f
lea rdx, [0x14009c0a4]
call fcn.1400820f8
cmp rax, r14
je 0x140072db9
call fcn.14007044c
mov ebx, 2
mov dword [rax], ebx
call fcn.14007046c
mov dword [rax], ebx
jmp 0x1400731fe
cmp byte [rsi + 1], 0x3a
jne 0x140072dd8
cmp byte [rsi], r14b
je 0x140072dca
cmp byte [rsi + 2], r14b
je 0x140072da1
movsx ecx, byte [rsi]
call fcn.140081fec
lea r13d, [rax - 0x60]
jmp 0x140072de0
call fcn.140081e10
mov r13d, eax
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r15d, 1
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140072fb9
lea rdx, [0x14009c0a0]
mov rcx, rsi
mov rbp, r14
call fcn.1400820f8
cmp rax, r14
je 0x140072da1
call fcn.14007044c
mov r12d, dword [rax]
call fcn.14007044c
lea rcx, [rsp + 0x1a0]
mov r8d, 0x104
mov rdx, rsi
mov dword [rax], r14d
call fcn.140081190
mov rdi, rax
cmp rax, r14
je 0x140072e50
call fcn.14007044c
mov dword [rax], r12d
jmp 0x140072e79
call fcn.14007044c
cmp dword [rax], 0x22
jne 0x140072da1
call fcn.14007044c
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
mov dword [rax], r12d
call fcn.140081190
mov rbp, rax
mov rdi, rax
cmp rdi, r14
je 0x140072fa3
mov rcx, rdi
call fcn.140073a20
cmp rax, 3
je 0x140072f38
mov rcx, rdi
call fcn.140073a20
cmp rax, 5
jb 0x140072fa3
mov r8b, 0x5c
mov dl, 0x2f
cmp byte [rdi], r8b
je 0x140072eb8
cmp byte [rdi], dl
jne 0x140072fa3
mov al, byte [rdi + 1]
cmp al, r8b
je 0x140072ec8
cmp al, dl
jne 0x140072fa3
mov al, byte [rdi + 2]
cmp al, r8b
je 0x140072fa3
cmp al, dl
je 0x140072fa3
lea rax, [rdi + 3]
mov cl, byte [rax]
cmp cl, r14b
je 0x140072fa3
cmp cl, r8b
je 0x140072efe
cmp cl, dl
je 0x140072efe
add rax, r15
mov cl, byte [rax]
cmp cl, r14b
jne 0x140072eeb
cmp byte [rax], r14b
je 0x140072fa3
inc rax
cmp byte [rax], r14b
je 0x140072fa3
mov cl, byte [rax]
cmp cl, r14b
je 0x140072f38
cmp cl, r8b
je 0x140072f2d
cmp cl, dl
je 0x140072f2d
add rax, r15
mov cl, byte [rax]
cmp cl, r14b
jne 0x140072f1a
cmp byte [rax], r14b
je 0x140072f38
cmp byte [rax + 1], r14b
jne 0x140072fa3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, r15d
jbe 0x140072fa3
cmp rbp, r14
je 0x140072f53
mov rcx, rbp
call fcn.14006d598
or dword [rsp + 0x30], 0xffffffff
xor r9d, r9d
mov r8d, r15d
mov edx, r15d
mov ecx, 0x7bc
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x60], reloc.WS2_32.dll_recv
mov dword [rsp + 0x7c], r14d
mov dword [rsp + 0x80], r14d
mov dword [rsp + 0x20], r14d
mov byte [rsp + 0x8c], r14b
call fcn.140080ed4
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x30], rax
jmp 0x1400731a1
cmp rbp, r14
je 0x140072da1
mov rcx, rbp
call fcn.14006d598
jmp 0x140072da1
bt dword [rsp + 0x60], 0xa
jae 0x14007301e
cmp dword [rsp + 0x84], 0xa000000c
jne 0x14007301e
or dword [rsp + 0x50], 0xffffffff
lea rcx, [rsp + 0x50]
mov r9d, 0x40
xor r8d, r8d
mov rdx, rsi
mov dword [rsp + 0x20], r14d
call fcn.140081ddc
cmp eax, r14d
jne 0x140072da1
mov ecx, dword [rsp + 0x50]
cmp ecx, 0xffffffff
je 0x140072da1
mov rdx, rbx
call fcn.1400723d8
mov ecx, dword [rsp + 0x50]
mov ebx, eax
call fcn.140079e3c
mov eax, ebx
jmp 0x140073201
cmp dword [rsp + 0x74], r14d
jne 0x140073032
cmp dword [rsp + 0x78], r14d
jne 0x140073032
mov qword [rbx + 0x28], r14
jmp 0x14007309c
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x74]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
cmp eax, r14d
je 0x1400731e8
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
cmp eax, r14d
je 0x1400731e8
or dword [rsp + 0x30], 0xffffffff
movzx eax, word [rsp + 0x4c]
movzx r10d, word [rsp + 0x4a]
movzx r9d, word [rsp + 0x48]
movzx r8d, word [rsp + 0x46]
movzx edx, word [rsp + 0x42]
movzx ecx, word [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r10d
call fcn.140080ed4
mov qword [rbx + 0x28], rax
cmp dword [rsp + 0x6c], r14d
jne 0x1400730b0
cmp dword [rsp + 0x70], r14d
jne 0x1400730b0
mov rax, qword [rbx + 0x28]
jmp 0x140073116
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
cmp eax, r14d
je 0x1400731e8
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
cmp eax, r14d
je 0x1400731e8
or dword [rsp + 0x30], 0xffffffff
movzx eax, word [rsp + 0x4c]
movzx r10d, word [rsp + 0x4a]
movzx r9d, word [rsp + 0x48]
movzx r8d, word [rsp + 0x46]
movzx edx, word [rsp + 0x42]
movzx ecx, word [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r10d
call fcn.140080ed4
mov qword [rbx + 0x20], rax
cmp dword [rsp + 0x64], r14d
jne 0x14007312e
cmp dword [rsp + 0x68], r14d
jne 0x14007312e
mov rax, qword [rbx + 0x28]
jmp 0x140073194
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x64]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
cmp eax, r14d
je 0x1400731e8
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
cmp eax, r14d
je 0x1400731e8
or dword [rsp + 0x30], 0xffffffff
movzx eax, word [rsp + 0x4c]
movzx r10d, word [rsp + 0x4a]
movzx r9d, word [rsp + 0x48]
movzx r8d, word [rsp + 0x46]
movzx edx, word [rsp + 0x42]
movzx ecx, word [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r10d
call fcn.140080ed4
mov rcx, rdi
mov qword [rbx + 0x30], rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [rsp + 0x60]
mov rdx, rsi
call fcn.1400812cc
mov ecx, dword [rsp + 0x7c]
mov word [rbx + 8], r15w
mov word [rbx + 6], ax
mov eax, dword [rsp + 0x80]
shl rcx, 0x20
add rcx, rax
lea eax, [r13 - 1]
mov word [rbx + 4], r14w
mov dword [rbx], eax
mov dword [rbx + 0x10], eax
mov word [rbx + 0xc], r14w
xor eax, eax
mov qword [rbx + 0x18], rcx
mov word [rbx + 0xa], r14w
jmp 0x140073201
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14007048c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
or eax, 0xffffffff
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.14006d1b0
mov rbx, qword [rsp + 0x310]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret