Function at 0x406c64
Capabilities:
Get disk information
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47cd47
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov dword [ebp - 0x68], ecx
lea ecx, [ebp - 0x38]
call fcn.0043a8f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.0043a8f0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
push 0x3ef
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
mov ecx, dword [ebp + 8]
push ecx
push 0x41f
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
mov edx, dword [ebp + 8]
push edx
push 0x3ed
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
mov eax, dword [ebp + 8]
push eax
push 0x3ee
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
mov ecx, dword [ebp + 8]
push ecx
push 0x3f6
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
mov edx, dword [ebp + 8]
push edx
push 0x3f7
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
cmp dword [ebp + 8], 1
jne 0x40711d
push 0
push 0x3f8
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
mov eax, dword [0x4a2a70]
and eax, 0x10000
test eax, eax
je 0x406f1b
push 0
push 0x20
mov ecx, 0x49b760
call fcn.0043d410
push eax
lea ecx, [ebp - 0x38]
call fcn.0043ae00
push 0x49265c
lea ecx, [ebp - 0x38]
call fcn.0043ad50
push 0
lea ecx, [ebp - 0x38]
call fcn.0043baa0
push eax
push 0x41f
mov ecx, dword [ebp - 0x68]
call fcn.00439da0
mov ecx, dword [ebp + 8]
push ecx
push 0x3f1
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
mov edx, dword [ebp + 8]
push edx
push 0x42f
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
mov eax, dword [ebp + 8]
push eax
push 0x3f3
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
mov ecx, dword [ebp + 8]
push ecx
push 0x3fb
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
mov edx, dword [ebp + 8]
push edx
push 0x3fa
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
mov eax, dword [ebp + 8]
push eax
push 0x401
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
mov ecx, dword [ebp + 8]
push ecx
push 0x3f5
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
mov edx, dword [ebp + 8]
push edx
push 0x45c
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
mov eax, dword [0x4a2a70]
and eax, 8
neg eax
sbb eax, eax
neg eax
push eax
push 0x3fc
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
push 5
push 0x3f1
mov ecx, dword [ebp - 0x68]
call fcn.00439e20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push 0x42f
mov ecx, dword [ebp - 0x68]
call fcn.00439e20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push 0x3f3
mov ecx, dword [ebp - 0x68]
call fcn.00439e20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push 0x3fb
mov ecx, dword [ebp - 0x68]
call fcn.00439e20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push 0x3fa
mov ecx, dword [ebp - 0x68]
call fcn.00439e20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push 0x401
mov ecx, dword [ebp - 0x68]
call fcn.00439e20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push 0x45c
mov ecx, dword [ebp - 0x68]
call fcn.00439e20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push 0x3f5
mov ecx, dword [ebp - 0x68]
call fcn.00439e20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push 0x3fc
mov ecx, dword [ebp - 0x68]
call fcn.00439e20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push 0x423
mov ecx, dword [ebp - 0x68]
call fcn.00439e20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push 0x424
mov ecx, dword [ebp - 0x68]
call fcn.00439e20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push 0x425
mov ecx, dword [ebp - 0x68]
call fcn.00439e20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40705f
push 0
push 0x20
mov ecx, 0x49b760
call fcn.0043d410
push eax
lea ecx, [ebp - 0x38]
call fcn.0043ae00
push 0x492660
lea ecx, [ebp - 0x38]
call fcn.0043ad50
push 0
lea ecx, [ebp - 0x38]
call fcn.0043baa0
push eax
push 0x41f
mov ecx, dword [ebp - 0x68]
call fcn.00439da0
push 0
push 0x3f1
mov ecx, dword [ebp - 0x68]
call fcn.00439e20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x42f
mov ecx, dword [ebp - 0x68]
call fcn.00439e20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x3f3
mov ecx, dword [ebp - 0x68]
call fcn.00439e20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x3fb
mov ecx, dword [ebp - 0x68]
call fcn.00439e20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x3fa
mov ecx, dword [ebp - 0x68]
call fcn.00439e20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x401
mov ecx, dword [ebp - 0x68]
call fcn.00439e20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x45c
mov ecx, dword [ebp - 0x68]
call fcn.00439e20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x3f5
mov ecx, dword [ebp - 0x68]
call fcn.00439e20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x3fc
mov ecx, dword [ebp - 0x68]
call fcn.00439e20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x423
mov ecx, dword [ebp - 0x68]
call fcn.00439e20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x424
mov ecx, dword [ebp - 0x68]
call fcn.00439e20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x425
mov ecx, dword [ebp - 0x68]
call fcn.00439e20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0x3f2
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
push 0
lea ecx, [ebp - 0x38]
call fcn.0043baa0
push eax
push 0x3ef
mov ecx, dword [ebp - 0x68]
call fcn.00439df0
cmp eax, 1
jne 0x407118
lea ecx, [ebp - 0x38]
call fcn.0043acd0
lea ecx, [ebp - 0x38]
call fcn.0043baf0
test eax, eax
je 0x407118
push 1
push 0x3f2
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
push 1
lea ecx, [ebp - 0x38]
call fcn.0043ba70
movsx ecx, al
cmp ecx, 0x3a
jne 0x407118
push 0
lea ecx, [ebp - 0x38]
call fcn.0043ba70
movsx edx, al
push edx
push 0x492664
lea eax, [ebp - 0x64]
push eax
call fcn.0043bde0
add esp, 0xc
push 0
lea ecx, [ebp - 0x64]
call fcn.0043baa0
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x407118
mov ecx, dword [0x4a2a70]
and ecx, 0x200000
test ecx, ecx
jne 0x407118
push 0
push 0x3f2
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
jmp 0x4071d4
push 0
push 0x3fc
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
push 1
push 0x3f8
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
mov edx, dword [ebp + 8]
push edx
push 0x3f2
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
mov eax, dword [ebp + 8]
push eax
push 0x3f1
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
mov ecx, dword [ebp + 8]
push ecx
push 0x42f
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
mov edx, dword [ebp + 8]
push edx
push 0x3f3
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
mov eax, dword [ebp + 8]
push eax
push 0x3fb
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
mov ecx, dword [ebp + 8]
push ecx
push 0x3fa
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
mov edx, dword [ebp + 8]
push edx
push 0x401
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
mov eax, dword [ebp + 8]
push eax
push 0x45c
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
mov ecx, dword [ebp + 8]
push ecx
push 0x3f5
mov ecx, dword [ebp - 0x68]
call fcn.00439e40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.0043a990
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0043a990
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4