Function at 0x4a8120
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce872
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x50f880]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 8
mov dword [ebp - 4], 1
call fcn.0045401f
mov ebx, eax
add esp, 4
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 2
test ebx, ebx
je 0x4a81da
push 0x18
call fcn.0045401f
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 3
mov esi, dword [ebp + 8]
test edi, edi
je 0x4a81bd
push 0x1001b
mov dword [edi], vtable.CVolumeBitmapProvider.0
mov dword [edi + 4], esi
mov byte [edi + 8], 1
call fcn.0044d57b
add esp, 4
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0xc]
push 0x1001b
push 0
push eax
mov dword [edi + 0x10], 0
mov byte [edi + 0x14], 1
call fcn.00457de0
add esp, 0xc
jmp 0x4a81bf
xor edi, edi
sub esp, 8
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.004294c0
mov edi, ebx
call fcn.004313a0
jmp 0x4a81df
mov esi, dword [ebp + 8]
xor eax, eax
push esi
mov edi, eax
mov byte [ebp - 4], 1
call fcn.00429560
lea ebx, [esi + 8]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 5
push 0x14
mov dword [ebx], 0x4f4f50
call fcn.0045401f
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x4a8218
push eax
call fcn.00426650
jmp 0x4a821a
xor eax, eax
lea ecx, [ebx + 8]
push ecx
mov edi, eax
mov byte [ebp - 4], 5
call fcn.00429830
mov dword [ebx], 0x4f4efc
lea ebx, [esi + 0x18]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 8
push 0x14
mov dword [ebx], 0x4f4f5c
call fcn.0045401f
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x4a825c
push eax
call fcn.00426760
jmp 0x4a825e
xor eax, eax
lea edx, [ebx + 8]
push edx
mov edi, eax
mov byte [ebp - 4], 8
call fcn.004298d0
mov dword [ebx], 0x4f4f08
lea ebx, [esi + 0x28]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0xb
push 0x14
mov dword [ebx], 0x4f48bc
call fcn.0045401f
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x4a82a0
push eax
call fcn.0041c650
jmp 0x4a82a2
xor eax, eax
lea ecx, [ebx + 8]
push ecx
mov edi, eax
mov byte [ebp - 4], 0xb
call fcn.0041ccb0
mov dword [ebx], 0x4f48b0
lea ebx, [esi + 0x38]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0xe
push 0x14
mov dword [ebx], 0x4f48bc
call fcn.0045401f
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xf
test eax, eax
je 0x4a82e4
push eax
call fcn.0041c650
jmp 0x4a82e6
xor eax, eax
lea edx, [ebx + 8]
push edx
mov edi, eax
mov byte [ebp - 4], 0xe
call fcn.0041ccb0
mov dword [ebx], 0x4f48b0
lea ebx, [esi + 0x48]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0x11
push 0x14
mov dword [ebx], 0x4f4f68
call fcn.0045401f
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x12
test eax, eax
je 0x4a8328
push eax
call fcn.00426870
jmp 0x4a832a
xor eax, eax
lea ecx, [ebx + 8]
push ecx
mov edi, eax
mov byte [ebp - 4], 0x11
call fcn.00429970
mov dword [ebx], 0x4f4f14
lea ebx, [esi + 0x58]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0x14
push 0x14
mov dword [ebx], 0x4f4f74
call fcn.0045401f
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x15
test eax, eax
je 0x4a836c
push eax
call fcn.00426980
jmp 0x4a836e
xor eax, eax
lea edx, [ebx + 8]
push edx
mov edi, eax
mov byte [ebp - 4], 0x14
call fcn.00429a10
mov dword [ebx], 0x4f4f20
lea ebx, [esi + 0x68]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0x17
push 0x14
mov dword [ebx], 0x4f4f80
call fcn.0045401f
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x18
test eax, eax
je 0x4a83b0
push eax
call fcn.00426a90
jmp 0x4a83b2
xor eax, eax
lea ecx, [ebx + 8]
push ecx
mov edi, eax
mov byte [ebp - 4], 0x17
call fcn.00429ab0
mov dword [ebx], 0x4f4f2c
lea ebx, [esi + 0x78]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0x1a
push 0x14
mov dword [ebx], 0x4f48bc
call fcn.0045401f
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x1b
test eax, eax
je 0x4a83f4
push eax
call fcn.0041c650
jmp 0x4a83f6
xor eax, eax
lea edx, [ebx + 8]
push edx
mov edi, eax
mov byte [ebp - 4], 0x1a
call fcn.0041ccb0
mov dword [ebx], 0x4f48b0
lea ebx, [esi + 0x88]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0x1d
push 0x14
mov dword [ebx], 0x4f4f8c
call fcn.0045401f
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x1e
test eax, eax
je 0x4a843b
push eax
call fcn.00426ba0
jmp 0x4a843d
xor eax, eax
lea ecx, [ebx + 8]
push ecx
mov edi, eax
mov byte [ebp - 4], 0x1d
call fcn.00429b50
mov dword [ebx], 0x4f4f38
lea ebx, [esi + 0x98]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0x20
push 0x14
mov dword [ebx], 0x4f48bc
call fcn.0045401f
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x21
test eax, eax
je 0x4a8482
push eax
call fcn.0041c650
jmp 0x4a8484
xor eax, eax
lea edx, [ebx + 8]
push edx
mov edi, eax
mov byte [ebp - 4], 0x20
call fcn.0041ccb0
mov dword [ebx], 0x4f48b0
lea ebx, [esi + 0xa8]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0x23
push 0x14
mov dword [ebx], 0x4f4f98
call fcn.0045401f
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x24
test eax, eax
je 0x4a84c9
push eax
call fcn.00426cb0
jmp 0x4a84cb
xor eax, eax
lea ecx, [ebx + 8]
push ecx
mov edi, eax
mov byte [ebp - 4], 0x23
call fcn.00429bf0
mov dword [ebx], 0x4f4f44
xor eax, eax
mov word [esi + 0xb8], 0
mov byte [esi + 0xba], 0
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], eax
mov byte [ebp - 4], 0x26
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x14], esp
mov edi, esp
call fcn.0041b370
add eax, 0x10
lea ebx, [esi + 0xcc]
mov dword [edi], eax
mov dword [ebp - 0x10], ebx
call fcn.00401790
add esp, 4
mov byte [ebp - 4], 0x27
mov eax, dword [ebp + 0x14]
mov dx, word [ebp + 0x10]
mov dword [esi + 0xd4], eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
add eax, 0xfffffff0
mov word [esi + 0xd0], dx
mov dword [esi + 0xd8], ebx
call fcn.0041b370
add eax, 0x10
mov dword [esi + 0xdc], eax
mov byte [ebp - 4], 0x28
mov edx, dword [0x50f008]
mov eax, dword [edx + 0xc]
mov ecx, 0x50f008
call eax
add eax, 0x10
mov dword [esi + 0xe0], eax
mov byte [ebp - 4], 0x29
mov edx, dword [0x50f008]
mov eax, dword [edx + 0xc]
mov ecx, 0x50f008
call eax
add eax, 0x10
mov dword [esi + 0xe4], eax
mov byte [ebp - 4], 0x2a
mov edx, dword [0x50f008]
mov eax, dword [edx + 0xc]
mov ecx, 0x50f008
call eax
add eax, 0x10
mov dword [esi + 0xe8], eax
mov byte [ebp - 4], 0x2b
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xf8], ebx
mov dword [esi + 0xfc], ebx
mov edx, dword [0x50f008]
mov eax, dword [edx + 0xc]
mov ecx, 0x50f008
call eax
add eax, 0x10
mov dword [esi + 0x100], eax
mov byte [ebp - 4], 0x2c
mov dword [esi + 0x104], ebx
mov dword [esi + 0x108], ebx
mov dword [esi + 0x10c], 3
lea eax, [esi + 0x110]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
push ebx
mov dword [eax + 0x10], ecx
push eax
mov dword [eax + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x4a864c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x4a8644
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jge 0x4a864c
push eax
call fcn.0041b5f0
lea eax, [esi + 0x128]
mov byte [ebp - 4], 0x2d
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
push ebx
mov dword [eax + 0x10], ebx
push eax
mov dword [eax + 0x14], ebx
call edi
test eax, eax
jne 0x4a8693
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x4a868b
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jge 0x4a8693
push eax
call fcn.0041b5f0
mov byte [ebp - 4], 0x2e
lea eax, [esi + 0x144]
mov byte [esi + 0x140], 1
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
push ebx
mov dword [eax + 0x10], ebx
push eax
mov dword [eax + 0x14], ebx
call edi
test eax, eax
jne 0x4a86db
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x4a86d3
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jge 0x4a86db
push eax
call fcn.0041b5f0
mov dword [esi + 0x160], ebx
mov dword [esi + 0x164], ebx
mov dword [esi + 0x168], ebx
mov dword [esi + 0x16c], ebx
mov dword [esi + 0x17c], ebx
mov dword [esi + 0x180], ebx
mov byte [ebp - 4], 0x30
lea eax, [esi + 0x198]
mov dword [esi + 0x188], ebx
mov dword [esi + 0x18c], ebx
mov dword [esi + 0x190], ebx
mov dword [esi + 0x194], ebx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
push ebx
mov dword [eax + 0x10], ebx
push eax
mov dword [eax + 0x14], ebx
call edi
test eax, eax
jne 0x4a8758
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x4a8750
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jge 0x4a8758
push eax
call fcn.0041b5f0
mov byte [ebp - 4], 0x31
push 0x1c
mov dword [esi + 0x1b8], ebx
call fcn.0045401f
add esp, 4
cmp eax, ebx
je 0x4a8eaa
mov dword [esi + 0x1b4], eax
mov dword [eax], eax
mov eax, dword [esi + 0x1b4]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x1b4]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x1b4]
mov byte [ecx + 0x18], 1
mov edx, dword [esi + 0x1b4]
mov byte [edx + 0x19], 1
mov byte [ebp - 4], 0x32
mov dword [esi + 0x1c0], ebx
mov dword [esi + 0x1c8], ebx
mov dword [esi + 0x1cc], ebx
mov dword [esi + 0x1d0], ebx
mov dword [esi + 0x1d4], ebx
mov dword [esi + 0x1d8], ebx
mov dword [esi + 0x1dc], ebx
lea eax, [esi + 0x200]
mov dword [esi + 0x1e0], ebx
mov dword [esi + 0x1e8], ebx
mov dword [esi + 0x1ec], ebx
mov dword [esi + 0x1f0], ebx
mov dword [esi + 0x1f4], ebx
mov dword [esi + 0x1f8], ebx
mov dword [esi + 0x1fc], ebx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
push ebx
mov dword [eax + 0x10], ebx
push eax
mov dword [eax + 0x14], ebx
call edi
test eax, eax
jne 0x4a8837
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x4a882f
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jge 0x4a8837
push eax
call fcn.0041b5f0
push 0x28
mov byte [ebp - 4], 0x33
call fcn.0045401f
mov edi, eax
add esp, 4
mov dword [ebp + 0x10], edi
cmp edi, ebx
je 0x4a8899
mov byte [ebp - 4], 0x35
fldz
mov dword [edi], vtable.OperationStatus.0
fstp qword [edi + 8]
lea eax, [edi + 0x1c]
push eax
mov ecx, 0x4f497c
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
call fcn.0041b050
mov byte [ebp - 4], 0x36
mov edx, dword [0x50f008]
mov eax, dword [edx + 0xc]
mov ecx, 0x50f008
call eax
add eax, 0x10
mov dword [edi + 0x20], eax
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
jmp 0x4a889b
xor edi, edi
lea eax, [esi + 0x218]
mov byte [ebp - 4], 0x33
push eax
mov dword [ebp + 0x10], eax
call fcn.0041ee60
lea eax, [esi + 0x220]
xor ecx, ecx
mov byte [ebp - 4], 0x37
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
push ebx
mov dword [eax + 0x10], ecx
push eax
mov dword [eax + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x4a88f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x4a88ed
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jge 0x4a88f5
push eax
call fcn.0041b5f0
mov byte [ebp - 4], 0x38
mov byte [esi + 0x238], bl
push 0x3c
mov dword [esi + 0x244], ebx
call fcn.0045401f
add esp, 4
cmp eax, ebx
je 0x4a8e86
mov dword [esi + 0x240], eax
mov dword [eax], eax
mov eax, dword [esi + 0x240]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x240]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x240]
mov byte [ecx + 0x38], 1
mov edx, dword [esi + 0x240]
mov byte [edx + 0x39], 1
lea eax, [esi + 0x24c]
mov byte [ebp - 4], 0x39
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
push ebx
mov dword [eax + 0x10], ebx
push eax
mov dword [eax + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x4a898a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x4a8982
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jge 0x4a898a
push eax
call fcn.0041b5f0
lea eax, [esi + 0x264]
push eax
mov byte [ebp - 4], 0x3a
call fcn.00424c20
mov cl, byte [ebp + 0x1c]
mov byte [esi + 0x290], cl
mov dword [esi + 0x294], ebx
mov dword [esi + 0x298], ebx
mov dword [esi + 0x29c], ebx
mov dword [esi + 0x2a0], ebx
mov byte [ebp - 4], 0x3d
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
sub eax, 0x10
call fcn.0041b370
add eax, 0x10
mov dword [ebp + 0x1c], eax
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp + 0x14]
push ecx
mov ebx, 0x4ee160
mov byte [ebp - 4], 0x3e
call fcn.00409990
add esp, 8
lea edi, [esi + 0xe8]
mov byte [ebp - 4], 0x3f
call fcn.0041ad90
mov byte [ebp - 4], 0x3e
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a8a1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x3d
mov eax, dword [ebp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a8a40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0xe0]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or eax, ecx
jge 0x4a8a6a
mov eax, 0x104
lea ecx, [esi + 0xe0]
call fcn.0041b590
mov eax, dword [esi + 0xe0]
mov ecx, dword [esi + 0xe8]
push 0x104
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
mov eax, dword [esi + 0xe0]
mov ecx, dword [eax - 8]
test eax, eax
je 0x4a8aa2
push ecx
push eax
call fcn.00453fa1
add esp, 8
test eax, eax
js 0x4a8e7c
mov ecx, dword [esi + 0xe0]
cmp eax, dword [ecx - 8]
jg 0x4a8e7c
mov dword [ecx - 0xc], eax
mov ecx, dword [esi + 0xe0]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [esi + 0xe0]
mov ecx, 0x4ee164
jmp 0x4a8ad0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4a8af6
test dx, dx
je 0x4a8af2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4a8af6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4a8ad0
xor eax, eax
jmp 0x4a8afb
sbb eax, eax
sbb eax, 0xffffffff
mov ebx, dword [ebp - 0x10]
test eax, eax
sete al
test al, al
je 0x4a8b1e
mov eax, dword [ebx]
cmp dword [eax - 0xc], 2
jne 0x4a8b1e
mov ecx, ebx
lea edi, [esi + 0xbc]
call fcn.00409e60
jmp 0x4a8b46
lea eax, [esi + 0xbc]
push eax
mov eax, dword [esi + 0xe0]
push ecx
add eax, 0xfffffff0
mov dword [ebp + 0x14], esp
mov edi, esp
call fcn.0041b370
add eax, 0x10
mov dword [edi], eax
call fcn.004b67c0
add esp, 8
mov ecx, dword [ebx]
cmp dword [ecx - 0xc], 2
jne 0x4a8b8b
lea edx, [ebp + 0x1c]
push 0x4ee168
push edx
mov ecx, ebx
call fcn.0041b8c0
add esp, 8
lea ebx, [esi + 0xe4]
mov edi, ebx
mov byte [ebp - 4], 0x40
call fcn.0041ad90
mov byte [ebp - 4], 0x3d
mov eax, dword [ebp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x4a8bcb
mov ecx, dword [esi + 0xe0]
mov eax, dword [ecx - 0xc]
lea edx, [esi + 0xe0]
dec eax
lea ecx, [ebp + 0x1c]
call fcn.0041bfb0
lea ebx, [esi + 0xe4]
mov edi, ebx
mov byte [ebp - 4], 0x41
call fcn.0041ad90
mov byte [ebp - 4], 0x3d
mov eax, dword [ebp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a8bd7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x28
call fcn.0045401f
add esp, 4
mov dword [ebp + 0x1c], eax
mov byte [ebp - 4], 0x42
test eax, eax
je 0x4a8c0c
mov eax, dword [ebx]
push ecx
sub eax, 0x10
mov dword [ebp + 0x14], esp
mov edi, esp
call fcn.0041b370
mov ecx, dword [ebp + 0x1c]
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.00424100
jmp 0x4a8c0e
xor eax, eax
lea edx, [ebp - 0x18]
push edx
mov edi, eax
mov byte [ebp - 4], 0x3d
call fcn.0042b210
mov ecx, dword [eax]
mov edx, dword [esi + 0x294]
mov dword [eax], edx
mov dword [esi + 0x294], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esi + 0x298]
mov dword [esi + 0x298], edx
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4a8c72
mov edi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4a8c72
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4a8c72
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
lea eax, [ebp + 0xc]
push ebx
push eax
lea edi, [esi + 0xd4]
call fcn.004b77a0
add esp, 8
mov dword [esi + 0xd8], eax
cmp eax, 4
jne 0x4a8cbd
mov ecx, dword [edi]
movzx edx, word [esi + 0xd0]
push ecx
push edx
call fcn.004a76f0
add esp, 8
test al, al
je 0x4a8cb0
mov byte [esi + 0xba], 1
jmp 0x4a8cbd
mov edi, ebx
call fcn.004b74e0
mov byte [esi + 0xba], al
push 0x10
call fcn.0045401f
add esp, 4
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 0x43
test eax, eax
je 0x4a8d14
mov ecx, dword [ebp + 0x10]
mov edi, dword [ecx]
sub esp, 8
mov edx, esp
mov dword [edx], edi
mov ecx, dword [ecx + 4]
mov dword [ebp + 0x1c], esp
mov dword [edx + 4], ecx
test ecx, ecx
je 0x4a8cf7
add ecx, 4
mov edx, 1
lock xadd dword [ecx], edx
cmp dword [esi + 0xd8], 2
mov esi, eax
sete cl
mov byte [ebp + 0x1c], cl
mov edx, dword [ebp + 0x1c]
push edx
call fcn.004ae8c0
mov esi, dword [ebp + 8]
jmp 0x4a8d16
xor eax, eax
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp - 0x18]
push ecx
mov edi, eax
mov byte [ebp - 4], 0x3d
call fcn.00429600
mov byte [ebp - 4], 0x44
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [ebx], ecx
mov edi, dword [ebx + 4]
mov dword [ebx + 4], edx
test edi, edi
je 0x4a8d74
lea edx, [edi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4a8d74
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4a8d74
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov byte [ebp - 4], 0x3d
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x4a8da9
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4a8da9
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4a8da9
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov esi, dword [esi + 0x294]
push esi
call fcn.004bcde0
mov esi, eax
call fcn.0049efd0
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x294]
push esi
mov dword [edi + 0x10c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
or ebx, 0xffffffff
add dword [esi + 0x24], ebx
cmp dword [esi + 0x24], 0
jg 0x4a8df3
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4a8df3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x18], 0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
push str.CVolume_object_created_for_volume__s.
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x4ee174
mov dword [ebp - 0x18], 0x50
mov dword [ebp - 0x14], 1
call fcn.00409c10
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a8e47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x4a8e66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 0x80070057
call fcn.0041b5f0
lea ecx, [ebp + 0x14]
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp + 0x14], ebx
call fcn.004541b0
push 0x4ff0c0
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.00457e5a
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp + 0x10], ebx
call fcn.004541b0
push 0x4ff0c0
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.00457e5a
int3