Function at 0x10041cc6
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
push 0
mov dword [ebp - 0x10], 0xa61928c1
mov esi, ecx
mov dword [ebp - 0x10], 0x10
pop ebx
jmp 0x10041cf4
cmp byte [ebp - 1], 0
je 0x10041cf1
push ebx
call dword [sym.imp.GDI32.dll_CreateBitmapIndirect]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x19
mov byte [ebp - 1], bl
jg 0x10041ce4
cmp byte [ebp - 1], 0
je 0x10041d0a
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor edi, edi
push esi
inc edi
push edi
push 0x183d
call fcn.1003d7d0
mov dword [ebp - 0x14], 0xe446df37
mov eax, 0x4904418f
mov dword [ebp - 0x18], 0xffffffff
add esp, 0xc
mov dword [ebp - 0x10], 0x1cb6a7f4
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0x28ade19d
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], eax
je 0x10041d9a
mov dword [ebp - 0x20], 0xf3cc
xor ecx, ecx
mov dword [ebp - 0x18], 0xfffffffb
mov eax, dword [ebp - 0x14]
cmp eax, edi
setge cl
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x10], ebx
jne 0x10041d7e
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub edx, eax
mov eax, dword [ebp - 0xc]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setle cl
mov dword [ebp - 0x18], ecx
jmp 0x10041da7
mov dword [ebp - 0x20], 0x72737ae9
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], ebx
jmp 0x10041ead
mov dword [ebp - 0x18], 0xd4e2095e
mov dword [ebp - 8], 3
push 9
mov dword [ebp - 0x20], 0x734826aa
mov eax, dword [ebp - 0x18]
pop ecx
cmp ecx, eax
sbb eax, eax
neg eax
cmp eax, dword [ebp - 0x10]
jne 0x10041e27
mov eax, dword [ebp - 0x18]
xor edx, edx
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp ecx, eax
setg dl
add edx, dword [ebp - 0x18]
je 0x10041df1
mov ecx, edi
cmp dword [ebp - 8], ebx
jne 0x10041df3
mov ecx, ebx
mov eax, dword [ebp - 8]
add eax, ecx
je 0x10041e27
mov byte [ebp - 1], bl
cmp byte [ebp - 1], 0
je 0x10041e10
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_DrawMenuBar]
mov byte [ebp - 1], bl
cmp byte [ebp - 1], 0
je 0x10041e8e
push 0x834
push ebx
call dword [sym.imp.USER32.dll_CharUpperBuffW]
jmp 0x10041e8e
mov dword [ebp - 0x10], 0x955e3164
mov dword [ebp - 0x10], ebx
jmp 0x10041e41
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x2c], 0xff65ce17
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jl 0x10041e33
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x10041e5f
cmp dword [ebp - 8], 0xffffffff
mov edx, edi
ja 0x10041e61
mov edx, ebx
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp eax, edx
setne cl
sub ecx, dword [ebp - 0x14]
je 0x10041e77
mov edx, ebx
cmp dword [ebp - 0x14], ebx
jne 0x10041e79
mov edx, edi
mov eax, dword [ebp - 0x20]
xor ecx, ecx
sub edx, eax
mov eax, dword [ebp - 0x20]
cmp edx, eax
setle cl
imul eax, ecx, 6
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x10], 0xc
jmp 0x10041ea4
cmp dword [ebp - 0x1c], ebx
jne 0x10041eaa
cmp dword [ebp - 0x10], ebx
jne 0x10041eaa
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xffffffe3
jg 0x10041e97
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x10
jne 0x10041daf
push esi
call fcn.1002b485
mov dword [ebp - 0xc], 0x9c3f
mov edi, eax
mov dword [ebp - 8], 0x8ed40a16
mov dword [ebp - 0x10], 0x461e7071
pop ecx
cmp dword [ebp - 0xc], ebx
je 0x10041ef9
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], ebx
je 0x10041ef9
xor ecx, ecx
inc ecx
jmp 0x10041efb
mov ecx, ebx
xor eax, eax
cmp ecx, 0x4643cdf9
setg al
imul eax, eax, 0x164
test eax, eax
je 0x10041f43
mov dword [ebp - 0x14], ebx
jmp 0x10041f1f
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x34], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x10041f15
mov dword [ebp - 8], ebx
jmp 0x10041f38
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x34], 0x73598422
inc dword [ebp - 8]
cmp dword [ebp - 8], 1
jle 0x10041f2a
jmp 0x10041fd3
mov dword [ebp - 0x18], 0xa23a
mov dword [ebp - 8], 0xfffffff4
jmp 0x10041fcd
mov dword [ebp - 0x20], 0xfffffff6
mov dword [ebp - 0x20], 0x1847726b
mov dword [ebp - 0x14], ebx
jmp 0x10041f70
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x24], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 1
jl 0x10041f66
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
sub esi, eax
mov eax, dword [ebp - 0x18]
neg esi
sbb esi, esi
xor ecx, ecx
inc esi
cmp eax, 0x71e
setge cl
xor edx, edx
cmp ecx, esi
setne dl
dec edx
add edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setge cl
imul ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
inc dword [ebp - 8]
cmp dword [ebp - 8], 7
jg 0x10041f53
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xc], eax
jne 0x10042000
mov byte [ebp - 1], bl
cmp byte [ebp - 1], 0
je 0x1004207e
push ebx
push 0x1b0a
push 0x24e8
push 0x168e
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov dword [ebp - 0x20], 0x6128
mov dword [ebp - 0x18], ebx
jmp 0x1004201a
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x40], 0x2e9d3b0
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 3
jl 0x1004200c
inc dword [ebp - 0x20]
mov dword [ebp - 0x10], 0xffffffe5
jmp 0x10042078
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x20], 0xc5c2da50
mov dword [ebp - 0xc], ebx
jmp 0x1004206f
mov dword [ebp - 0x20], 0x7144db28
mov dword [ebp - 8], ebx
jmp 0x10042055
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x40], 0xfffffff8
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jl 0x10042047
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + eax*4 - 0x40]
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x40], ecx
mov dword [ebp - 0x20], ecx
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 2
jle 0x1004203b
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xfffffff6
jge 0x1004202c
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret