Function at 0x43ae00
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x509354]
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 0x43ae50
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x24c]
call fcn.00401cd6
cmp byte [0x50c21c], bl
je 0x43aea9
cmp dword [ebp - 0x238], edi
jne 0x43aea9
push 3
push 0x28c
push str.._srcwin_utils.cc
lea ecx, [ebp - 0x318]
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 0x43aeb9
lea ecx, [ebp - 0x318]
call fcn.00443d90
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.00439870
add esp, 8
test al, al
jne 0x43af36
mov esi, 8
cmp dword [ebp - 0x218], esi
jb 0x43af09
mov edx, dword [ebp - 0x22c]
push edx
call fcn.0048e006
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 0x43b2d1
mov ecx, dword [ebp - 0x248]
push ecx
jmp 0x43b2c9
mov ecx, dword [ebp - 0x248]
mov ebx, 8
cmp dword [ebp - 0x234], ebx
jae 0x43af4f
lea ecx, [ebp - 0x248]
mov eax, dword [ebp - 0x238]
cmp word [ecx + eax*2 - 2], 0x5c
jne 0x43afb7
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.00401c43
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x28c]
push ecx
lea ecx, [ebp - 0x24c]
call fcn.00401c43
cmp dword [ebp - 0x274], ebx
jb 0x43afb7
mov edx, dword [ebp - 0x288]
push edx
call fcn.0048e006
add esp, 4
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x43afc0
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.0040129e
test eax, eax
jne 0x43b042
cmp dword [ebp - 0x218], ebx
jb 0x43afff
mov ecx, dword [ebp - 0x22c]
push ecx
call fcn.0048e006
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 0x43b02f
mov eax, dword [ebp - 0x248]
push eax
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 1
push edi
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x26c], 0x3a
call fcn.00405a9f
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x43b285
cmp edi, 0xffffffff
je 0x43b285
cmp edi, 1
jbe 0x43b094
lea edx, [edi - 2]
push edx
lea ecx, [ebp - 0x24c]
call fcn.0040cde4
cmp word [eax], 0x5c
jne 0x43b172
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.0040cde4
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 0x43b172
cmp eax, 0x104
je 0x43b172
lea esi, [ebp - 0x214]
cmp eax, 4
jb 0x43b106
push 4
mov edx, esi
push 0x4d3280
push edx
call fcn.00491e4f
add esp, 0xc
test eax, eax
jne 0x43b106
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.0041ee30
mov eax, dword [ebp - 0x26c]
cmp eax, ebx
je 0x43b167
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.00439870
add esp, 8
test al, al
jne 0x43b19b
lea ecx, [ebp - 0x268]
call fcn.0040198e
lea ecx, [ebp - 0x26c]
call fcn.0041ec50
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
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 0x43b15c
cmp dword [ebp - 0x250], 8
mov ecx, dword [ebp - 0x264]
jae 0x43b1d4
lea ecx, [ebp - 0x264]
push ecx
push eax
push 0
lea ecx, [ebp - 0x230]
call fcn.00429ee0
test eax, eax
jne 0x43b15c
mov esi, dword [ebp - 0x21c]
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x28c]
push edx
lea ecx, [ebp - 0x230]
call fcn.00409c2e
cmp dword [eax + 0x18], 8
jb 0x43b211
mov ebx, dword [eax + 4]
jmp 0x43b214
lea ebx, [eax + 4]
sub esi, dword [ebp - 0x270]
inc edi
push esi
push edi
lea ecx, [ebp - 0x24c]
call fcn.0040cde4
push eax
push ebx
call fcn.00491b8e
add esp, 0xc
test eax, eax
lea ecx, [ebp - 0x28c]
setne bl
call fcn.0040198e
lea ecx, [ebp - 0x268]
call fcn.0040198e
lea ecx, [ebp - 0x26c]
call fcn.0041ec50
lea ecx, [ebp - 0x230]
call fcn.0040198e
lea ecx, [ebp - 0x24c]
call fcn.0040198e
test bl, bl
jne 0x43b2d1
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
mov esi, 8
cmp dword [ebp - 0x218], esi
jb 0x43b2a1
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], ebx
mov word [ebp - 0x22c], cx
cmp dword [ebp - 0x234], esi
jb 0x43b2d1
mov edx, dword [ebp - 0x248]
push edx
call fcn.0048e006
add esp, 4
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