Function at 0x43b6e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x50b384]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x26c], eax
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], edi
mov word [ebp - 0x248], cx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x43b730
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x24c]
call fcn.00401ce4
cmp byte [0x50e244], bl
je 0x43b789
cmp dword [ebp - 0x238], edi
jne 0x43b789
push 3
push 0x2b0
push str.._srcwin_utils.cc
lea ecx, [ebp - 0x318]
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 0x43b799
lea ecx, [ebp - 0x318]
call fcn.00444620
mov ecx, dword [ebp - 0x26c]
lea eax, [ebp - 0x230]
push eax
xor edx, edx
mov ebx, 7
push ecx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x21c], edi
mov word [ebp - 0x22c], dx
call fcn.0043a150
add esp, 8
test al, al
jne 0x43b816
mov esi, 8
cmp dword [ebp - 0x218], esi
jb 0x43b7e9
mov edx, dword [ebp - 0x22c]
push edx
call fcn.0048e976
add esp, 4
xor eax, eax
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x21c], edi
mov word [ebp - 0x22c], ax
cmp dword [ebp - 0x234], esi
jb 0x43bbb1
mov ecx, dword [ebp - 0x248]
push ecx
jmp 0x43bba9
mov ecx, dword [ebp - 0x248]
mov ebx, 8
cmp dword [ebp - 0x234], ebx
jae 0x43b82f
lea ecx, [ebp - 0x248]
mov eax, dword [ebp - 0x238]
cmp word [ecx + eax*2 - 2], 0x5c
jne 0x43b897
dec eax
push eax
push edi
lea eax, [ebp - 0x24c]
xor edx, edx
push eax
lea ecx, [ebp - 0x28c]
mov dword [ebp - 0x274], 7
mov dword [ebp - 0x278], edi
mov word [ebp - 0x288], dx
call fcn.00401c51
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x28c]
push ecx
lea ecx, [ebp - 0x24c]
call fcn.00401c51
cmp dword [ebp - 0x274], ebx
jb 0x43b897
mov edx, dword [ebp - 0x288]
push edx
call fcn.0048e976
add esp, 4
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x43b8a0
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x21c]
push esi
push eax
push edi
lea ecx, [ebp - 0x230]
call fcn.004012ac
test eax, eax
jne 0x43b922
cmp dword [ebp - 0x218], ebx
jb 0x43b8df
mov ecx, dword [ebp - 0x22c]
push ecx
call fcn.0048e976
add esp, 4
xor edx, edx
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], edi
mov word [ebp - 0x22c], dx
cmp dword [ebp - 0x234], ebx
jb 0x43b90f
mov eax, dword [ebp - 0x248]
push eax
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 1
push edi
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x26c], 0x3a
call fcn.0040588a
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x43bb65
cmp edi, 0xffffffff
je 0x43bb65
cmp edi, 1
jbe 0x43b974
lea edx, [edi - 2]
push edx
lea ecx, [ebp - 0x24c]
call fcn.0040ce34
cmp word [eax], 0x5c
jne 0x43ba52
xor eax, eax
lea ecx, [edi - 1]
push ecx
lea ecx, [ebp - 0x24c]
mov word [ebp - 0xc], ax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
call fcn.0040ce34
mov edx, dword [eax]
push 0x104
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0xc]
push ecx
mov dword [ebp - 0xc], edx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp eax, 2
jb 0x43ba52
cmp eax, 0x104
je 0x43ba52
lea esi, [ebp - 0x214]
cmp eax, 4
jb 0x43b9e6
push 4
mov edx, esi
push 0x4d43a8
push edx
call fcn.00492999
add esp, 0xc
test eax, eax
jne 0x43b9e6
lea esi, [ebp - 0x20c]
push ebx
push 0x2000000
push 3
push ebx
push 7
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
lea ecx, [ebp - 0x26c]
call fcn.0041f2c0
mov eax, dword [ebp - 0x26c]
cmp eax, ebx
je 0x43ba47
lea edx, [ebp - 0x268]
push edx
xor ecx, ecx
push eax
mov dword [ebp - 0x250], 7
mov dword [ebp - 0x254], ebx
mov word [ebp - 0x264], cx
call fcn.0043a150
add esp, 8
test al, al
jne 0x43ba7b
lea ecx, [ebp - 0x268]
call fcn.0040199c
lea ecx, [ebp - 0x26c]
call fcn.0041f0e0
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
mov eax, dword [ebp - 0x254]
mov edx, dword [ebp - 0x238]
mov ecx, eax
sub ecx, edi
lea ecx, [ecx + edx - 1]
mov ebx, eax
mov dword [ebp - 0x270], ebx
cmp ecx, dword [ebp - 0x21c]
jne 0x43ba3c
cmp dword [ebp - 0x250], 8
mov ecx, dword [ebp - 0x264]
jae 0x43bab4
lea ecx, [ebp - 0x264]
push ecx
push eax
push 0
lea ecx, [ebp - 0x230]
call fcn.0042a610
test eax, eax
jne 0x43ba3c
mov esi, dword [ebp - 0x21c]
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x28c]
push edx
lea ecx, [ebp - 0x230]
call fcn.004098d6
cmp dword [eax + 0x18], 8
jb 0x43baf1
mov ebx, dword [eax + 4]
jmp 0x43baf4
lea ebx, [eax + 4]
sub esi, dword [ebp - 0x270]
inc edi
push esi
push edi
lea ecx, [ebp - 0x24c]
call fcn.0040ce34
push eax
push ebx
call fcn.004926d8
add esp, 0xc
test eax, eax
lea ecx, [ebp - 0x28c]
setne bl
call fcn.0040199c
lea ecx, [ebp - 0x268]
call fcn.0040199c
lea ecx, [ebp - 0x26c]
call fcn.0041f0e0
lea ecx, [ebp - 0x230]
call fcn.0040199c
lea ecx, [ebp - 0x24c]
call fcn.0040199c
test bl, bl
jne 0x43bbb1
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
mov esi, 8
cmp dword [ebp - 0x218], esi
jb 0x43bb81
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], ebx
mov word [ebp - 0x22c], cx
cmp dword [ebp - 0x234], esi
jb 0x43bbb1
mov edx, dword [ebp - 0x248]
push edx
call fcn.0048e976
add esp, 4
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