Function at 0x425e30
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x679278
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x71a06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x54], edi
call fcn.00401c70
mov ecx, eax
test ecx, ecx
je 0x42624f
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x44], esi
mov dword [ebp - 4], 0
test edi, edi
je 0x425ef2
push edi
lea ecx, [ebp - 0x44]
call fcn.0040cbb0
mov esi, dword [ebp - 0x44]
cmp dword [esi - 0xc], 0
je 0x425ed2
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 3
or eax, ecx
jge 0x425ebb
push 3
lea ecx, [ebp - 0x44]
call fcn.0040cb50
mov esi, dword [ebp - 0x44]
cmp dword [esi - 8], 3
jl 0x426259
xor eax, eax
mov dword [esi - 0xc], 3
mov word [esi + 6], ax
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x425ef9
push 0
push 0x7034b8
push 0x7034a4
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor edi, edi
jmp 0x426211
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
push 1
push 0x5c
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push eax
sub esp, 0x18
mov ecx, edi
mov edx, esp
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x58], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425f40
sub ecx, dword [ebp - 0x58]
sar ecx, 1
push ecx
push edi
mov ecx, edx
call fcn.00404e30
call fcn.004cd9cc
mov ecx, dword [ebp - 0x4c]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x50]
add esp, 0x24
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x425f9c
push 1
push 0x2f
lea eax, [ebp - 0x50]
push eax
sub esp, 0x18
mov ecx, esp
push dword [ebp - 0x54]
call fcn.00404de0
call fcn.004cd9cc
mov edi, dword [ebp - 0x50]
add esp, 0x24
mov ecx, dword [ebp - 0x4c]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x425fbc
mov dword [ebp - 0x44], eax
jmp 0x42614a
mov edx, dword [ebp - 0x54]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425fc4
mov eax, dword [ebp - 0x5c]
sub ecx, edi
sar ecx, 1
add eax, 0x18
push ecx
push edx
mov ecx, eax
mov dword [ebp - 0x54], eax
call fcn.00404e30
mov ecx, dword [ebp - 0x4c]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x50]
sub ecx, edi
imul ecx
lea ecx, [ebp - 0x28]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
lea eax, [eax - 3]
lea eax, [edi + eax*8]
push eax
call fcn.00408cb0
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00408cb0
lea eax, [ebp - 0x40]
push eax
call fcn.004cdd0f
mov edi, eax
add esp, 0x1c
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x426062
mov ecx, eax
call fcn.00404d80
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
movq qword [ebp - 0x18], xmm0
mov word [edi], ax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x42609c
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x426092
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426263
push edx
push ecx
call fcn.0042e920
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
push 0x701688
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00404c80
mov edi, dword [ebp - 0x54]
test eax, eax
je 0x4260e9
push edi
call fcn.004cd6f0
add esp, 4
test eax, eax
jne 0x4260dd
push 0x701374
mov ecx, edi
call fcn.00408bb0
push 0x701688
mov ecx, edi
call fcn.00408bb0
push edi
call fcn.004cd6f0
add esp, 4
test eax, eax
jne 0x426102
push 0x701374
mov ecx, edi
call fcn.00408bb0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x44], 1
cmp edx, 8
jb 0x426147
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42613d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426268
push edx
push ecx
call fcn.0042e920
add esp, 8
mov edi, dword [ebp - 0x50]
mov byte [ebp - 4], 0
test edi, edi
je 0x42620e
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
cmp edi, eax
je 0x4261b9
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x42619c
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x42618f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426263
mov eax, edx
push ecx
push eax
call fcn.0042e920
mov eax, dword [ebp - 0x5c]
add esp, 8
xor ecx, ecx
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], cx
add edi, 0x18
cmp edi, eax
jne 0x426160
mov edi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x48]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4261ef
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42626d
push ecx
push edi
call fcn.0042e920
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov edi, dword [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x426230
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042e2d5
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0040c160
push 0x80070057
call fcn.0040c160
call fcn.0050d76e
call fcn.0050d76e
call fcn.0050d76e
int3