Function at 0x10049fd1
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064803
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x140
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], 0xfff7
mov dword [ebp - 0x54], 0xc657e3b6
mov dword [ebp - 0x84], 0xad81
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0xcc], 0xfe9f4864
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0x28]
jl 0x1004a06c
mov dword [ebp - 0x70], 1
jmp 0x1004a070
and dword [ebp - 0x70], 0
cmp dword [ebp - 0x70], 0x76270e7a
jle 0x1004a085
mov dword [ebp - 0x98], 1
jmp 0x1004a08c
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x54], 0
je 0x1004a0aa
cmp dword [ebp - 0x84], 0
jne 0x1004a0ae
cmp dword [ebp - 0x28], 0
xor eax, eax
inc eax
cmp eax, 0x7c422d5f
ja 0x1004a0c1
mov dword [ebp - 0x6c], 1
jmp 0x1004a0c5
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x6c], eax
je 0x1004a0d9
mov dword [ebp - 0x94], 1
jmp 0x1004a0e0
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
sub eax, 0x39281c1d
cmp eax, dword [ebp - 0x28]
jle 0x1004a0f9
mov dword [ebp - 0x74], 1
jmp 0x1004a0fd
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0x2c], 0x16
jmp 0x1004a116
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xfffffff3
jge 0x1004a15f
mov dword [ebp - 0x118], 0
mov dword [ebp - 0xc8], 0xfffffffb
mov byte [ebp - 0x1c], 0
movzx eax, byte [ebp - 0x1c]
test eax, eax
je 0x1004a153
push 0
push 0x329
push 0x271
push 0x12dd
call dword [sym.imp.GDI32.dll_GetCharWidth32A]
mov dword [ebp - 0xc8], 1
jmp 0x1004a10f
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x120], 0xf01c0890
mov byte [ebp - 0x1b], 0
movzx eax, byte [ebp - 0x1b]
test eax, eax
je 0x1004a183
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x1004a19f
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetThreadTimes]
mov eax, dword [ebp - 0x38]
mov dword [eax], 0
jmp 0x1004a1b5
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax], 3
jg 0x1004a5c9
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x80], 0x5e2f
mov dword [ebp - 0xb8], 0x1000c278
cmp dword [ebp - 0x80], 0x5ef7
jle 0x1004a2b0
and dword [ebp - 0x40], 0
jmp 0x1004a1f3
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x63a0
jge 0x1004a2b0
and dword [ebp - 0x30], 0
jmp 0x1004a20d
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x9ba
jge 0x1004a2ab
and dword [ebp - 0x44], 0
jmp 0x1004a227
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x3130
jge 0x1004a2a6
and dword [ebp - 0x34], 0
jmp 0x1004a23d
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x3c31
jge 0x1004a2a1
mov eax, dword [ebp - 0x40]
cdq
idiv dword [ebp - 0x30]
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x34]
or eax, edx
cdq
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], edx
push dword [ebp - 0xd4]
push dword [ebp - 0xd8]
lea ecx, [ebp - 0x150]
call fcn.1000dafa
pop ecx
pop ecx
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
call fcn.1001b097
push eax
call fcn.1004e316
pop ecx
lea ecx, [ebp - 0x150]
call fcn.1001b08d
jmp 0x1004a236
jmp 0x1004a220
jmp 0x1004a206
jmp 0x1004a1ec
mov dword [ebp - 0x14], 2
jmp 0x1004a2c0
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffea
jg 0x1004a526
push 1
lea ecx, [ebp - 0xa4]
call fcn.1001b2e8
and dword [ebp - 4], 0
mov dword [ebp - 0x78], 0xfffffff7
mov dword [ebp - 0x3c], 0
jmp 0x1004a2f2
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jge 0x1004a30e
push dword [ebp - 0x3c]
lea ecx, [ebp - 0xa4]
call fcn.1001b386
mov dword [eax], 0xeede0b40
jmp 0x1004a2eb
push 0
lea ecx, [ebp - 0xa4]
call fcn.1001b386
mov dword [eax], 0xfffffff5
jmp 0x1004a347
push 0
lea ecx, [ebp - 0xa4]
call fcn.1001b386
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x8c]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0xa4]
call fcn.1001b386
cmp dword [eax], 0xfffffff0
jne 0x1004a512
mov dword [ebp - 0x24], 0x3c891c55
push 3
lea ecx, [ebp - 0xf8]
call fcn.1001b2e8
mov byte [ebp - 4], 1
mov dword [ebp - 0x4c], 0
jmp 0x1004a385
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jge 0x1004a3a1
push dword [ebp - 0x4c]
lea ecx, [ebp - 0xf8]
call fcn.1001b386
mov dword [eax], 0x7b5cf1c9
jmp 0x1004a37e
mov dword [ebp - 0x24], 0
jmp 0x1004a3b1
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x12
je 0x1004a4fe
mov dword [ebp - 0xbc], 3
mov dword [ebp - 0x48], 0
jmp 0x1004a3d5
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
jge 0x1004a3eb
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0xd0], 0xaed1d25b
jmp 0x1004a3ce
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x1004a40e
push 0
push 0x1e94
push 0x1d6c
push 0x757
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push 0
lea ecx, [ebp - 0xa4]
call fcn.1001b386
push 0
lea ecx, [ebp - 0xa4]
call fcn.1001b386
mov eax, dword [eax]
neg eax
je 0x1004a449
push 2
lea ecx, [ebp - 0xf8]
call fcn.1001b386
cmp dword [eax], 0
je 0x1004a449
mov dword [ebp - 0x7c], 1
jmp 0x1004a44d
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x7c]
jle 0x1004a45e
mov dword [ebp - 0x5c], 1
jmp 0x1004a462
and dword [ebp - 0x5c], 0
cmp dword [ebp - 0x5c], 0x4039
jne 0x1004a474
mov dword [ebp - 0x60], 1
jmp 0x1004a478
and dword [ebp - 0x60], 0
push 0
lea ecx, [ebp - 0xa4]
call fcn.1001b386
mov eax, dword [eax]
cmp eax, dword [ebp - 0x60]
jge 0x1004a495
mov dword [ebp - 0x68], 1
jmp 0x1004a499
and dword [ebp - 0x68], 0
imul eax, dword [ebp - 0x68], 0x491b
cmp eax, dword [ebp - 0xbc]
je 0x1004a4b1
mov dword [ebp - 0x58], 1
jmp 0x1004a4b5
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0x3b1dab55
je 0x1004a4ca
mov dword [ebp - 0xb0], 1
jmp 0x1004a4d1
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x78], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x78]
mov dword [ebp + eax - 0xd0], ecx
jmp 0x1004a3aa
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xf8]
call fcn.1001b36a
jmp 0x1004a323
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.1001b36a
jmp 0x1004a2b9
mov dword [ebp - 4], 2
cmp dword [ebp - 0x80], 0x5cb7
jge 0x1004a542
push dword [ebp - 0xb8]
call fcn.1004e316
pop ecx
jmp 0x1004a55e
or dword [ebp - 4], 0xffffffff
jmp 0x1004a568
mov dword [ebp - 0x14], 0xffffffef
jmp 0x1004a578
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffed
je 0x1004a5af
mov dword [ebp - 0x88], 3
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x1004a5ad
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_UnionRect]
jmp 0x1004a571
mov dword [ebp - 0xb4], 0x1e52
cmp dword [ebp - 0xb4], 0
je 0x1004a5c4
jmp 0x1004a5c9
jmp 0x1004a1aa
mov dword [ebp - 0xec], 0x198a
mov dword [ebp - 0xe8], 0x198a
mov dword [ebp - 0xe4], 0x198a
mov dword [ebp - 0xe0], 0x198a
lea ecx, [ebp - 0x4d]
call fcn.1001b395
push eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x138]
call fcn.1001b398
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x130]
call fcn.1001b344
mov dword [ebp - 0x90], 0xffffffff
mov dword [ebp - 0x18], 0
jmp 0x1004a63d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1004a653
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xac], 0x885c6f1b
jmp 0x1004a636
mov dword [ebp - 0x18], 0
jmp 0x1004a663
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x1004a679
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x108], 0xbcef054a
jmp 0x1004a65c
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xac], 3
jmp 0x1004a6a7
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xac]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xac], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xac], 0
jl 0x1004a6e4
mov dword [ebp - 0x110], 0xffffffff
mov dword [ebp - 0x11c], 0x693e932
mov dword [ebp - 0x114], 0x9d692360
mov eax, dword [ebp - 0x90]
dec eax
mov dword [ebp - 0x90], eax
jmp 0x1004a68c
lea ecx, [ebp - 0x130]
call fcn.1001b36a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret