Function at 0x4041b4
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x494
push ebx
push esi
mov esi, ecx
xor eax, eax
xor ebx, ebx
mov dword [ebp - 8], esi
push edi
cmp dword [esi + 0x2c], ebx
lea edi, [esi + 0x34]
sete al
push eax
push dword [edi]
mov dword [esi + 0x2c], eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esi + 4]
mov dword [ebp - 0x74], eax
mov eax, dword [esi + 4]
push 0x3ea
push eax
cmp dword [esi + 0x2c], ebx
je 0x4045e0
mov dword [ebp - 0x28], 0x96
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x48de88
mov esi, eax
call sym.Dismx86.exe_DismMultiLanguage
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
push ebx
push 0x1009
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [ebp - 0x4c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call fcn.0044b7c5
call fcn.0043c5cd
push eax
lea ecx, [ebp - 0x14]
call fcn.0043ac50
mov eax, dword [ebp - 0x4c]
jmp 0x4045bf
mov ecx, dword [eax]
call fcn.0044b5a0
mov esi, eax
mov dword [ebp - 0x70], esi
cmp esi, 0xffffffff
je 0x4045b1
lea edx, [ebp - 0x14]
mov ecx, esi
call fcn.0044b617
test eax, eax
jne 0x4045b1
push ebx
lea eax, [ebp - 0x78]
push eax
push 0xc
lea eax, [ebp - 0x40]
push eax
push ebx
push ebx
push 0x2d1080
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4045b1
mov eax, dword [ebp - 0x14]
cmp dword [eax - 4], 1
jle 0x4042a9
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
call fcn.0043abd1
mov edi, dword [ebp - 0x14]
mov ecx, ebx
mov byte [ebp - 1], bl
mov dword [ebp - 0x30], ecx
cmp dword [edi + 4], ebx
je 0x4045b1
lea esi, [edi + 0x50]
mov dword [ebp - 0x10], esi
mov eax, dword [esi - 0x10]
or eax, dword [esi - 0xc]
je 0x40459b
xor eax, eax
mov word [ebp - 0x280], ax
cmp dword [esi - 0x20], eax
jne 0x4042fc
mov al, byte [esi]
cmp al, 5
je 0x4042f3
cmp al, 0xf
je 0x4042f3
mov dword [ebp - 0x2c], 0x48de90
jmp 0x404375
mov byte [ebp - 1], 1
jmp 0x40459b
cmp dword [esi - 0x20], 1
jne 0x40459b
push 0x10
push 0x486388
push esi
call dword [sym.imp.msvcrt.dll_memcmp]
add esp, 0xc
test eax, eax
jne 0x404324
push 8
push 0x48d69c
jmp 0x40435e
push 0x10
push 0x486378
push esi
call dword [sym.imp.msvcrt.dll_memcmp]
add esp, 0xc
test eax, eax
jne 0x404342
push 8
push 0x48de98
jmp 0x40435e
push 0x10
push 0x486368
push esi
call dword [sym.imp.msvcrt.dll_memcmp]
add esp, 0xc
test eax, eax
jne 0x40436e
push 0x12
push str.Recovery
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.msvcrt.dll_memcpy]
add esp, 0xc
mov dword [ebp - 0x2c], 0x48deb4
push dword [esi - 8]
lea eax, [ebp - 0x50]
push dword [ebp - 0x3c]
push str._GLOBALROOTDeviceHarddisk_uPartition_u
push eax
call fcn.00449eea
mov esi, dword [ebp - 0x50]
add esp, 0x10
xor eax, eax
mov word [ebp - 0x490], ax
lea eax, [ebp - 0x490]
push 0x105
push eax
push esi
call dword [sym.imp.FLTLIB.DLL_FilterGetDosName]
mov eax, dword [ebp - 8]
push ebx
push ebx
push 0x1004
push dword [eax + 0x34]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ecx - 8]
cmp word [ebp - 0x490], bx
je 0x404408
lea ecx, [ebp - 0x490]
push ecx
push eax
push dword [ebp - 0x3c]
push 0x48daf8
call sym.Dismx86.exe_DismMultiLanguage
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00449eea
add esp, 0x10
push dword [eax]
push ecx
mov ecx, dword [ebp - 8]
push dword [ebp - 0xc]
lea ecx, [ecx + 0x34]
call fcn.00430b9c
mov ecx, dword [ebp - 0x54]
jmp 0x404437
push eax
push dword [ebp - 0x3c]
push 0x48db14
call sym.Dismx86.exe_DismMultiLanguage
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00449eea
add esp, 0xc
push dword [eax]
push ecx
mov ecx, dword [ebp - 8]
push dword [ebp - 0xc]
lea ecx, [ecx + 0x34]
call fcn.00430b9c
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx - 0x10]
call fcn.0043c924
cmp byte [ebp - 1], bl
je 0x404449
or ecx, 0xffffffff
jmp 0x404455
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x3c]
shl ecx, 0x10
or ecx, dword [eax - 8]
push ecx
mov ecx, dword [ebp - 8]
sub esp, 0xc
push ebx
push 4
push ebx
push dword [ebp - 0xc]
lea ecx, [ecx + 0x34]
call 0x431d00
cmp word [ebp - 0x280], bx
jne 0x404521
xor eax, eax
mov ecx, esi
mov word [ebp - 0x490], ax
call fcn.0044b5a0
push 0x104
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x5c], eax
push ecx
push ebx
push ebx
push ebx
push 0x105
lea ecx, [ebp - 0x490]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationByHandleW]
lea ecx, [ebp - 0x5c]
call fcn.0043ab9a
lea eax, [ebp - 0x280]
push eax
push 0x48dfc0
lea eax, [ebp - 0x490]
push eax
lea ecx, [ebp - 0x68]
call fcn.0043b487
mov edx, eax
lea ecx, [ebp - 0x64]
call fcn.0043ab55
pop ecx
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.0043ab55
pop ecx
mov ecx, dword [ebp - 8]
push ebx
sub esp, 0xc
lea ecx, [ecx + 0x34]
push dword [eax]
push 1
push 1
push dword [ebp - 0xc]
call 0x431d00
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx - 0x10]
call fcn.0043c924
mov ecx, dword [ebp - 0x64]
lea ecx, [ecx - 0x10]
call fcn.0043c924
mov ecx, dword [ebp - 0x68]
lea ecx, [ecx - 0x10]
call fcn.0043c924
jmp 0x40453e
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x280]
push ebx
sub esp, 0xc
lea ecx, [ecx + 0x34]
push eax
push 1
push 1
push dword [ebp - 0xc]
call 0x431d00
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x6c]
push dword [eax - 0xc]
push dword [eax - 0x10]
call fcn.00449f8d
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
push ebx
sub esp, 0xc
lea ecx, [ecx + 0x34]
push dword [eax]
push 1
push 2
push dword [ebp - 0xc]
call 0x431d00
mov ecx, dword [ebp - 0x6c]
lea ecx, [ecx - 0x10]
call fcn.0043c924
mov ecx, dword [ebp - 8]
push ebx
sub esp, 0xc
lea ecx, [ecx + 0x34]
push dword [ebp - 0x2c]
push 1
push 3
push dword [ebp - 0xc]
call 0x431d00
lea ecx, [esi - 0x10]
call fcn.0043c924
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
inc ecx
add esi, 0x90
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x10], esi
cmp ecx, dword [edi + 4]
jne 0x4042c3
lea ecx, [ebp - 0x70]
call fcn.0043ab9a
mov eax, dword [ebp - 0x34]
add eax, 4
mov dword [ebp - 0x34], eax
cmp eax, dword [ebp - 0x48]
jne 0x40424d
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0043c924
lea ecx, [ebp - 0x4c]
call fcn.00430989
jmp 0x404601
mov dword [ebp - 0x28], 0xffffff6a
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x48dfc4
mov esi, eax
call sym.Dismx86.exe_DismMultiLanguage
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [ebp - 0x74]
lea eax, [ebp - 0x24]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push ecx
push eax
mov ecx, edi
call fcn.0043c3fe
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x38], 0x3ea
push dword [ebp + ebx*4 - 0x40]
push dword [edi]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x20], eax
add dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x404675
lea eax, [ebp - 0x1c]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push 1
push eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
inc ebx
cmp ebx, 3
jne 0x404637
mov ecx, dword [ebp - 8]
call fcn.00403fd2
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10