Function at 0x439e10
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c8
mov eax, dword [0x509354]
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 0x439e52
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x24c]
call fcn.00401cd6
cmp byte [0x50c21c], bl
je 0x439eab
cmp dword [ebp - 0x238], ebx
jne 0x439eab
push 3
push 0x317
push str.._srcwin_utils.cc
lea ecx, [ebp - 0x3c8]
mov ebx, 1
call fcn.004440f0
add eax, 4
push str.Check_failed:__path.empty__.
push eax
call fcn.0040afde
add esp, 8
test bl, 1
je 0x439ebb
lea ecx, [ebp - 0x3c8]
call fcn.00443d90
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.00439870
add esp, 8
test al, al
jne 0x439f64
lea eax, [ebp - 0x230]
push eax
push esi
call fcn.00438420
add esp, 8
test al, al
jne 0x439f64
mov esi, 8
cmp dword [ebp - 0x218], esi
jb 0x439f1d
mov ecx, dword [ebp - 0x22c]
push ecx
call fcn.0048e006
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 0x43a4fd
mov eax, dword [ebp - 0x248]
push eax
call fcn.0048e006
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048e25d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x21c]
xor esi, esi
lea ebx, [esi + 8]
cmp ecx, esi
jbe 0x439fe9
mov eax, dword [ebp - 0x22c]
cmp dword [ebp - 0x218], ebx
jae 0x439f87
lea eax, [ebp - 0x22c]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x439fe9
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.00401c43
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x318]
push ecx
lea ecx, [ebp - 0x230]
call fcn.00401c43
cmp dword [ebp - 0x300], ebx
jb 0x439fe9
mov edx, dword [ebp - 0x314]
push edx
call fcn.0048e006
add esp, 4
mov ecx, dword [ebp - 0x248]
cmp dword [ebp - 0x234], ebx
jae 0x439ffd
lea ecx, [ebp - 0x248]
mov eax, dword [ebp - 0x238]
cmp word [ecx + eax*2 - 2], 0x5c
jne 0x43a065
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.00401c43
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x318]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00401c43
cmp dword [ebp - 0x300], ebx
jb 0x43a065
mov ecx, dword [ebp - 0x314]
push ecx
call fcn.0048e006
add esp, 4
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x43a070
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.0040129e
test eax, eax
jne 0x43a0f2
cmp dword [ebp - 0x218], ebx
jb 0x43a0af
mov eax, dword [ebp - 0x22c]
push eax
call fcn.0048e006
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 0x43a0df
mov edx, dword [ebp - 0x248]
push edx
call fcn.0048e006
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048e25d
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.00401cd6
mov edi, dword [ebp - 0x250]
mov eax, dword [ebp - 0x264]
cmp edi, ebx
jae 0x43a132
lea eax, [ebp - 0x264]
mov esi, dword [ebp - 0x254]
push esi
xor ebx, ebx
push ebx
push eax
lea ecx, [ebp - 0x230]
call fcn.00405a9f
test eax, eax
je 0x43a1dd
cmp edi, 8
jb 0x43a164
mov ecx, dword [ebp - 0x264]
push ecx
call fcn.0048e006
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 0x43a19a
mov eax, dword [ebp - 0x22c]
push eax
call fcn.0048e006
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 0x43a4fd
mov edx, dword [ebp - 0x248]
push edx
call fcn.0048e006
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048e25d
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.00405a9f
mov esi, eax
cmp esi, 0xffffffff
je 0x43a4dc
lea ecx, [esi + 1]
cmp ecx, dword [ebp - 0x21c]
je 0x43a4dc
lea edx, [ebp - 0x2fc]
push edx
lea ecx, [ebp - 0x230]
call fcn.004088e2
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.00408900
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
push ebx
push edi
lea ecx, [ebp - 0x284]
call fcn.004383e0
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x284]
push ecx
call fcn.00437f00
add esp, 8
test al, al
jne 0x43a572
push str.CdmRedirector
lea ecx, [ebp - 0x318]
call fcn.00401f35
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.00409c2e
push eax
call fcn.00437f00
add esp, 8
test al, al
lea ecx, [ebp - 0x33c]
sete bl
call fcn.0040198e
lea ecx, [ebp - 0x318]
call fcn.0040198e
test bl, bl
jne 0x43a4d1
push 1
push 0
lea ecx, [ebp - 0x2f8]
push ecx
mov edi, 0x5c
lea ecx, [ebp - 0x284]
mov dword [ebp - 0x2f8], edi
call fcn.00405a9f
cmp eax, 0xffffffff
je 0x43a4d1
inc eax
lea ecx, [ebp - 0x284]
cmp eax, dword [ebp - 0x270]
je 0x43a4d7
push 0xffffffffffffffff
push eax
lea edx, [ebp - 0x2a0]
push edx
call fcn.00409c2e
push 0x4d3280
push 4
push 0
lea ecx, [ebp - 0x24c]
call fcn.00429ee0
test eax, eax
jne 0x43a373
push 0xffffffffffffffff
push 4
lea eax, [ebp - 0x33c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00409c2e
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x24c]
call fcn.00401c43
lea ecx, [ebp - 0x33c]
call fcn.0040198e
lea ecx, [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x2a0]
push edx
call fcn.00437f00
add esp, 8
test al, al
jne 0x43a567
push 1
push 0
lea eax, [ebp - 0x2f8]
push eax
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x2f8], 0x3a
call fcn.00405a9f
mov esi, eax
test esi, esi
je 0x43a4c6
cmp esi, 0xffffffff
je 0x43a4c6
cmp esi, 1
jbe 0x43a3e1
lea ecx, [esi - 2]
push ecx
lea ecx, [ebp - 0x24c]
call fcn.0040cde4
cmp word [eax], di
jne 0x43a4c6
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.0040cde4
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 0x43a4c6
cmp eax, 0x104
je 0x43a4c6
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x2bc]
call fcn.00401f35
push 1
push 0xffffffffffffffff
lea edx, [ebp - 0x2f8]
push edx
lea ecx, [ebp - 0x2bc]
mov dword [ebp - 0x2f8], edi
call fcn.0041b570
cmp eax, 0xffffffff
je 0x43a4bb
inc eax
cmp dword [ebp - 0x2a8], eax
jbe 0x43a4bb
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x2bc]
call fcn.00409c2e
cmp dword [ebp - 0x2c4], 2
lea ecx, [ebp - 0x2d8]
jb 0x43a4b6
push ecx
lea ecx, [ebp - 0x2f4]
call fcn.00401dc2
lea eax, [esi + 1]
cmp dword [ebp - 0x238], eax
ja 0x43a510
lea ecx, [ebp - 0x2f4]
call fcn.0040198e
lea ecx, [ebp - 0x2d8]
call fcn.0040198e
lea ecx, [ebp - 0x2bc]
call fcn.0040198e
lea ecx, [ebp - 0x2a0]
call fcn.0040198e
lea ecx, [ebp - 0x284]
call fcn.0040198e
lea ecx, [ebp - 0x268]
call fcn.0040198e
lea ecx, [ebp - 0x230]
call fcn.0040198e
lea ecx, [ebp - 0x24c]
call fcn.0040198e
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048e25d
mov esp, ebp
pop ebp
ret
push eax
lea ecx, [ebp - 0x24c]
call fcn.0040cde4
push eax
lea ecx, [ebp - 0x2f4]
call fcn.0040288c
lea edx, [ebp - 0x2f4]
push edx
lea eax, [ebp - 0x2a0]
push eax
call fcn.00437f00
add esp, 8
lea ecx, [ebp - 0x2f4]
test al, al
je 0x43a4ab
call fcn.0040198e
lea ecx, [ebp - 0x2d8]
call fcn.0040198e
lea ecx, [ebp - 0x2bc]
call fcn.0040198e
lea ecx, [ebp - 0x2a0]
call fcn.0040198e
lea ecx, [ebp - 0x284]
call fcn.0040198e
lea ecx, [ebp - 0x268]
call fcn.0040198e
lea ecx, [ebp - 0x230]
call fcn.0040198e
lea ecx, [ebp - 0x24c]
call fcn.0040198e
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0048e25d
mov esp, ebp
pop ebp
ret