Function at 0x43a6f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c8
mov eax, dword [0x50b384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x2f8], ebx
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
mov word [ebp - 0x248], ax
mov eax, edi
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43a732
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x24c]
call fcn.00401ce4
cmp byte [0x50e244], bl
je 0x43a78b
cmp dword [ebp - 0x238], ebx
jne 0x43a78b
push 3
push 0x33b
push str.._srcwin_utils.cc
lea ecx, [ebp - 0x3c8]
mov ebx, 1
call fcn.00444980
add eax, 4
push str.Check_failed:__path.empty__.
push eax
call fcn.0040afbf
add esp, 8
test bl, 1
je 0x43a79b
lea ecx, [ebp - 0x3c8]
call fcn.00444620
lea edx, [ebp - 0x230]
push edx
xor ecx, ecx
mov ebx, 7
push esi
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x21c], 0
mov word [ebp - 0x22c], cx
call fcn.0043a150
add esp, 8
test al, al
jne 0x43a844
lea eax, [ebp - 0x230]
push eax
push esi
call fcn.00438c20
add esp, 8
test al, al
jne 0x43a844
mov esi, 8
cmp dword [ebp - 0x218], esi
jb 0x43a7fd
mov ecx, dword [ebp - 0x22c]
push ecx
call fcn.0048e976
add esp, 4
xor edx, edx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x21c], 0
mov word [ebp - 0x22c], dx
cmp dword [ebp - 0x234], esi
jb 0x43addd
mov eax, dword [ebp - 0x248]
push eax
call fcn.0048e976
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x21c]
xor esi, esi
lea ebx, [esi + 8]
cmp ecx, esi
jbe 0x43a8c9
mov eax, dword [ebp - 0x22c]
cmp dword [ebp - 0x218], ebx
jae 0x43a867
lea eax, [ebp - 0x22c]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x43a8c9
dec ecx
push ecx
push esi
lea eax, [ebp - 0x230]
xor edx, edx
push eax
lea ecx, [ebp - 0x318]
mov dword [ebp - 0x300], 7
mov dword [ebp - 0x304], esi
mov word [ebp - 0x314], dx
call fcn.00401c51
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x318]
push ecx
lea ecx, [ebp - 0x230]
call fcn.00401c51
cmp dword [ebp - 0x300], ebx
jb 0x43a8c9
mov edx, dword [ebp - 0x314]
push edx
call fcn.0048e976
add esp, 4
mov ecx, dword [ebp - 0x248]
cmp dword [ebp - 0x234], ebx
jae 0x43a8dd
lea ecx, [ebp - 0x248]
mov eax, dword [ebp - 0x238]
cmp word [ecx + eax*2 - 2], 0x5c
jne 0x43a945
dec eax
push eax
xor ecx, ecx
push esi
lea edx, [ebp - 0x24c]
mov word [ebp - 0x314], cx
push edx
lea ecx, [ebp - 0x318]
mov dword [ebp - 0x300], 7
mov dword [ebp - 0x304], esi
call fcn.00401c51
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x318]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00401c51
cmp dword [ebp - 0x300], ebx
jb 0x43a945
mov ecx, dword [ebp - 0x314]
push ecx
call fcn.0048e976
add esp, 4
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x43a950
sub eax, edx
mov edx, dword [ebp - 0x21c]
sar eax, 1
push eax
push edi
push edx
push esi
lea ecx, [ebp - 0x230]
call fcn.004012ac
test eax, eax
jne 0x43a9d2
cmp dword [ebp - 0x218], ebx
jb 0x43a98f
mov eax, dword [ebp - 0x22c]
push eax
call fcn.0048e976
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], esi
mov word [ebp - 0x22c], cx
cmp dword [ebp - 0x234], ebx
jb 0x43a9bf
mov edx, dword [ebp - 0x248]
push edx
call fcn.0048e976
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret
push ebx
xor eax, eax
push str.Device_
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x250], 7
mov dword [ebp - 0x254], esi
mov word [ebp - 0x264], ax
call fcn.00401ce4
mov edi, dword [ebp - 0x250]
mov eax, dword [ebp - 0x264]
cmp edi, ebx
jae 0x43aa12
lea eax, [ebp - 0x264]
mov esi, dword [ebp - 0x254]
push esi
xor ebx, ebx
push ebx
push eax
lea ecx, [ebp - 0x230]
call fcn.0040588a
test eax, eax
je 0x43aabd
cmp edi, 8
jb 0x43aa44
mov ecx, dword [ebp - 0x264]
push ecx
call fcn.0048e976
add esp, 4
xor edx, edx
mov edi, 8
mov esi, 7
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x254], ebx
mov word [ebp - 0x264], dx
cmp dword [ebp - 0x218], edi
jb 0x43aa7a
mov eax, dword [ebp - 0x22c]
push eax
call fcn.0048e976
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x21c], ebx
mov word [ebp - 0x22c], cx
cmp dword [ebp - 0x234], edi
jb 0x43addd
mov edx, dword [ebp - 0x248]
push edx
call fcn.0048e976
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret
push 1
push esi
lea eax, [ebp - 0x2f8]
push eax
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x2f8], 0x5c
call fcn.0040588a
mov esi, eax
cmp esi, 0xffffffff
je 0x43adbc
lea ecx, [esi + 1]
cmp ecx, dword [ebp - 0x21c]
je 0x43adbc
lea edx, [ebp - 0x2fc]
push edx
lea ecx, [ebp - 0x230]
call fcn.004085d5
mov ecx, dword [eax]
mov eax, dword [eax + 4]
lea eax, [eax + esi*2]
mov dword [ebp - 0x31c], eax
lea ebx, [eax + 2]
lea eax, [ebp - 0x320]
mov edi, ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.004085f3
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
push ebx
push edi
lea ecx, [ebp - 0x284]
call fcn.00438be0
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x284]
push ecx
call fcn.004386d0
add esp, 8
test al, al
jne 0x43ae52
push str.CdmRedirector
lea ecx, [ebp - 0x318]
call fcn.00401f43
mov eax, dword [ebp - 0x254]
lea edx, [ebp - 0x318]
push edx
sub esi, eax
push esi
push eax
lea eax, [ebp - 0x33c]
push eax
lea ecx, [ebp - 0x230]
call fcn.004098d6
push eax
call fcn.004386d0
add esp, 8
test al, al
lea ecx, [ebp - 0x33c]
sete bl
call fcn.0040199c
lea ecx, [ebp - 0x318]
call fcn.0040199c
test bl, bl
jne 0x43adb1
push 1
push 0
lea ecx, [ebp - 0x2f8]
push ecx
mov edi, 0x5c
lea ecx, [ebp - 0x284]
mov dword [ebp - 0x2f8], edi
call fcn.0040588a
cmp eax, 0xffffffff
je 0x43adb1
inc eax
lea ecx, [ebp - 0x284]
cmp eax, dword [ebp - 0x270]
je 0x43adb7
push 0xffffffffffffffff
push eax
lea edx, [ebp - 0x2a0]
push edx
call fcn.004098d6
push 0x4d43a8
push 4
push 0
lea ecx, [ebp - 0x24c]
call fcn.0042a610
test eax, eax
jne 0x43ac53
push 0xffffffffffffffff
push 4
lea eax, [ebp - 0x33c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.004098d6
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x24c]
call fcn.00401c51
lea ecx, [ebp - 0x33c]
call fcn.0040199c
lea ecx, [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x2a0]
push edx
call fcn.004386d0
add esp, 8
test al, al
jne 0x43ae47
push 1
push 0
lea eax, [ebp - 0x2f8]
push eax
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x2f8], 0x3a
call fcn.0040588a
mov esi, eax
test esi, esi
je 0x43ada6
cmp esi, 0xffffffff
je 0x43ada6
cmp esi, 1
jbe 0x43acc1
lea ecx, [esi - 2]
push ecx
lea ecx, [ebp - 0x24c]
call fcn.0040ce34
cmp word [eax], di
jne 0x43ada6
xor eax, eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
lea eax, [esi - 1]
xor edx, edx
push eax
lea ecx, [ebp - 0x24c]
mov word [ebp - 0xc], dx
call fcn.0040ce34
mov ecx, dword [eax]
push 0x104
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp eax, 2
jb 0x43ada6
cmp eax, 0x104
je 0x43ada6
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x2bc]
call fcn.00401f43
push 1
push 0xffffffffffffffff
lea edx, [ebp - 0x2f8]
push edx
lea ecx, [ebp - 0x2bc]
mov dword [ebp - 0x2f8], edi
call fcn.0041b6b0
cmp eax, 0xffffffff
je 0x43ad9b
inc eax
cmp dword [ebp - 0x2a8], eax
jbe 0x43ad9b
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x2bc]
call fcn.004098d6
cmp dword [ebp - 0x2c4], 2
lea ecx, [ebp - 0x2d8]
jb 0x43ad96
push ecx
lea ecx, [ebp - 0x2f4]
call fcn.00401dd0
lea eax, [esi + 1]
cmp dword [ebp - 0x238], eax
ja 0x43adf0
lea ecx, [ebp - 0x2f4]
call fcn.0040199c
lea ecx, [ebp - 0x2d8]
call fcn.0040199c
lea ecx, [ebp - 0x2bc]
call fcn.0040199c
lea ecx, [ebp - 0x2a0]
call fcn.0040199c
lea ecx, [ebp - 0x284]
call fcn.0040199c
lea ecx, [ebp - 0x268]
call fcn.0040199c
lea ecx, [ebp - 0x230]
call fcn.0040199c
lea ecx, [ebp - 0x24c]
call fcn.0040199c
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret
push eax
lea ecx, [ebp - 0x24c]
call fcn.0040ce34
push eax
lea ecx, [ebp - 0x2f4]
call fcn.004029d2
lea edx, [ebp - 0x2f4]
push edx
lea eax, [ebp - 0x2a0]
push eax
call fcn.004386d0
add esp, 8
lea ecx, [ebp - 0x2f4]
test al, al
je 0x43ad8b
call fcn.0040199c
lea ecx, [ebp - 0x2d8]
call fcn.0040199c
lea ecx, [ebp - 0x2bc]
call fcn.0040199c
lea ecx, [ebp - 0x2a0]
call fcn.0040199c
lea ecx, [ebp - 0x284]
call fcn.0040199c
lea ecx, [ebp - 0x268]
call fcn.0040199c
lea ecx, [ebp - 0x230]
call fcn.0040199c
lea ecx, [ebp - 0x24c]
call fcn.0040199c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret