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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10137ad4
mov eax, dword fs:[0]
push eax
sub esp, 0x4b4
mov eax, dword [0x10193008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x46c], esi
mov ebx, ecx
mov dword [ebp - 0x48c], ebx
mov dword [ebp - 0x480], ebx
mov dword [ebp - 0x490], ebx
lea ecx, [ebp - 0x444]
mov dword [ebp - 0x470], 0
call fcn.10005050
mov dword [ebp - 4], 1
test esi, esi
jne 0x1006f84d
lea eax, [ebp - 0x444]
mov ecx, ebx
push eax
call fcn.10005010
jmp 0x1006fd33
push str.Kernel32.dll
lea ecx, [ebp - 0x4c0]
call fcn.100062e0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x4c0]
push eax
call fcn.1006d790
mov ecx, eax
call fcn.1006d850
mov esi, eax
mov dword [ebp - 0x47c], esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c0]
call fcn.10004a60
push str.Psapi.dll
lea ecx, [ebp - 0x4a8]
call fcn.100062e0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x4a8]
push eax
call fcn.1006d790
mov ecx, eax
call fcn.1006d850
mov edi, eax
mov dword [ebp - 0x478], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4a8]
call fcn.10004a60
test edi, edi
je 0x1006fd25
test esi, esi
je 0x1006fd25
lea ecx, [ebp - 0x138]
call fcn.100611d0
cmp dword [ebp - 0x134], 6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jb 0x1006f98b
push str.QueryFullProcessImageNameW
push esi
call edi
mov esi, eax
test esi, esi
je 0x1006f98b
push 0x412
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.10104ad0
add esp, 0xc
mov dword [ebp - 0x42c], 0x208
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push dword [ebp - 0x46c]
call esi
test eax, eax
je 0x1006f98b
mov eax, dword [ebp - 0x42c]
cmp eax, 0x208
jae 0x1006f969
add eax, eax
cmp eax, 0x412
jae 0x1006fd6a
xor ecx, ecx
mov word [ebp + eax - 0x428], cx
lea eax, [ebp - 0x428]
push eax
call fcn.10005290
add esp, 4
lea ecx, [ebp - 0x444]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.10004bc0
lea ecx, [ebp - 0x444]
call fcn.10004f40
test al, al
je 0x1006fc4c
push str.GetProcessImageFileNameW
push dword [ebp - 0x478]
call edi
mov esi, eax
test esi, esi
jne 0x1006f9c4
push str.GetProcessImageFileNameW
push dword [ebp - 0x47c]
call edi
mov esi, eax
test esi, esi
je 0x1006fa32
push 0x412
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.10104ad0
add esp, 0xc
lea eax, [ebp - 0x428]
push 0x208
push eax
push dword [ebp - 0x46c]
call esi
lea ecx, [eax - 1]
cmp ecx, 0x206
ja 0x1006fa32
add eax, eax
cmp eax, 0x412
jae 0x1006fd6a
xor ecx, ecx
mov word [ebp + eax - 0x428], cx
lea eax, [ebp - 0x428]
push eax
call fcn.10005290
add esp, 4
lea ecx, [ebp - 0x444]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.10004bc0
lea ecx, [ebp - 0x444]
call fcn.10004f40
test al, al
jne 0x1006fc4c
push 0x410
call fcn.1010358d
add esp, 4
mov ebx, eax
push 0x410
push 0
push ebx
call fcn.10104ad0
add esp, 0xc
mov dword [ebp - 0x448], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x450]
movq qword [ebp - 0x450], xmm0
call fcn.100099f0
mov byte [ebp - 4], 4
call fcn.1007bab0
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x42c], 0
call fcn.10004b50
lea edx, [eax + 4]
mov dword [ebp - 0x484], edx
call fcn.10004b50
mov ecx, dword [edx]
mov dword [ebp - 0x488], eax
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1006fc2e
lea ecx, [ebp - 0x450]
call fcn.10004b50
xor esi, esi
mov dword [ebp - 0x480], eax
mov dword [ebp - 0x474], esi
nop word [eax + eax]
mov edi, dword [eax]
add edi, esi
mov ecx, edi
call fcn.10004a20
cmp eax, 3
jb 0x1006fb27
mov ecx, edi
call fcn.10004b50
mov ecx, eax
mov edx, dword [eax + 0x14]
cmp edx, 8
jb 0x1006fb13
mov ecx, dword [eax]
cmp word [ecx + 4], 0x5c
jne 0x1006fb27
cmp edx, 8
jb 0x1006fb21
mov eax, dword [eax]
xor ecx, ecx
mov word [eax + 4], cx
push 0x208
push ebx
mov ecx, edi
call fcn.100062d0
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x1006fb42
mov word [ebx], ax
mov esi, ebx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1006fb47
sub esi, ecx
sar esi, 1
je 0x1006fb81
lea ecx, [ebp - 0x444]
call fcn.10004a20
cmp esi, eax
jae 0x1006fb81
push esi
push ebx
lea ecx, [ebp - 0x444]
call fcn.100062d0
push eax
call fcn.10110e99
add esp, 0xc
test eax, eax
je 0x1006fbcd
mov eax, dword [ebp - 0x484]
mov edi, dword [ebp - 0x42c]
mov esi, dword [ebp - 0x474]
inc edi
add esi, 0x18
mov dword [ebp - 0x42c], edi
mov ecx, dword [eax]
mov eax, dword [ebp - 0x488]
mov dword [ebp - 0x474], esi
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x1006fc28
mov eax, dword [ebp - 0x480]
jmp 0x1006faf0
lea ecx, [ebp - 0x468]
call fcn.10005050
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x444]
call fcn.100062d0
mov ecx, edi
lea eax, [eax + esi*2]
push eax
call fcn.100062d0
push eax
lea eax, [ebp - 0x468]
push str._s_s
push eax
call fcn.10062130
add esp, 0x10
lea eax, [ebp - 0x468]
lea ecx, [ebp - 0x444]
push eax
call fcn.10022310
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x468]
call fcn.10004a60
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
call fcn.10103588
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x450]
call fcn.100099e0
mov ebx, dword [ebp - 0x48c]
lea ecx, [ebp - 0x444]
call fcn.10004f40
test al, al
je 0x1006fcf5
push str.GetModuleFileNameExW
push dword [ebp - 0x478]
call edi
mov esi, eax
test esi, esi
jne 0x1006fc85
push str.GetModuleFileNameExW
push dword [ebp - 0x47c]
call edi
mov esi, eax
test esi, esi
je 0x1006fcf5
push 0x412
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.10104ad0
add esp, 0xc
lea eax, [ebp - 0x428]
push 0x208
push eax
push 0
push dword [ebp - 0x46c]
call esi
lea ecx, [eax - 1]
cmp ecx, 0x206
ja 0x1006fcf5
add eax, eax
cmp eax, 0x412
jae 0x1006fd6a
xor ecx, ecx
mov word [ebp + eax - 0x428], cx
lea eax, [ebp - 0x428]
push eax
call fcn.10005290
add esp, 4
lea ecx, [ebp - 0x444]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.10004bc0
lea edx, [ebp - 0x444]
lea ecx, [ebp - 0x4a8]
call fcn.10064c80
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x444]
push eax
call fcn.10004fd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4a8]
call fcn.10004a60
lea eax, [ebp - 0x444]
mov ecx, ebx
push eax
call fcn.10005010
mov dword [ebp - 0x470], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x444]
call fcn.10004a60
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10102ce9
mov esp, ebp
pop ebp
ret
call fcn.101036b7
int3