Function at 0x4055a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x288
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
sete al
and eax, 1
mov dword [0x43bef4], eax
push 0x104
lea eax, [ebp - 0x27c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ax, word [ebp - 0x27c]
mov word [0x43bb24], ax
mov dword [0x43c888], 1
call fcn.004078f0
mov dword [0x43bf78], eax
call fcn.004104c0
call fcn.00407960
mov dword [0x43fa1c], eax
call fcn.00412320
push str.lang_
push 0x43f0a8
call fcn.00407a60
call fcn.0040aa40
call fcn.00408040
cmp dword [0x42c024], 0
jne 0x40564d
call fcn.004106e0
push 0x43f3b0
push 0x50
push 0x43f9cc
push str.settings
push str.preferences
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStructW]
call fcn.00409650
push 0x1f42
mov eax, dword [0x440478]
push eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov dword [0x440460], eax
push 0x1f43
mov eax, dword [0x440478]
push eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov dword [0x44045c], eax
push 0x1f41
mov eax, dword [0x440478]
push eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov dword [0x440458], eax
mov esi, 0x4403d8
sub esp, 0x70
mov edi, esp
mov ecx, 0x1c
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x440194]
mov edx, dword [0x440198]
push edx
push eax
push 0x440450
push 0x440454
mov eax, dword [ebp + 8]
push eax
call fcn.00417fa0
mov eax, dword [ebp + 8]
push eax
call fcn.004093f0
call fcn.0040bd80
call fcn.004084d0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 1
lea eax, [ebp - 0x74]
push eax
mov eax, dword [0x440478]
push eax
push 0
mov eax, dword [ebp + 8]
push eax
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0x52300000
push 0
push str.MDICLIENT
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x440474], eax
push 0
mov eax, dword [0x440478]
push eax
push 0
mov eax, dword [ebp + 8]
push eax
push 0x80000000
push 0x80000000
push 0
push 0
push 0x50008900
push 0
push 0x42806c
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x43bf1c], eax
push 0
push 0
push 0x423
mov eax, dword [0x43bf1c]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x43bf10], eax
push 0
push 0x10
push 0x10
push 0xff00ff
push 0x1f43
push 0x1f42
mov eax, dword [0x440478]
push eax
push 0x43befc
push 0x43bf00
call fcn.004185d0
push 0x4379cc
push 0x20
mov eax, dword [0x43befc]
push eax
mov eax, dword [0x43bf00]
push eax
mov eax, dword [0x43bf1c]
push eax
call fcn.004186f0
mov eax, dword [ebp + 8]
push eax
call fcn.0040d420
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [0x43bf1c]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
mov eax, dword [0x440478]
push eax
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0
push 0
push 0
push 0x56000040
push 0
push str.ReBarWindow32
push pe_nt_image_headers32
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x43bf08], eax
lea edx, [ebp - 0x5c]
mov ecx, 0xc
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
lea eax, [ebp - 0x5c]
push eax
push 0
push 0x406
mov eax, dword [0x43bf08]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [ebp - 0x50]
mov ecx, 0x50
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
mov dword [ebp - 0x50], 0x50
mov dword [ebp - 0x4c], 0xf1
mov eax, dword [0x43bb44]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x68]
mov dword [ebp - 0x28], eax
mov eax, dword [0x43bf1c]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x50]
push eax
push 0xffffffffffffffff
push 0x401
mov eax, dword [0x43bf08]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov eax, dword [0x440478]
push eax
push 0
mov eax, dword [ebp + 8]
push eax
push 0x16
push 0x80000000
push 0
push 0
push 0x50000100
push 0
push str.msctls_statusbar32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x43bf14], eax
mov dword [ebp - 0x288], 0x1e0
mov dword [ebp - 0x284], 0x280
or dword [ebp - 0x280], 0xffffffff
lea eax, [ebp - 0x288]
push eax
push 3
push 0x404
mov eax, dword [0x43bf14]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x409
mov eax, dword [0x43bf14]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
mov eax, dword [0x44046c]
push eax
push 0x30
mov eax, dword [0x43bf14]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x10
push 0x10
push 0xff00ff
push 0x1f41
push 0x44044c
call fcn.00409ea0
mov eax, dword [0x44044c]
push eax
mov eax, dword [0x440360]
mov edx, dword [0x440364]
push edx
push eax
push 0
call fcn.00416510
push 0
mov eax, dword [0x440478]
push eax
push 0
mov eax, dword [ebp + 8]
push eax
push 0x80000000
push 0x80000000
push 0x64
push 0x64
push 0x50006440
push 0
push 0x42800a
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x43bf18], eax
push 0
push 0
push 0x132d
mov eax, dword [0x43bf18]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x43bf0c], eax
push 0
push 1
push 0x2005
mov eax, dword [0x43bf18]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x44044c]
push eax
push 0
push 0x1303
mov eax, dword [0x43bf18]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
mov eax, dword [0x44046c]
push eax
push 0x30
mov eax, dword [0x43bf18]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x43f9d8]
and eax, 0xffff
or eax, 0x160000
push eax
push 0
push 0x1329
mov eax, dword [0x43bf18]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x43f9f0], 0
jne 0x405a1f
push 0
push 0x43cc9c
call fcn.00409cf0
jmp 0x405a28
mov eax, dword [ebp + 8]
push eax
call fcn.004081d0
push 0x40c950
push 0x64
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x42c018], eax
call fcn.0040ff30
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8