Function at 0x43e760
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab310
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4e42d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
xor edi, edi
mov dword [ebp - 0x30], esi
cmp dword [eax - 0xc], edi
je 0x43e7f6
add eax, 0xfffffff0
call fcn.004050f0
lea ebx, [eax + 0x10]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], edi
cmp dword [ebx - 4], 1
jle 0x43e7c0
mov eax, dword [ebx - 0xc]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00402bc0
mov ebx, dword [ebp - 0x28]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x43e7fd
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43e7f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x43eaa2
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathSkipRootW]
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call fcn.00402b20
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
cmp dword [ecx - 0xc], edi
jl 0x43e877
push 0x4bc260
push ecx
call fcn.0049230f
mov ecx, dword [ebp - 0x24]
add esp, 8
cmp eax, edi
je 0x43e877
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x43e877
lea eax, [ecx - 0x10]
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43e85b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x43e7ea
mov dword [ebp - 0x20], 0x3a002f
mov dword [ebp - 0x1c], 0x3f002a
mov dword [ebp - 0x18], 0x3c0022
mov dword [ebp - 0x14], 0x7c003e
xor esi, esi
movzx eax, word [ebp + esi*2 - 0x20]
cmp dword [ecx - 0xc], edi
jle 0x43e8b9
push eax
push ecx
call fcn.00490beb
mov ecx, dword [ebp - 0x24]
add esp, 8
cmp eax, edi
je 0x43e8b9
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jne 0x43e934
inc esi
cmp esi, 8
jb 0x43e895
lea ecx, [ebp - 0x2c]
push ecx
push ecx
lea esi, [ebx - 0x10]
mov dword [ebp - 0x2c], edi
mov eax, esi
mov dword [ebp - 0x34], esp
mov edi, esp
call fcn.004050f0
add eax, 0x10
mov dword [edi], eax
call fcn.004217a0
add esp, 8
test eax, eax
jne 0x43e94d
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43e909
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e7f6
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
xor eax, eax
jmp 0x43eaa2
lea eax, [ecx - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x43e84f
cmp dword [ebp - 0x2c], 0x64
jge 0x43e9a1
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e976
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e7f6
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
xor eax, eax
jmp 0x43eaa2
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0xc8
jle 0x43e9fd
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e9d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e7f6
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
xor eax, eax
jmp 0x43eaa2
mov eax, ebx
lea edi, [ebp - 0x28]
call fcn.00405000
mov esi, dword [ebp - 0x28]
cmp dword [esi - 4], 1
jle 0x43ea1f
mov eax, dword [esi - 0xc]
push eax
mov ecx, edi
push ecx
call fcn.00402bc0
mov esi, dword [ebp - 0x28]
push esi
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
xor eax, eax
test esi, esi
setne al
test eax, eax
jne 0x43ea3b
push 0x80004005
call fcn.004035c0
mov eax, dword [ebx]
push esi
push eax
call fcn.004909a6
add esp, 8
test eax, eax
jne 0x43ea57
mov edx, 0x4bc1fc
mov eax, ebx
call fcn.0040ae90
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43ea7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ea9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048f6cb
mov esp, ebp
pop ebp
ret