Function at 0x43b310
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f8
mov eax, dword [0x50b384]
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 0x43b352
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x230]
call fcn.00401ce4
cmp byte [0x50e244], bl
je 0x43b3ab
cmp dword [ebp - 0x21c], ebx
jne 0x43b3ab
push 3
push 0x11b
push str.._srcwin_utils.cc
lea ecx, [ebp - 0x2f8]
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 0x43b3bb
lea ecx, [ebp - 0x2f8]
call fcn.00444620
lea ecx, [ebp - 0x230]
push ecx
call fcn.00438780
add esp, 4
test al, al
je 0x43b3f9
cmp dword [ebp - 0x218], 8
jb 0x43b3e6
mov edx, dword [ebp - 0x22c]
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
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.0043a150
add esp, 8
lea edi, [esi + 1]
test al, al
jne 0x43b486
cmp dword [ebp - 0x234], edi
jb 0x43b443
mov edx, dword [ebp - 0x248]
push edx
call fcn.0048e976
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 0x43b6c7
mov ecx, dword [ebp - 0x22c]
push ecx
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 - 0x22c]
cmp dword [ebp - 0x218], edi
jae 0x43b49a
lea ecx, [ebp - 0x22c]
mov eax, dword [ebp - 0x21c]
cmp word [ecx + eax*2 - 2], 0x5c
jne 0x43b4f2
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.00401c51
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.00401c51
lea ecx, [ebp - 0x26c]
call fcn.0040199c
mov ecx, dword [ebp - 0x22c]
cmp dword [ebp - 0x218], edi
jae 0x43b506
lea ecx, [ebp - 0x22c]
mov eax, dword [ebp - 0x248]
cmp dword [ebp - 0x234], edi
jae 0x43b51a
lea eax, [ebp - 0x248]
push ecx
push eax
call fcn.00491c90
add esp, 8
test eax, eax
jne 0x43b551
lea ecx, [ebp - 0x24c]
call fcn.0040199c
lea ecx, [ebp - 0x230]
call fcn.0040199c
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 1
push ebx
lea edx, [ebp - 0x250]
push edx
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x250], 0x3a
call fcn.0040588a
mov esi, eax
test esi, esi
je 0x43b6b1
cmp esi, 0xffffffff
je 0x43b6b1
cmp esi, 1
jbe 0x43b5a1
lea eax, [esi - 2]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040ce34
cmp word [eax], 0x5c
jne 0x43b6b1
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.0040ce34
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 0x43b6b1
cmp eax, 0x104
je 0x43b6b1
lea eax, [ebp - 0x214]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43b5f7
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 0x43b6b1
mov eax, dword [ebp - 0x248]
mov ebx, 8
cmp dword [ebp - 0x234], ebx
jae 0x43b639
lea eax, [ebp - 0x248]
push edi
lea edx, [ebp - 0x214]
push edx
push eax
call fcn.004926d8
add esp, 0xc
test eax, eax
jne 0x43b6b1
cmp edi, dword [ebp - 0x238]
ja 0x43b6b1
cmp dword [ebp - 0x234], ebx
mov ebx, dword [ebp - 0x248]
jae 0x43b66a
lea ebx, [ebp - 0x248]
inc esi
push esi
lea ecx, [ebp - 0x230]
call fcn.0040ce34
push eax
lea eax, [ebx + edi*2]
push eax
call fcn.00491c90
add esp, 8
lea ecx, [ebp - 0x24c]
test eax, eax
jne 0x43b6b7
call fcn.0040199c
lea ecx, [ebp - 0x230]
call fcn.0040199c
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
lea ecx, [ebp - 0x24c]
call fcn.0040199c
lea ecx, [ebp - 0x230]
call fcn.0040199c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret