Function at 0x41ae30
Capabilities:
Get disk information

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447c86
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x250
mov eax, dword [0x45e084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov edi, 0x41
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x230], eax
nop
push 0x208
lea eax, [ebp - 0x228]
mov word [ebp - 0x1c], di
push 0
push eax
mov dword [ebp - 0x1a], 0x3a
call fcn.004294d0
add esp, 0xc
lea eax, [ebp - 0x228]
push 0x104
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x41af0c
lea esi, [ebp - 0x228]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41aed4
mov eax, dword [ebp - 0x230]
sub esi, ecx
sar esi, 1
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x41aef3
mov ecx, dword [eax]
push esi
lea edx, [ebp - 0x228]
push edx
mov edx, dword [eax + 0x10]
push 0
call fcn.00418ea0
add esp, 0xc
test eax, eax
je 0x41af5f
inc edi
cmp di, 0x5a
jbe 0x41ae90
mov esi, dword [ebp - 0x22c]
xor eax, eax
push eax
push 0x456880
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
call fcn.0040b6e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00426e91
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, eax
mov dword [ebp - 0x250], 0
xor eax, eax
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 0x10]
cmp ecx, edx
jb 0x41b14e
sub ecx, edx
or esi, 0xffffffff
cmp ecx, 0xffffffff
cmovb esi, ecx
cmp dword [eax + 0x14], 8
jb 0x41afaf
mov eax, dword [eax]
push esi
lea eax, [eax + edx*2]
push eax
lea ecx, [ebp - 0x260]
call fcn.0040b6e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
lea edx, [ecx + 2]
mov word [ebp - 0x248], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41aff0
sub ecx, edx
lea eax, [ebp - 0x1c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.0040b6e0
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x234]
mov eax, edi
mov ecx, dword [ebp - 0x238]
sub eax, ecx
mov edx, dword [ebp - 0x250]
mov esi, dword [ebp - 0x24c]
cmp edx, eax
jbe 0x41b05c
mov eax, esi
sub eax, edx
cmp eax, ecx
jb 0x41b05c
cmp edi, 8
lea eax, [ebp - 0x248]
push ecx
cmovae eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x260]
push eax
push 0
call fcn.0041b870
jmp 0x41b079
cmp esi, 8
lea eax, [ebp - 0x260]
push edx
cmovae eax, dword [ebp - 0x260]
lea ecx, [ebp - 0x248]
push eax
call fcn.00418870
mov esi, dword [ebp - 0x22c]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x41b0ec
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b0e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b153
push edx
push ecx
call fcn.004274df
add esp, 8
mov edx, dword [ebp - 0x24c]
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp edx, 8
jb 0x41af3d
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b13f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b158
push edx
push ecx
call fcn.004274df
add esp, 8
jmp 0x41af3d
call fcn.0040c4e0
call fcn.0042c3c9
call fcn.0042c3c9
int3