Function at 0x100207dd
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10052c7a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10020a70
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x10020a43
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov eax, dword [0x1006b5fc]
and eax, 1
jne 0x10020882
mov eax, dword [0x1006b5fc]
or eax, 1
mov dword [0x1006b5fc], eax
and dword [ebp - 4], 0
mov ecx, 0x1006b5b4
call fcn.1000f897
push 0x1005360a
call fcn.10039fec
pop ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
imul eax, dword [eax], 0x3e8
mov ecx, dword [ebp - 0x1c]
add eax, dword [ecx]
mov dword [ebp - 0x20], eax
movzx eax, byte [0x1006b46d]
test eax, eax
je 0x100208f4
mov ecx, 0x1006b5b4
call fcn.10021011
movzx eax, al
test eax, eax
jne 0x100208f4
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x1006b5b4
call fcn.1000f95c
lea eax, [ebp - 0x68]
push eax
mov ecx, 0x1006b5b4
call fcn.1000f94e
push eax
lea ecx, [ebp - 0x14]
call fcn.1000f971
movzx eax, al
test eax, eax
je 0x100208f4
lea ecx, [ebp - 0x14]
call fcn.1002101a
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + 4]
mov dword [ecx], eax
jmp 0x10020acb
push dword [ebp - 0x18]
call fcn.10017a0d
pop ecx
mov dword [ebp - 0x40], eax
push 1
mov eax, dword [ebp - 0x1c]
push dword [eax]
push 0
push dword [ebp - 0x40]
call fcn.1001c1bc
add esp, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x44], 0x1f36
cmp dword [ebp - 0x44], 0x511
jge 0x100209cb
call fcn.1003a839
push 0x20
pop ecx
imul ecx, ecx, 0
add eax, ecx
push eax
push 0x1005bbe8
push str.in2.txt
call fcn.1003a9e8
add esp, 0xc
call fcn.1003a839
push 0x20
pop ecx
shl ecx, 0
add eax, ecx
push eax
push 0x1005bbf4
push str.out.txt
call fcn.1003a9e8
add esp, 0xc
movsd xmm0, qword [0x1005e650]
movsd qword [ebp - 0x70], xmm0
and dword [ebp - 0x10], 0
jmp 0x10020985
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xc
jge 0x100209aa
lea eax, [ebp - 0x78]
push eax
mov ecx, 0x1006a438
call fcn.10020db8
movsd xmm0, qword [ebp - 0x70]
addsd xmm0, qword [ebp - 0x78]
movsd qword [ebp - 0x70], xmm0
jmp 0x1002097e
movsd xmm0, qword [ebp - 0x70]
divsd xmm0, qword [0x1005e678]
push ecx
push ecx
movsd qword [esp], xmm0
push str.__.2f_n
call fcn.1003a280
add esp, 0xc
movzx eax, byte [0x1006b46d]
test eax, eax
je 0x100209e7
mov ecx, 0x1006b5b4
call fcn.10021011
movzx eax, al
test eax, eax
jne 0x10020a34
push 0x3dff
push 1
lea eax, [ebp - 0x20]
push eax
push 0x616c
push 0x373c
push 1
push 0x1006b5b4
push 0x7adb
push 0x776b
lea eax, [ebp - 0x28]
push eax
call fcn.100206a5
add esp, 0x28
push 1
push 0x1006b46d
push 0x49a6
push 0xbf9
push 1
call fcn.100205bc
add esp, 0x14
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
jmp 0x10020acb
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x10020a6e
push 0
push 0
push 0x25f5
push 0
push 1
push 0
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
jmp 0x10020acb
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x10020aa6
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x10020aa4
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
jmp 0x10020acb
push 0xa26
push 0
push 0x940
push 0x1107
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_ExtFloodFill]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret