Function at 0x43aa30
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f8
mov eax, dword [0x509354]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
push ebx
xor ebx, ebx
mov dword [ebp - 0x250], ebx
xor eax, eax
push esi
mov word [ebp - 0x22c], ax
mov eax, edx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], ebx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43aa72
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x230]
call fcn.00401cd6
cmp byte [0x50c21c], bl
je 0x43aacb
cmp dword [ebp - 0x21c], ebx
jne 0x43aacb
push 3
push 0xf7
push str.._srcwin_utils.cc
lea ecx, [ebp - 0x2f8]
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 0x43aadb
lea ecx, [ebp - 0x2f8]
call fcn.00443d90
lea ecx, [ebp - 0x230]
push ecx
call fcn.00437fb0
add esp, 4
test al, al
je 0x43ab19
cmp dword [ebp - 0x218], 8
jb 0x43ab06
mov edx, dword [ebp - 0x22c]
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
lea ecx, [ebp - 0x24c]
push ecx
xor eax, eax
mov esi, 7
xor ebx, ebx
push edi
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x238], ebx
mov word [ebp - 0x248], ax
call fcn.00439870
add esp, 8
lea edi, [esi + 1]
test al, al
jne 0x43aba6
cmp dword [ebp - 0x234], edi
jb 0x43ab63
mov edx, dword [ebp - 0x248]
push edx
call fcn.0048e006
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x238], ebx
mov word [ebp - 0x248], ax
cmp dword [ebp - 0x218], edi
jb 0x43ade7
mov ecx, dword [ebp - 0x22c]
push ecx
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 - 0x22c]
cmp dword [ebp - 0x218], edi
jae 0x43abba
lea ecx, [ebp - 0x22c]
mov eax, dword [ebp - 0x21c]
cmp word [ecx + eax*2 - 2], 0x5c
jne 0x43ac12
dec eax
push eax
push ebx
lea eax, [ebp - 0x230]
xor edx, edx
push eax
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x258], ebx
mov word [ebp - 0x268], dx
call fcn.00401c43
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.00401c43
lea ecx, [ebp - 0x26c]
call fcn.0040198e
mov ecx, dword [ebp - 0x22c]
cmp dword [ebp - 0x218], edi
jae 0x43ac26
lea ecx, [ebp - 0x22c]
mov eax, dword [ebp - 0x248]
cmp dword [ebp - 0x234], edi
jae 0x43ac3a
lea eax, [ebp - 0x248]
push ecx
push eax
call fcn.00491320
add esp, 8
test eax, eax
jne 0x43ac71
lea ecx, [ebp - 0x24c]
call fcn.0040198e
lea ecx, [ebp - 0x230]
call fcn.0040198e
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 1
push ebx
lea edx, [ebp - 0x250]
push edx
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x250], 0x3a
call fcn.00405a9f
mov esi, eax
test esi, esi
je 0x43add1
cmp esi, 0xffffffff
je 0x43add1
cmp esi, 1
jbe 0x43acc1
lea eax, [esi - 2]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040cde4
cmp word [eax], 0x5c
jne 0x43add1
xor ecx, ecx
xor eax, eax
lea edx, [esi - 1]
mov word [ebp - 0xc], cx
push edx
lea ecx, [ebp - 0x230]
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
call fcn.0040cde4
mov eax, dword [eax]
push 0x104
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0xc]
push edx
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp eax, 2
jb 0x43add1
cmp eax, 0x104
je 0x43add1
lea eax, [ebp - 0x214]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43ad17
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, dword [ebp - 0x21c]
sub eax, esi
lea ecx, [eax + edi - 1]
cmp ecx, dword [ebp - 0x238]
jne 0x43add1
mov eax, dword [ebp - 0x248]
mov ebx, 8
cmp dword [ebp - 0x234], ebx
jae 0x43ad59
lea eax, [ebp - 0x248]
push edi
lea edx, [ebp - 0x214]
push edx
push eax
call fcn.00491b8e
add esp, 0xc
test eax, eax
jne 0x43add1
cmp edi, dword [ebp - 0x238]
ja 0x43add1
cmp dword [ebp - 0x234], ebx
mov ebx, dword [ebp - 0x248]
jae 0x43ad8a
lea ebx, [ebp - 0x248]
inc esi
push esi
lea ecx, [ebp - 0x230]
call fcn.0040cde4
push eax
lea eax, [ebx + edi*2]
push eax
call fcn.00491320
add esp, 8
lea ecx, [ebp - 0x24c]
test eax, eax
jne 0x43add7
call fcn.0040198e
lea ecx, [ebp - 0x230]
call fcn.0040198e
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
lea ecx, [ebp - 0x24c]
call fcn.0040198e
lea ecx, [ebp - 0x230]
call fcn.0040198e
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.0048e25d
mov esp, ebp
pop ebp
ret