Function at 0x14004ff40
Capabilities:
Get disk information
Link many functions at runtime

Disassembly:
jmp 0x14004ff40
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xee0
mov rdi, rsp
mov ecx, 0x3b8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xef0]
mov qword [rsp + 0xe88], 0xfffffffffffffffe
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0xed0], rax
mov dword [rsp + 0xe80], 0
lea rcx, [rsp + 0x28]
call fcn.1400051eb
nop
cmp qword [rsp + 0xef8], 0
jne 0x14004ffc3
mov r8d, 0x1de
lea rdx, [0x1401f1450]
lea rcx, [0x1401f14d8]
call fcn.1400070db
xor eax, eax
cmp qword [rsp + 0xef8], 0
jne 0x140050008
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0xef0]
call fcn.140006465
mov eax, dword [rsp + 0xe80]
or eax, 1
mov dword [rsp + 0xe80], eax
lea rcx, [rsp + 0x28]
call fcn.1400073ce
mov rax, qword [rsp + 0xef0]
jmp 0x14005077c
lea rdx, [0x1401f14f8]
lea rcx, [rsp + 0x60]
call fcn.140001faa
nop
call fcn.140004642
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.140003166
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x60]
call fcn.1400073ce
lea rdx, [0x1401f1518]
lea rcx, [rsp + 0x90]
call fcn.140001faa
nop
call fcn.140004642
lea rdx, [rsp + 0x90]
mov rcx, rax
call fcn.140003166
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x90]
call fcn.1400073ce
cmp qword [rsp + 0x58], 0
jne 0x14005009d
mov r8d, 0x1e6
lea rdx, [0x1401f1530]
lea rcx, [0x1401f15b8]
call fcn.1400070db
xor eax, eax
cmp qword [rsp + 0x88], 0
jne 0x1400500c3
mov r8d, 0x1e7
lea rdx, [0x1401f15e0]
lea rcx, [0x1401f1668]
call fcn.1400070db
xor eax, eax
cmp qword [rsp + 0x88], 0
je 0x1400500d6
cmp qword [rsp + 0x58], 0
jne 0x140050110
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0xef0]
call fcn.140006465
mov eax, dword [rsp + 0xe80]
or eax, 1
mov dword [rsp + 0xe80], eax
lea rcx, [rsp + 0x28]
call fcn.1400073ce
mov rax, qword [rsp + 0xef0]
jmp 0x14005077c
call fcn.140008fe9
movzx eax, al
test eax, eax
je 0x1400501e5
lea rdx, str.QueryFullProcessImageNameW
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
je 0x1400501e5
lea rax, [rsp + 0xd0]
mov rdi, rax
xor eax, eax
mov ecx, 0x412
rep stosb byte [rdi], al
mov dword [rsp + 0x504], 0x208
lea r9, [rsp + 0x504]
lea r8, [rsp + 0xd0]
xor edx, edx
mov rcx, qword [rsp + 0xef8]
call qword [rsp + 0xb8]
test eax, eax
je 0x1400501e5
cmp dword [rsp + 0x504], 0x208
jae 0x1400501d3
mov eax, dword [rsp + 0x504]
shl rax, 1
mov qword [rsp + 0xe58], rax
cmp qword [rsp + 0xe58], 0x412
jae 0x1400501bc
jmp 0x1400501c1
call fcn.140005038
xor eax, eax
mov rcx, qword [rsp + 0xe58]
mov word [rsp + rcx + 0xd0], ax
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x28]
call fcn.140005731
lea rcx, [rsp + 0x28]
call fcn.14000179e
movzx eax, al
test eax, eax
je 0x1400505fb
lea rdx, [0x1401f16a0]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x518], rax
cmp qword [rsp + 0x518], 0
jne 0x14005023c
lea rdx, str.GetProcessImageFileNameW
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x518], rax
cmp qword [rsp + 0x518], 0
je 0x1400502e5
lea rax, [rsp + 0x530]
mov rdi, rax
xor eax, eax
mov ecx, 0x412
rep stosb byte [rdi], al
mov r8d, 0x208
lea rdx, [rsp + 0x530]
mov rcx, qword [rsp + 0xef8]
call qword [rsp + 0x518]
mov dword [rsp + 0x954], eax
cmp dword [rsp + 0x954], 0
jbe 0x1400502e5
cmp dword [rsp + 0x954], 0x208
jae 0x1400502e5
mov eax, dword [rsp + 0x954]
shl rax, 1
mov qword [rsp + 0xe60], rax
cmp qword [rsp + 0xe60], 0x412
jae 0x1400502bc
jmp 0x1400502c1
call fcn.140005038
xor eax, eax
mov rcx, qword [rsp + 0xe60]
mov word [rsp + rcx + 0x530], ax
lea rdx, [rsp + 0x530]
lea rcx, [rsp + 0x28]
call fcn.140005731
lea rcx, [rsp + 0x28]
call fcn.14000179e
movzx eax, al
test eax, eax
jne 0x1400505fb
mov ecx, 0x410
call fcn.140007ce3
mov qword [rsp + 0xe68], rax
mov rax, qword [rsp + 0xe68]
mov qword [rsp + 0x958], rax
mov rdi, qword [rsp + 0x958]
xor eax, eax
mov ecx, 0x410
rep stosb byte [rdi], al
mov edx, 0x20
lea rcx, [rsp + 0x968]
call fcn.1400035e9
lea rcx, [rsp + 0x968]
call fcn.140006820
nop
lea rcx, [rsp + 0x968]
call fcn.14000691a
mov qword [rsp + 0x998], 0
jmp 0x14005037b
mov rax, qword [rsp + 0x998]
inc rax
mov qword [rsp + 0x998], rax
lea rcx, [rsp + 0x968]
call fcn.14000472d
cmp qword [rsp + 0x998], rax
jae 0x140050590
mov rdx, qword [rsp + 0x998]
lea rcx, [rsp + 0x968]
call fcn.140008cd3
mov qword [rsp + 0x9a0], rax
mov rcx, qword [rsp + 0x9a0]
call fcn.14000281a
cmp rax, 3
jb 0x1400503f7
mov edx, 2
mov rcx, qword [rsp + 0x9a0]
call fcn.140006dde
movzx eax, word [rax]
cmp eax, 0x5c
jne 0x1400503f7
mov edx, 2
mov rcx, qword [rsp + 0x9a0]
call fcn.140006dde
xor ecx, ecx
mov word [rax], cx
mov rcx, qword [rsp + 0x9a0]
call fcn.140004fac
mov r8d, 0x208
mov rdx, qword [rsp + 0x958]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov dword [rsp + 0x9a8], eax
cmp dword [rsp + 0x9a8], 0
jne 0x140050443
mov eax, 2
imul rax, rax, 0
xor ecx, ecx
mov rdx, qword [rsp + 0x958]
mov word [rdx + rax], cx
mov rax, qword [rsp + 0x958]
mov qword [rsp + 0xe90], rax
mov qword [rsp + 0xe98], 0xffffffffffffffff
inc qword [rsp + 0xe98]
mov rax, qword [rsp + 0xe90]
mov rcx, qword [rsp + 0xe98]
cmp word [rax + rcx*2], 0
jne 0x14005045f
mov rax, qword [rsp + 0xe98]
mov dword [rsp + 0x9ac], eax
cmp dword [rsp + 0x9ac], 0
je 0x14005058b
mov eax, dword [rsp + 0x9ac]
mov qword [rsp + 0xea0], rax
lea rcx, [rsp + 0x28]
call fcn.14000281a
mov rcx, qword [rsp + 0xea0]
cmp rcx, rax
jae 0x14005058b
mov eax, dword [rsp + 0x9ac]
mov qword [rsp + 0xea8], rax
lea rcx, [rsp + 0x28]
call fcn.140004fac
mov rcx, qword [rsp + 0xea8]
mov r8, rcx
mov rdx, qword [rsp + 0x958]
mov rcx, rax
call fcn.140003c79
test eax, eax
jne 0x14005058b
lea rcx, [rsp + 0x9b8]
call fcn.1400051eb
nop
lea rcx, [rsp + 0x28]
call fcn.140004fac
mov ecx, dword [rsp + 0x9ac]
lea rax, [rax + rcx*2]
mov qword [rsp + 0xeb0], rax
mov rcx, qword [rsp + 0x9a0]
call fcn.140004fac
mov rcx, qword [rsp + 0xeb0]
mov r9, rcx
mov r8, rax
lea rdx, str._s_s
lea rcx, [rsp + 0x9b8]
call fcn.1400086e8
lea rdx, [rsp + 0x9b8]
lea rcx, [rsp + 0x28]
call fcn.1400032fb
nop
lea rcx, [rsp + 0x9b8]
call fcn.1400073ce
jmp 0x140050590
jmp 0x140050368
mov rax, qword [rsp + 0x958]
mov qword [rsp + 0xe70], rax
mov rcx, qword [rsp + 0xe70]
call fcn.140005be6
cmp qword [rsp + 0xe70], 0
jne 0x1400505c6
mov qword [rsp + 0xeb8], 0
jmp 0x1400505e2
mov qword [rsp + 0x958], 0x8123
mov rax, qword [rsp + 0x958]
mov qword [rsp + 0xeb8], rax
mov qword [rsp + 0x958], 0
lea rcx, [rsp + 0x968]
call fcn.1400013ca
lea rcx, [rsp + 0x28]
call fcn.14000179e
movzx eax, al
test eax, eax
je 0x1400506fd
lea rdx, [0x1401f16f0]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x9e8], rax
cmp qword [rsp + 0x9e8], 0
jne 0x140050652
lea rdx, [0x1401f1708]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x9e8], rax
cmp qword [rsp + 0x9e8], 0
je 0x1400506fd
lea rax, [rsp + 0xa00]
mov rdi, rax
xor eax, eax
mov ecx, 0x412
rep stosb byte [rdi], al
mov r9d, 0x208
lea r8, [rsp + 0xa00]
xor edx, edx
mov rcx, qword [rsp + 0xef8]
call qword [rsp + 0x9e8]
mov dword [rsp + 0xe24], eax
cmp dword [rsp + 0xe24], 0
jbe 0x1400506fd
cmp dword [rsp + 0xe24], 0x208
jae 0x1400506fd
mov eax, dword [rsp + 0xe24]
shl rax, 1
mov qword [rsp + 0xe78], rax
cmp qword [rsp + 0xe78], 0x412
jae 0x1400506d4
jmp 0x1400506d9
call fcn.140005038
xor eax, eax
mov rcx, qword [rsp + 0xe78]
mov word [rsp + rcx + 0xa00], ax
lea rdx, [rsp + 0xa00]
lea rcx, [rsp + 0x28]
call fcn.140005731
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe28]
call fcn.140004ffc
mov qword [rsp + 0xec0], rax
mov rax, qword [rsp + 0xec0]
mov qword [rsp + 0xec8], rax
mov rdx, qword [rsp + 0xec8]
lea rcx, [rsp + 0x28]
call fcn.14000631b
nop
lea rcx, [rsp + 0xe28]
call fcn.1400073ce
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0xef0]
call fcn.140006465
mov eax, dword [rsp + 0xe80]
or eax, 1
mov dword [rsp + 0xe80], eax
lea rcx, [rsp + 0x28]
call fcn.1400073ce
mov rax, qword [rsp + 0xef0]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401f35a0]
call fcn.14000849f
mov rax, rdi
mov rcx, qword [rsp + 0xed0]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0xee0
pop rdi
ret