Function at 0x42b93f
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x42ba3b
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x104], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10c], eax
lea eax, [ebp + 0x40]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xa0]
movzx eax, byte [eax]
test eax, eax
je 0x42b996
push 0x81e
push 1
call fcn.0042c2a4
pop ecx
pop ecx
jmp 0x42ba36
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
movzx eax, byte [eax]
test eax, eax
je 0x42b9e5
mov byte [ebp - 0xa], 0
movzx eax, byte [ebp - 0xa]
test eax, eax
je 0x42b9e3
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x42ba36
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x42ba1c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 2
jge 0x42ba36
mov eax, dword [ebp - 0x10]
push dword [eax]
mov ecx, dword [ebp - 0x80]
call fcn.00434959
and dword [eax], 0
jmp 0x42ba11
jmp 0x42c29f
lea eax, [ebp + 0x14]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x90], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x120], eax
lea eax, [ebp + 0x38]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax]
test eax, eax
je 0x42c169
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x108]
movzx eax, byte [eax]
test eax, eax
je 0x42baf7
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
jmp 0x42c164
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x28], eax
push 2
lea ecx, [ebp - 0x5c]
call fcn.0043486b
mov dword [ebp - 4], 0xb02971c1
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x1c], 0
jmp 0x42bb46
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x42bb5f
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x5c]
call fcn.00434959
mov dword [eax], 1
jmp 0x42bb3f
mov dword [ebp - 4], 1
jmp 0x42bb6f
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x42bcee
push dword [ebp - 4]
lea ecx, [ebp - 0x5c]
call fcn.00434959
cmp dword [eax], 0
je 0x42bba1
mov eax, 0x21af
test eax, eax
je 0x42bba1
cmp dword [ebp - 4], 0
je 0x42bba1
mov dword [ebp - 0x50], 1
jmp 0x42bba5
and dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 0xc88e
jle 0x42bbb7
mov dword [ebp - 0x40], 1
jmp 0x42bbbb
and dword [ebp - 0x40], 0
push dword [ebp - 4]
lea ecx, [ebp - 0x5c]
call fcn.00434959
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [eax]
jne 0x42bbd6
mov dword [ebp - 0x38], 1
jmp 0x42bbda
and dword [ebp - 0x38], 0
push dword [ebp - 4]
lea ecx, [ebp - 0x5c]
call fcn.00434959
push 0
lea ecx, [ebp - 0x5c]
call fcn.00434959
mov esi, dword [ebp - 4]
push dword [ebp - 4]
lea ecx, [ebp - 0x5c]
call fcn.00434959
cmp esi, dword [eax]
jge 0x42bc3e
push 0x5455
push 0x1a2d
push 0
push 0x215b
push 1
push 0x7f5c
push 0x4462
push 0x208d
push 0
push 0x3ce7
push 1
push 0x6b32
call fcn.0040f611
add esp, 0x30
jmp 0x42bcdb
mov dword [ebp - 0xf0], 0x58efa97f
mov dword [ebp - 0xb0], 0
push 0x2e72
lea eax, [ebp - 4]
push eax
push 1
push 0x6c41
lea eax, [ebp - 0x2c]
push eax
push 0x725c
push 1
push 0x731
push 0x5016
push 0x5d48
push 0x3ab9
push 1
push 0
lea eax, [ebp - 0xb0]
push eax
push 0x6fd
push 0xcbf
push 0x2795
push 0xf84
push 0x3d29
push 0x4630
push 0x1bc8
push 0x3831
push 0x2291
lea eax, [ebp - 0x5c]
push eax
push 0x6f0
push 0x1fb3
push 0x2f7d
lea eax, [ebp - 0xf0]
push eax
call fcn.0040d674
add esp, 0x70
push 1
push 0
push 0
call fcn.00414316
add esp, 0xc
jmp 0x42bb68
push 0
push 0x2ba1
push 0
lea eax, [ebp - 0x2c]
push eax
push 0x2473
push 1
call fcn.004208de
add esp, 0x18
lea ecx, [ebp - 0x5c]
call fcn.0043493d
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x24], eax
push 3
lea ecx, [ebp - 0x11c]
call fcn.0043486b
push 1
lea ecx, [ebp - 0x4c]
call fcn.0043486b
mov dword [ebp - 0x18], 0
jmp 0x42bd45
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x42bd61
push dword [ebp - 0x18]
lea ecx, [ebp - 0x11c]
call fcn.00434959
mov dword [eax], 0x10c93b4e
jmp 0x42bd3e
push 0
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004151ee
add esp, 0xc
push 0
lea ecx, [ebp - 0x4c]
call fcn.00434959
mov dword [eax], 2
jmp 0x42bd9d
push 0
lea ecx, [ebp - 0x4c]
call fcn.00434959
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x4c]
call fcn.00434959
cmp dword [eax], 0
jl 0x42bee0
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x14], 0
jmp 0x42bdc7
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jg 0x42bea8
mov dword [ebp - 8], 0xe3e63e31
mov dword [ebp - 8], 2
jmp 0x42bde8
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x42be5f
xor eax, eax
je 0x42be30
push 0
lea ecx, [ebp - 0x4c]
call fcn.00434959
push dword [eax]
lea ecx, [ebp - 0x11c]
call fcn.00434959
cmp dword [eax], 0
je 0x42be10
jmp 0x42be5f
push 0
lea ecx, [ebp - 0x4c]
call fcn.00434959
push dword [eax]
lea ecx, [ebp - 0x11c]
call fcn.00434959
cmp dword [eax], 0
je 0x42be2e
jmp 0x42be5f
jmp 0x42be5d
push 0x50f3
push 0x966
push 0
push 0x17f3
push 0x227b
push 0x28a0
push 0x51fd
push 0x541a
call fcn.004293a5
add esp, 0x20
jmp 0x42bde1
mov dword [ebp - 8], 0
jmp 0x42be6f
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jg 0x42bea3
mov dword [ebp - 0x110], 0xc40ed3c1
push 0x3852
push 0x5742
push 0x53fb
lea eax, [ebp - 0x110]
push eax
push 0
push 0
call fcn.0041997a
add esp, 0x18
jmp 0x42be68
jmp 0x42bdc0
lea eax, [ebp - 0x11c]
push eax
push 0x48af
push 0
push 1
push 0x555d
lea eax, [ebp - 0x4c]
push eax
push 0x7707
push 0x2b0
lea eax, [ebp - 0x14]
push eax
push 0
push 1
call fcn.0042d86b
add esp, 0x2c
jmp 0x42bd85
lea ecx, [ebp - 0x4c]
call fcn.0043493d
lea ecx, [ebp - 0x11c]
call fcn.0043493d
cmp dword [ebp - 0x24], 0
jle 0x42c164
mov dword [ebp - 0xc0], 0xffffffff
lea eax, [ebp - 0xc0]
push eax
push 0x7dda
push 0
push 0x7eec
push 0x20d8
push 0x4a4a
push 1
push 0
push 0x191
push 0x246
push 0x5475
push 0
push 0x3b66
push 0x5e8b
push 0x4160
push 0x6d65
push 0x4725
push 0x5880
push 0x21ee
push 0x69b9
push 0x23ed
call fcn.00416a7c
add esp, 0x54
push 4
push 0x1000
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xf8]
add ecx, dword [eax + 0xc]
push ecx
push 0x56f
push 0x4a3
call fcn.00407069
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov dword [ebp - 0x64], 7
push 4
lea ecx, [ebp - 0x14c]
call fcn.0043486b
mov dword [ebp - 0x8c], 0xbf495e3b
push 3
lea ecx, [ebp - 0x140]
call fcn.0043486b
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x74], 0xfffffffa
mov dword [ebp - 0x84], 0x6aac8953
mov dword [ebp - 0x6c], 0xfff7
mov dword [ebp - 0xc8], 1
push 2
lea ecx, [ebp - 0x134]
call fcn.0043486b
push 0x3fbf
push 0
push 0x9ad
push 0x2ed2
push 1
push 0x587c
lea eax, [ebp - 0x34]
push eax
push 1
push 0x36d5
push 0x5eac
push 0x1e8
push 0x5532
lea eax, [ebp - 0x14c]
push eax
call fcn.00408e84
add esp, 0x34
push 0x7227
lea eax, [ebp - 0x140]
push eax
push 1
push 0x420e
push 0
lea eax, [ebp - 0x34]
push eax
call fcn.00424745
add esp, 0x18
lea eax, [ebp - 0x134]
push eax
push 1
push 0x1d6d
push 0
push 0
push 0x2b07
lea eax, [ebp - 0x34]
push eax
push 0x2544
call fcn.00408184
add esp, 0x20
push 0x11c1
push 0x59a4
push 0
push 0x2928
push 0x6d6c
push 0
push 0x1500
push 0x4d12
push 0x5784
push 1
push 0x3bcb
push 0x5416
push 0
push 0x5dcf
push 0x6785
call fcn.0043424c
add esp, 0x3c
lea eax, [ebp - 0xc8]
push eax
push 0
push 1
lea eax, [ebp - 0x134]
push eax
push 0x6da6
push 0x3f93
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x14c]
push eax
push 1
push 0x20df
call fcn.0040e5cf
add esp, 0x40
lea ecx, [ebp - 0x134]
call fcn.0043493d
lea ecx, [ebp - 0x140]
call fcn.0043493d
lea ecx, [ebp - 0x14c]
call fcn.0043493d
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
mov dword [eax + 8], ecx
push dword [ebp - 0x24]
push 0
mov eax, dword [ebp - 0x28]
push dword [eax]
call fcn.004075e0
add esp, 0xc
jmp 0x42c29f
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xb4]
movzx eax, byte [eax]
test eax, eax
je 0x42c1ed
mov byte [ebp - 9], 0
push 0x64f3
push 1
push 1
push 0x5942
push 0x7b00
push 0x6d8f
push 0x21f3
push 1
push 0x7c21
push 1
push 0x4880
lea eax, [ebp - 9]
push eax
push 0x4f2d
push 1
call fcn.00410d33
add esp, 0x38
jmp 0x42c29f
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], 1
jmp 0x42c248
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
jl 0x42c29f
mov dword [ebp - 0xec], 0xf6802998
lea eax, [ebp - 0xec]
push eax
push 1
push 0
push 0x6bec
push 0x790e
push dword [ebp - 0xf4]
push 0x2bce
push 0
push dword [ebp - 0xfc]
push 0
push 0x65e1
push 0x1724
push 0x1b29
push 1
call fcn.00410d33
add esp, 0x38
jmp 0x42c23d
pop esi
mov esp, ebp
pop ebp
ret