Function at 0x43df80
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e76b
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x5b3680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xdc], edi
lea esi, [edi + 0x78]
mov dword [ebp - 0xe4], esi
push esi
mov byte [ebp - 0xe0], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0xe0], 1
mov dword [ebp - 4], 0
lea eax, [edi + 0x2cac]
push 0
push 1
push eax
mov dword [ebp - 0xd0], eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x43e00f
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 0xe0], 0
jmp 0x43e67d
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 0x2cb0]
cdq
mov byte [ebp - 0xe0], 0
test edx, edx
jne 0x43e033
test eax, eax
je 0x43e067
mov edi, dword [sym.imp.KERNEL32.dll_SwitchToThread]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop
call edi
test eax, eax
jne 0x43e04a
push 1
call esi
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 0x2cb0]
cdq
test edx, edx
ja 0x43e040
jb 0x43e061
test eax, eax
jne 0x43e040
mov edi, dword [ebp - 0xdc]
mov dword [ebp - 0xb8], 0
mov dword [ebp - 4], 1
xor eax, eax
xorps xmm0, xmm0
mov dword [ebp - 0xcc], 0xffffffff
mov ecx, edi
mov dword [ebp - 0xe8], 0
mov word [ebp - 0x30], ax
movdqu xmmword [ebp - 0x2e], xmm0
mov dword [ebp - 0x16], eax
movq qword [ebp - 0x1e], xmm0
call fcn.00442180
push ecx
lea ecx, [ebp - 0xb8]
call fcn.00441cf0
mov ecx, dword [ebp - 0xb8]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x43e0e1
push 0x5afaa8
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xbc], 0x80004005
push eax
call fcn.00532408
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xe8]
push eax
push 0x206
push ecx
push 0
call dword [sym.imp.FLTLIB.DLL_FilterVolumeFindFirst]
test eax, eax
je 0x43e150
mov eax, dword [ebp - 0xcc]
cmp eax, 0xffffffff
je 0x43e113
push eax
call dword [sym.imp.FLTLIB.DLL_FilterVolumeFindClose]
push 0
push dword [ebp - 0xd0]
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xb4]
cmp dword [ebp - 0xb8], eax
je 0x43e141
lea ecx, [ebp - 0xb8]
call fcn.0041b750
xor al, al
jmp 0x43e67f
mov ecx, dword [ebp - 0xb8]
xor edx, edx
movzx eax, word [ecx]
shr eax, 1
mov word [ecx + eax*2 + 2], dx
lea ecx, [ebp - 0xc0]
mov eax, dword [ebp - 0xb8]
add eax, 2
push eax
call fcn.004031c0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xc0]
cmp dword [eax - 0xc], 0
jl 0x43e33d
push str.DeviceLanmanRedirector
push eax
call fcn.0052cc91
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0xc0]
test ecx, ecx
je 0x43e1b2
sub ecx, eax
sar ecx, 1
cmp ecx, 0xffffffff
jne 0x43e26e
cmp dword [eax - 0xc], 0
jl 0x43e33d
push str.DeviceMup
push eax
call fcn.0052cc91
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0xc0]
test ecx, ecx
je 0x43e1e3
sub ecx, eax
sar ecx, 1
cmp ecx, 0xffffffff
jne 0x43e26e
cmp dword [eax - 0xc], 0
jl 0x43e33d
push str.DeviceWebDavRedirector
push eax
call fcn.0052cc91
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0xc0]
test ecx, ecx
je 0x43e210
sub ecx, eax
sar ecx, 1
cmp ecx, 0xffffffff
jne 0x43e26e
cmp dword [eax - 0xc], 0
jl 0x43e33d
push str.DeviceHGFS
push eax
call fcn.0052cc91
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0xc0]
test ecx, ecx
je 0x43e23d
sub ecx, eax
sar ecx, 1
cmp ecx, 0xffffffff
jne 0x43e26e
cmp dword [eax - 0xc], 0
jl 0x43e33d
push str.DeviceRDPDR
push eax
call fcn.0052cc91
add esp, 8
test eax, eax
je 0x43e33d
sub eax, dword [ebp - 0xc0]
sar eax, 1
cmp eax, 0xffffffff
je 0x43e33d
push 0x30
call fcn.00529b2d
mov esi, eax
add esp, 4
mov dword [ebp - 0xbc], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x43e2ac
push ecx
mov ecx, esp
mov dword [ebp - 0xe0], esp
push 0x58af04
call fcn.004031c0
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.0043c730
jmp 0x43e2ae
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 5
mov edx, eax
push 0x58af04
lea ecx, [ebp - 0xf0]
mov dword [eax + 8], 6
call fcn.00415f60
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd4]
push ecx
push dword [eax]
mov ecx, edi
call fcn.00442070
mov byte [ebp - 4], 5
or ecx, 0xffffffff
mov edx, dword [ebp - 0xf0]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43e310
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0xd4]
test esi, esi
je 0x43e32e
mov ecx, esi
call fcn.0043cad0
push esi
call fcn.005295dd
add esp, 4
mov dword [ebp - 0xd4], 0
jmp 0x43e5f1
push 0xf
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0xb8]
add eax, 2
push eax
call dword [sym.imp.FLTLIB.DLL_FilterGetDosName]
test eax, eax
jne 0x43e5f1
push 0x30
call fcn.00529b2d
mov esi, eax
add esp, 4
mov dword [ebp - 0xe0], esi
mov byte [ebp - 4], 8
test esi, esi
je 0x43e3a0
push ecx
lea eax, [ebp - 0x30]
mov dword [ebp - 0xbc], esp
mov ecx, esp
push eax
call fcn.004031c0
mov byte [ebp - 4], 9
mov byte [ebp - 4], 8
mov ecx, esi
call fcn.0043c730
mov edi, eax
mov dword [ebp - 0xbc], eax
jmp 0x43e3a8
xor edi, edi
mov dword [ebp - 0xbc], edi
mov byte [ebp - 4], 2
mov dword [ebp - 0xd8], edi
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xf4], 0
call fcn.00402b10
mov byte [ebp - 4], 0xb
mov edx, edi
push ecx
lea ecx, [ebp - 0xec]
call fcn.00441550
add esp, 4
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xc4]
mov esi, dword [eax]
push 0x104
push 0x104
call fcn.00402410
mov ecx, dword [ebp - 0xbc]
push eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ecx + 0x14]
push eax
lea eax, [ecx + 0x10]
push eax
push 0x104
push 0x104
lea ecx, [edi + 4]
call fcn.00402410
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
setne byte [ebp - 0xc5]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xec]
call fcn.00402750
push 0xffffffffffffffff
lea ecx, [edi + 4]
call fcn.004023c0
push 0xffffffffffffffff
lea ecx, [ebp - 0xc4]
call fcn.004023c0
cmp byte [ebp - 0xc5], 0
je 0x43e69a
mov eax, dword [ebp - 0xc4]
cmp dword [eax - 0xc], 0
jl 0x43e554
push str.FAT32
push eax
call fcn.0052cc91
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0xc4]
test ecx, ecx
je 0x43e4ac
sub ecx, eax
sar ecx, 1
cmp ecx, 0xffffffff
je 0x43e4ac
mov esi, dword [ebp - 0xbc]
mov dword [esi + 0xc], 2
jmp 0x43e55a
cmp dword [eax - 0xc], 0
jl 0x43e554
push 0x58ae48
push eax
call fcn.0052cc91
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0xc4]
test ecx, ecx
je 0x43e4e8
sub ecx, eax
sar ecx, 1
cmp ecx, 0xffffffff
je 0x43e4e8
mov esi, dword [ebp - 0xbc]
mov dword [esi + 0xc], 1
jmp 0x43e55a
cmp dword [eax - 0xc], 0
jl 0x43e554
push str.NTFS
push eax
call fcn.0052cc91
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0xc4]
test ecx, ecx
je 0x43e520
sub ecx, eax
sar ecx, 1
cmp ecx, 0xffffffff
je 0x43e520
mov esi, dword [ebp - 0xbc]
mov dword [esi + 0xc], 3
jmp 0x43e55a
cmp dword [eax - 0xc], 0
jl 0x43e554
push str.exFAT
push eax
call fcn.0052cc91
mov esi, dword [ebp - 0xbc]
add esp, 8
test eax, eax
je 0x43e55a
sub eax, dword [ebp - 0xc4]
sar eax, 1
cmp eax, 0xffffffff
je 0x43e55a
mov dword [esi + 0xc], 4
jmp 0x43e55a
mov esi, dword [ebp - 0xbc]
push dword [esi]
call fcn.0043e700
mov ecx, dword [ebp - 0xbc]
push 1
mov dword [ecx + 8], eax
lea edx, [ecx + 0x18]
mov ecx, dword [ecx]
call fcn.0043c470
mov ecx, dword [ebp - 0xbc]
add esp, 4
lea eax, [ecx + 0x28]
push eax
lea eax, [ecx + 0x24]
lea edx, [ecx + 0x20]
mov ecx, dword [ecx]
push eax
call fcn.0043be20
mov edx, dword [ebp - 0xbc]
lea ecx, [ebp - 0xf8]
push 0x58af04
call fcn.00415f60
add esp, 0xc
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xd8]
mov edi, dword [ebp - 0xdc]
push ecx
push dword [eax]
mov ecx, edi
call fcn.00442070
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xf8]
call fcn.00402750
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xc4]
call fcn.00402750
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd8]
call fcn.00441bc0
mov byte [ebp - 4], 1
or ecx, 0xffffffff
mov edx, dword [ebp - 0xc0]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43e615
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0xe8]
push eax
push 0x206
push dword [ebp - 0xb8]
push 0
push dword [ebp - 0xcc]
call dword [sym.imp.FLTLIB.DLL_FilterVolumeFindNext]
test eax, eax
je 0x43e150
mov eax, dword [ebp - 0xcc]
cmp eax, 0xffffffff
je 0x43e64f
push eax
call dword [sym.imp.FLTLIB.DLL_FilterVolumeFindClose]
push 0
push dword [ebp - 0xd0]
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xb4]
cmp dword [ebp - 0xb8], eax
je 0x43e67d
lea ecx, [ebp - 0xb8]
call fcn.0041b750
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005295e2
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push dword [ebp - 0xd0]
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xc4]
call fcn.00402750
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0xbc]
test esi, esi
je 0x43e6db
mov ecx, esi
call fcn.0043cad0
push esi
call fcn.005295dd
add esp, 4
mov dword [ebp - 0xd8], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc0]
call fcn.00402750
jmp 0x43e121