Function at 0x1002f6c6
Capabilities:
Get disk information

Disassembly:
mov eax, 0x1005321f
call fcn.10052218
sub esp, 0x28
cmp byte [ebp + 8], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], edx
je 0x1002f923
mov dword [ebp - 0x28], 0x73b6
mov esi, 0x1006a318
cmp dword [ebp - 0x28], 0x767c
jle 0x1002f75a
xor edi, edi
mov dword [ebp - 0x24], edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
xor eax, eax
mov dword [ebp - 0x18], edi
mov ecx, ebx
mov dword [ebp - 0x1c], eax
sar edi, cl
mov ebx, eax
mov dword [ebp - 0x18], 0x59b8
mov eax, ebx
mov ecx, esi
and eax, edi
cdq
push edx
push eax
call fcn.10001c75
dec ebx
dec dword [ebp - 0x18]
jne 0x1002f71a
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, 0x73e7
jl 0x1002f711
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
inc ebx
mov dword [ebp - 0x20], ebx
cmp ebx, 0x474f
jl 0x1002f705
inc edi
mov dword [ebp - 0x24], edi
cmp edi, 0x1114
jl 0x1002f700
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x70db
jge 0x1002f794
mov edx, str.ylkn_uck_canmbcjbf_ogj_fudx_ptaiq_upr_dsbt_ekr_uenknceae
mov ecx, esi
call fcn.10003644
jmp 0x1002f794
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], 0x2d98
cmp dword [ebp - 0x1c], 0x3133
jle 0x1002f816
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor edi, edi
mov dword [ebp - 0x20], edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov eax, ebx
and dword [ebp - 0x2c], 0
cdq
idiv ecx
mov ebx, dword [ebp - 0x2c]
mov ecx, edx
mov dword [ebp - 0x18], edi
sar edi, cl
mov ecx, ebx
mov eax, edi
shl eax, cl
mov ecx, esi
cdq
push edx
push eax
call fcn.10001c75
inc ebx
cmp ebx, 0x15e6
jl 0x1002f7d0
mov ecx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x20]
inc ecx
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
cmp ecx, 0x712f
jl 0x1002f7bd
inc ebx
mov dword [ebp - 0x24], ebx
cmp ebx, 0x4ed
jl 0x1002f7b8
inc edi
mov dword [ebp - 0x20], edi
cmp edi, 0x251a
jl 0x1002f7b3
mov dword [ebp - 4], 2
cmp dword [ebp - 0x1c], 0x2bd5
jge 0x1002f853
mov edx, str.dkamaircp_wbmq_wbaqepvla_dnjkrnxi_awxm_ecsgx
mov ecx, esi
call fcn.10003644
jmp 0x1002f853
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], 0x1cad
cmp dword [ebp - 0x1c], 0x1f10
jle 0x1002f8c9
xor edi, edi
mov dword [ebp - 0x20], edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
xor ecx, ecx
mov dword [ebp - 0x28], ecx
and dword [ebp - 0x2c], 0
mov eax, ebx
cdq
idiv ecx
lea ebx, [edx + edi]
mov edi, dword [ebp - 0x2c]
mov eax, ebx
mov ecx, esi
and eax, edi
cdq
push edx
push eax
call fcn.10001c75
inc edi
cmp edi, 0x20bb
jl 0x1002f885
mov ecx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x20]
inc ecx
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
cmp ecx, 0x48ff
jl 0x1002f876
inc ebx
mov dword [ebp - 0x24], ebx
cmp ebx, 0x859
jl 0x1002f871
inc edi
mov dword [ebp - 0x20], edi
cmp edi, 0x6790
jl 0x1002f86c
mov eax, dword [ebp - 0x30]
lea edi, [ebp - 0x11]
mov edx, dword [ebp + 0x14]
push edi
mov byte [ebp - 0x11], 0
mov ecx, dword [eax]
mov eax, dword [edx]
push ecx
push eax
mov dword [edx + 4], eax
mov ecx, edx
lea eax, [ebp - 0x34]
push eax
call fcn.10031ddb
mov dword [ebp - 4], 4
cmp dword [ebp - 0x1c], 0x1aa0
jge 0x1002f907
mov edx, str.zzvmpzwz_kruo_bdcm_pspxgsm
mov ecx, esi
call fcn.10003644
jmp 0x1002f929
mov eax, dword [ebp + 0x10]
and dword [eax], 0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret