Function at 0x4699b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d83b7
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x6d26f8]
xor eax, esp
mov dword [esp + 0x840], eax
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x858]
mov dword fs:[0], eax
lea eax, [esp + 0x24]
push eax
mov esi, ecx
call fcn.0041d3b0
mov dword [esp + 0x860], 0
lea ecx, [esp + 0x24]
push ecx
call fcn.0042a180
lea eax, [esi + 0x84]
add esp, 4
push eax
mov dword [esp + 0x4c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x860], 1
mov edi, dword [esi + 0x44]
add esi, 0x34
mov dword [esp + 0x44], esi
cmp dword [esi + 0xc], edi
jbe 0x469a41
call fcn.0059471a
mov ebx, dword [esi + 0xc]
mov edx, dword [esi]
mov dword [esp + 0x3c], edx
cmp ebx, dword [esi + 0x10]
jbe 0x469a54
call fcn.0059471a
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi]
push edi
push ecx
push ebx
push eax
lea edx, [esp + 0x4c]
push edx
call fcn.0046f440
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
xor esi, esi
sar eax, 2
mov dword [esp + 0x20], esi
test eax, eax
jbe 0x469d72
cmp esi, eax
jb 0x469a8a
call fcn.0059471a
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [eax + esi*4]
mov ecx, 2
call fcn.00437e90
mov ebx, eax
mov byte [esp + 0x860], 2
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x30]
sar edx, 2
cmp esi, edx
jb 0x469abe
call fcn.0059471a
mov eax, dword [esp + 0x30]
mov ecx, dword [ebx]
mov ebx, dword [eax + esi*4]
lea edi, [eax + esi*4]
lea eax, [ecx - 0x10]
sub ebx, 0x10
cmp eax, ebx
je 0x469b1c
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x469b0d
mov edx, dword [eax]
cmp edx, dword [ebx]
jne 0x469b0d
call fcn.0040f770
mov dword [esp + 0x1c], eax
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x469b02
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [esp + 0x1c]
add ecx, 0x10
mov dword [edi], ecx
jmp 0x469b18
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.0040f6d0
mov esi, dword [esp + 0x20]
mov byte [esp + 0x860], 1
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x469b44
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [esp + 0x56]
push edx
mov word [esp + 0x58], cx
call fcn.005985f0
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x3c]
add esp, 0xc
sar eax, 2
cmp esi, eax
jb 0x469b72
call fcn.0059471a
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + esi*4]
push 0x400
lea edx, [esp + 0x50]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x469d5a
lea eax, [esp + 0x10]
push eax
call fcn.00468dc0
mov byte [esp + 0x860], 4
lea eax, [esp + 0x4c]
lea edx, [eax + 2]
jmp 0x469bb0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469bb0
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x4c]
mov ebx, eax
push ecx
lea eax, [esp + 0x14]
call fcn.0040f6d0
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x30]
sar edx, 2
cmp esi, edx
jb 0x469be3
call fcn.0059471a
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + esi*4]
mov ebx, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add ebx, 0xfffffff0
cmp eax, ebx
je 0x469c40
cmp dword [ebx + 0xc], 0
lea edi, [ebx + 0xc]
jl 0x469c33
mov edx, dword [eax]
cmp edx, dword [ebx]
jne 0x469c33
call fcn.0040f770
mov dword [esp + 0x1c], eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x469c26
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [esp + 0x1c]
add ecx, 0x10
mov dword [esp + 0x14], ecx
jmp 0x469c40
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.0040f6d0
mov edx, dword [esp + 0x10]
mov ebx, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x469c67
mov ecx, ebx
lea eax, [esp + 0x10]
call fcn.004121d0
mov edx, dword [esp + 0x10]
lea eax, [ebx + 1]
push eax
push edx
call fcn.00594468
add esp, 8
test ebx, ebx
jl 0x469dbe
mov eax, dword [esp + 0x10]
cmp ebx, dword [eax - 8]
jg 0x469dbe
mov dword [eax - 0xc], ebx
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov word [edx + ebx*2], cx
mov edx, dword [esp + 0x14]
mov ebx, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x469cbd
mov ecx, ebx
lea eax, [esp + 0x14]
call fcn.004121d0
mov edx, dword [esp + 0x14]
lea eax, [ebx + 1]
push eax
push edx
call fcn.00594468
add esp, 8
test ebx, ebx
jl 0x469dbe
mov eax, dword [esp + 0x14]
cmp ebx, dword [eax - 8]
jg 0x469dbe
mov edi, dword [esp + 0x44]
mov dword [eax - 0xc], ebx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
xor ecx, ecx
push eax
mov word [edx + ebx*2], cx
call fcn.0046ea10
mov al, 5
mov byte [esp + 0x860], al
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x860], al
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x469d32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x860], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x469d5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
inc esi
sar eax, 2
mov dword [esp + 0x20], esi
cmp esi, eax
jb 0x469a8a
mov byte [esp + 0x860], 0
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x860], 0xffffffff
lea edx, [esp + 0x24]
push edx
call fcn.0041cd80
mov ecx, dword [esp + 0x858]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x840]
xor ecx, esp
call fcn.0059393a
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00403d10
int3