Function at 0x41fcb1
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1f4
mov eax, dword [0x51a448]
xor eax, esp
mov dword [esp + 0x1f0], eax
push ebx
push esi
push edi
push 0x1c0
xor ebx, ebx
mov dword [esp + 0x14], edx
lea eax, [esp + 0x3c]
mov edi, ecx
push ebx
push eax
call fcn.0049ef70
add esp, 0xc
mov dword [esp + 0x30], 0x5c3a41
push 0x14000
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x420166
mov ecx, 0x400
mov byte [esp + 0x78], bl
lea esi, [eax + 0x104]
mov byte [esp + 0xb8], bl
mov dword [esp + 0xc], esi
mov eax, 0x1000
add esi, ecx
mov byte [esp + 0x138], bl
mov dword [esp + 0x50], esi
xorps xmm0, xmm0
add esi, eax
movlpd qword [esp + 0x70], xmm0
mov dword [esp + 0x54], esi
add esi, eax
mov dword [esp + 0x14], esi
add esi, eax
mov dword [esp + 0x18], esi
lea eax, [esp + 0x1c8]
add esi, ecx
mov dword [esp + 0x1b8], ebx
mov dword [esp + 0x20], esi
add esi, ecx
mov dword [esp + 0x24], esi
add esi, ecx
mov dword [esp + 0x28], esi
add esi, ecx
mov dword [esp + 0x2c], esi
add esi, ecx
mov dword [esp + 0x1d8], esi
add esi, 0x800
mov dword [esp + 0x1dc], esi
add esi, ecx
push eax
push dword [edi + 0xc]
mov dword [esp + 0x1e8], esi
add esi, ecx
mov dword [esp + 0x1c4], ebx
mov dword [esp + 0x1cc], ebx
mov dword [esp + 0x1c8], ebx
mov dword [esp + 0x1d0], ebx
mov dword [esp + 0x1d4], ebx
mov dword [esp + 0x1dc], ebx
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
jne 0x41fde3
lea ecx, [esp + 0x1c8]
call fcn.0048dd30
mov ecx, dword [esp + 0x1c8]
lea edx, [esp + 0x1ec]
call fcn.0048de60
test eax, eax
je 0x41fe1e
cmp dword [esp + 0x1ec], ebx
je 0x41fe1e
mov ecx, dword [esp + 0x1c8]
mov edx, esi
mov dword [esp + 0x1f0], edx
add esi, 0x4b0
call fcn.0048df20
call fcn.0040a6a4
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
cmp eax, 1
jne 0x41fe96
mov edx, dword [esp + 0x14]
lea ecx, [edi + 0x128]
call fcn.0041f8a8
mov eax, dword [edi + 0x1174]
xor ecx, ecx
push ecx
push ecx
push 0x400
mov dword [esp + 0x1cc], eax
mov eax, dword [esp + 0x24]
push eax
push 0xffffffffffffffff
push dword [esp + 0x28]
mov byte [eax], cl
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x41fe85
push 0x400
push dword [esp + 0x18]
push dword [esp + 0x20]
call fcn.004cb853
add esp, 0xc
mov eax, dword [esp + 0x18]
mov al, byte [eax]
mov byte [esp + 0x30], al
mov eax, 0x1128
jmp 0x41feee
cmp eax, 5
jne 0x41feaa
mov eax, dword [edi + 0x12c]
inc eax
push eax
push str.Partition_Table_of_Harddisk:_d
jmp 0x41fec0
cmp eax, 4
jne 0x420153
movsx eax, byte [edi + 0x128]
push eax
push str.Boot_Sector:_c
push dword [esp + 0x24]
call ebx
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
xor edx, edx
mov dword [esp + 0x18], ecx
push 0x400
push ecx
push eax
mov word [eax], dx
call fcn.004c9d56
mov eax, 0x1b0
add esp, 0xc
add eax, edi
cmp dword [edi + 8], 8
mov dword [esp + 0x34], eax
jne 0x41ff34
mov eax, dword [edi + 0x18]
sub eax, 0x494e5443
je 0x41ff23
sub eax, 0xc
je 0x41ff1c
sub eax, 3
je 0x41ff15
push str.Scan_failure_detected.
jmp 0x41ff28
push str.Scan_crash__R__detected.
jmp 0x41ff28
push str.Scan_crash__O__detected.
jmp 0x41ff28
push str.Scan_crash__C__detected.
push dword [esp + 0x10]
call ebx
mov byte [edi + 0x14], 0
jmp 0x41ff75
test eax, eax
je 0x41ff5d
cmp byte [eax], 0
je 0x41ff5d
cmp byte [edi + 0x10], 0
push eax
jne 0x41ff4c
push dword [0x51eb60]
jmp 0x41ff52
push dword [0x51ebe8]
push dword [esp + 0x14]
call ebx
add esp, 0xc
jmp 0x41ff77
cmp byte [edi + 0x13], 8
jne 0x41ff6a
push str.Archive_contains_infected_files
jmp 0x41ff6f
push str.Some_unknown_problem__
push dword [esp + 0x10]
call ebx
pop ecx
pop ecx
mov ebx, dword [esp + 0x20]
mov edx, ebx
mov eax, dword [esp + 0x24]
push 0
push eax
mov byte [ebx], 0
mov byte [eax], 0
mov ecx, dword [edi + 0xc]
call fcn.0041f348
mov eax, dword [esp + 0x30]
mov edx, eax
mov ecx, dword [esp + 0x34]
push ecx
mov byte [eax], 0
mov byte [ecx], 0
mov ecx, ebx
call fcn.0041f2c0
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp dword [esp + 0x10], 1
mov dword [esp + 0x6c], eax
jne 0x4200ad
lea eax, [esp + 0x1bc]
mov ecx, ebx
push eax
lea eax, [esp + 0x1bc]
push eax
lea eax, [esp + 0x140]
push eax
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0x88]
push eax
lea edx, [esp + 0x84]
call fcn.0040c63c
mov eax, dword [esp + 0x1ec]
xor ecx, ecx
add esp, 0x14
mov byte [eax], cl
mov eax, dword [esp + 0x1dc]
mov byte [eax], cl
mov eax, dword [esp + 0x1e0]
mov byte [eax], cl
lea ecx, [esp + 0x78]
push dword [esp + 0x1e0]
mov edx, dword [esp + 0x1dc]
push dword [esp + 0x1e0]
call fcn.0041f10d
pop ecx
pop ecx
call fcn.0040cd9c
test eax, eax
je 0x4200ad
mov edx, esi
mov dword [esp + 0x1f4], esi
mov ecx, ebx
call fcn.0040cdee
neg eax
sbb eax, eax
and dword [esp + 0x1f4], eax
cmp byte [edi + 0x14], 0
je 0x4200bc
lea ecx, [esp + 0x38]
call fcn.0041f4c9
cmp byte [0x51e6c8], 0
je 0x4200ce
lea ecx, [esp + 0x38]
call fcn.00423612
cmp byte [0x51e8c9], 0
je 0x4200e0
lea ecx, [esp + 0x38]
call fcn.004238e1
cmp dword [edi + 8], 8
mov ebx, dword [esp + 0x10]
je 0x420153
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x420122
cmp byte [ecx], 0
je 0x420122
cmp ebx, 1
jne 0x42010a
cmp dword [esp + 0x6c], 3
je 0x42010a
cmp dword [esp + 0x6c], 2
jne 0x420113
call fcn.0041fb11
test eax, eax
jne 0x420122
push dword [edi + 0xc]
lea edx, [esp + 0x3c]
xor ecx, ecx
call fcn.0041f9e3
pop ecx
cmp dword [edi + 8], 8
je 0x420153
cmp dword [0x51e850], 0
je 0x420153
cmp ebx, 1
jne 0x420153
cmp byte [esp + 0x59], 7
je 0x420153
mov ebx, dword [esp + 0x14]
mov ecx, ebx
call fcn.0040bd97
test eax, eax
je 0x420153
mov ecx, ebx
call fcn.0040bc7b
push dword [esp + 0x1c]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, edi
call fcn.0041e227
mov ecx, dword [esp + 0x1fc]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
inc eax
call fcn.0049d307
mov esp, ebp
pop ebp
ret